| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
# HG changeset patch
# User Dan Villiom Podlaski Christiansen <danchr@gmail.com>
# Date 1351006286 -7200
# Node ID e33d3d5ce8661705809080559fcae1632955abf2
# Parent 9530ad68d54dd519b0acd1a1516e9259e59277e1
enable libtool
This allows installing wsman to a non-standard location on Linux, and
running it from there without setting LD_LIBRARY_PATH.
Signed-off-by: Klaus Kämpf <kkaempf@suse.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
# HG changeset patch
# User Dan Villiom Podlaski Christiansen <dan@cabo.dk>
# Date 1351006208 -7200
# Node ID 9530ad68d54dd519b0acd1a1516e9259e59277e1
# Parent a50eb30597f3a077189a3019ac4fe11e12250bb6
fix Darwin support
Apple used to provide a tool called 'libtoolize' in the OS X developer
tools, so the Libtool project wisely named their tool 'glibtoolize' on
darwin. Other than that, hardcoding specific versions of autotools is
fairly annoying.
Signed-off-by: Klaus Kämpf <kkaempf@suse.de>
|
|
|
|
|
|
|
|
|
|
|
| |
# HG changeset patch
# User Dan Villiom Podlaski Christiansen <dan@cabo.dk>
# Date 1351006019 -7200
# Node ID a50eb30597f3a077189a3019ac4fe11e12250bb6
# Parent 09c82f0e4a0aed0862fb53714b6d50a14d55d44d
allow building examples if openwsman is installed in a non-default location
Signed-off-by: Klaus Kämpf <kkaempf@suse.de>
|
|
|
|
|
|
|
|
|
|
|
| |
# HG changeset patch
# User Dan Villiom Podlaski Christiansen <dan@cabo.dk>
# Date 1351005993 -7200
# Node ID 09c82f0e4a0aed0862fb53714b6d50a14d55d44d
# Parent 51a19440f633d0f24c24355f4e1f0e88b4640ad2
don't build examples and tests by default
Signed-off-by: Klaus Kämpf <kkaempf@suse.de>
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
u_parse_query starts with strtok_r(src, "&,", &pp) thus these filters
will be two tokens. As the second one does not contain an equal sign,
u_parse_query returns NULL, and hash_scan_begin tries to use it
without any checks.
The problem is with the comma in the filter, and I could not find a
way to circumvent it. As these minimal examples demonstrates:
wsman enumerate 'foo' --dialect "http://schemas.dmtf.org/wbem/wsman/1/wsman/SelectorFilter" --filter 'foo="bar,foo"'
wsman enumerate 'foo' --dialect "http://schemas.dmtf.org/wbem/wsman/1/wsman/SelectorFilter" --filter "foo='bar,foo'"
Reported by Zoltan Micskei <zoltan.micskei@mit.bme.hu>
|
|
|
|
|
| |
This option should "Only output request. Not send it." which is hard
to implement in wsman-client (wsmc_action_*()) and of little value.
|
| |
|
|
|
|
|
| |
Add a couple of #include "u/libu.h"
See commit 7d91f671 of openwsman
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
sing wsmancli, when the response XML is invalid (such as due to
invalid characters) an error is displayed with only a partial view of
the XML and no other information that could tell us where exactly the
problem is.
In debug mode (using -d option), it would be useful if the tool could
dump the raw XML for further analysis before it could be interpreted
by libxml functions.
Patch by Chris Poblete
|
|
|
|
|
|
| |
This fixes the default port setting to match wsmc_create() call.
(upstream issue 3257661, Zoltan Micskei)
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Using wsmancli 2.2.5, we also got a segmentation fault.
Analysis of the code found that output_file is NULL and is being used.
This is occurring when there are multiple instances returned and pull
operation is done and output file is not defined.
Patch by Chris Poblete
|
| |
|
|
|
|
|
|
|
|
|
|
| |
From: Kamil Dudka <kdudka@redhat.com>
wsman client doesn't work correctly on some architectures (ppc, s390x).
It ignores the given port number as well as all integral parameters.
The integer parsing function does not return the value but passes it
by writing through a pointer, assuming long int target.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In an enumerate operation where output to file is requested and the
response require more than one pull, only the last pull is saved to
file. The rest of the response is overwritten.
Our proposal solution is for each pull response, it is saved to a file
with numbered suffix. This is only applicable to an enumerate
operation and an enumeration context is returned.
Also included is a minor fix to file open from read/write to write
mode. I find no reason for the operation to read the output file.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In wsmancli-2.2.3, we notice that the references and associators
enumeration commands cause an inverse request. That is, a
"references" action command adds a "wsmb:AssociatedInstances" in the
enumeration filter. And an "associators" action command adds a
"wsmb:AssociationInstances" in the enumeration filter.
An "associators" command DSP0200 section 5.3.2.14 enumerates
"associated" classes. This statement is also defined by DSP0227
section 17.1 where it specifies in section 17.1.7 the use of
"wsmb:AssociatedInstances" element in the filter.
A "references" command DSP0200 section 5.3.2.16 enumerates
"association" classes. This statement is also defined by DSP0227
section 17.1 where it specifies in section 17.1.9 the use of
"wsmb:AssociationInstances" element in the filter.
|
|
|
|
|
|
|
|
|
|
|
| |
- Enhance enumerate with association filter to have the ability to
specify the optional elements namely: AssociationClassName, Role,
ResultClassName, ResultRole and IncludeResultProperty.
(IncludeResultProperty is a list, specify it as a comma separated
list in the “U” option.
(Chris Poblete)
(This patch was in svn but missing from git :-/)
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Attempting to set a property value to an empty string causes invalid XML
characters to be written into the Put request which is then rejected by
the server with a WsMan Fault response.
e.g. wsman put url -k propertyname=""
(Found and fixed by Trevor Witten)
|
| |
|
|
|
|
|
| |
add --version to wsman to print version and build timestamp
|
| |
|
| |
|
|
|
|
|
|
| |
Contributed by Chris_Poblete@Dell.com
|