summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused code that is duplicated all over the placeSam Kottler2013-06-301-3/+3
|
* remove unused variables from wseventmgrKlaus Kämpf2012-11-081-8/+7
|
* Drop unused variable assignmentsKlaus Kämpf2012-11-081-3/+0
|
* Evaluate return value from u_option_context_parse()Klaus Kämpf2012-11-081-3/+8
|
* operation timeout value is in millisecondsKlaus Kämpf2012-11-081-1/+1
|
* Check result of u_parse_queryKlaus Kämpf2012-03-301-0/+4
| | | | | | | | | | | | | | 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>
* Remove option '-Q, --request'Klaus Kämpf2012-03-281-3/+0
| | | | | This option should "Only output request. Not send it." which is hard to implement in wsman-client (wsmc_action_*()) and of little value.
* Adapt to reduced libu exposure in openwsman public apiKlaus Kämpf2011-09-142-2/+2
| | | | | Add a couple of #include "u/libu.h" See commit 7d91f671 of openwsman
* wsmancli allow debugging of invalid response XMLKlaus Kämpf2011-09-081-6/+14
| | | | | | | | | | | | | 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
* Use https (port 5986) when cainfo is set.Klaus Kämpf2011-06-101-1/+1
| | | | | | This fixes the default port setting to match wsmc_create() call. (upstream issue 3257661, Zoltan Micskei)
* Fix segfault in wsmancliKlaus Kämpf2011-04-201-9/+14
| | | | | | | | | | 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
* Fix integral parameter handling on ppc and s390xKlaus Kämpf2011-03-161-6/+6
| | | | | | | | | | 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.
* Output enumeration results to separate output filesKlaus Kämpf2010-11-051-2/+20
| | | | | | | | | | | | | 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.
* Fix --sslkey to set the transport key, warn about missing --cacertKlaus Kämpf2010-09-141-1/+5
|
* references and associators enumeration commands cause an inverse requestKlaus Kämpf2010-09-131-1/+1
| | | | | | | | | | | | | | | | | | 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 filterKlaus Kämpf2010-09-131-1/+57
| | | | | | | | | | | - 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 :-/)
* Fix --sslkey, add warning about --cacertKlaus Kämpf2010-09-131-3/+7
|
* Adapt to IANA ports of 5985 (http) and 5986 (https)Klaus Kämpf2010-09-102-2/+2
|
* Fix handling empty properties on command lineKlaus Kämpf2010-03-291-1/+1
| | | | | | | | | | 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 ChangeLogKlaus Kaempf2010-02-202-3/+10
| | | | | add --version to wsman to print version and build timestamp
* up versionAnas Nashif2008-09-151-1/+1
|
* add selector filter supportAnas Nashif2008-05-091-153/+173
| | | | | style
* fixed segfault with duplicate propertiesAnas Nashif2008-04-171-3/+8
|
* simple filter case missingLiang Hou2008-03-041-1/+2
|
* filter for subscriptionAnas Nashif2008-03-031-5/+3
|
* update with new API support complex filtersAnas Nashif2008-03-032-11/+15
|
* - new filter API added and usedAnas Nashif2008-03-032-27/+24
| | | | | - Added assoicatiors and references actions instead of having them as options
* set dialect correctlyAnas Nashif2008-02-051-2/+2
|
* add initial wseventmgr.cLiang Hou2008-01-282-4/+592
|
* add eventing secure deliery related optionsLiang Hou2008-01-281-3/+53
|
* usage Anas Nashif2008-01-171-2/+2
|
* add anon. identify supportAnas Nashif2007-12-191-15/+22
|
* fix an error in renewLiang Hou2007-12-131-2/+2
|
* update for internal implementation change of ↵Liang Hou2007-12-121-2/+8
| | | | wsmc_action_unsubscribe/wsmc_action_renew
* update for unsubscribe/renew interface changeLiang Hou2007-11-261-2/+2
|
* set var as nullAnas Nashif2007-10-251-1/+2
|
* invoke custom action from a file (Chris Poblete)Anas Nashif2007-10-251-6/+7
|
* add encoding optionLiang Hou2007-10-121-3/+8
|
* update for unsubscribe/renew client interface changeLiang Hou2007-09-291-10/+2
|
* update for wsmc_read_file interface changeLiang Hou2007-09-231-3/+3
|
* add notify-reference-properties option for specify ReferenceProperties for ↵Liang Hou2007-09-031-1/+6
| | | | notification
* adapt to new iniparser interfaceAnas Nashif2007-08-211-2/+4
|
* update renew command supportLiang Hou2007-08-061-2/+5
|
* treat warnings as errors and fixed themAnas Nashif2007-08-031-2/+1
|
* - gcc warned: wsman.c:699: warning: 'enumContext' is used uninitialized in ↵Klaus Kaempf2007-08-031-1/+1
| | | | this function
* - include wsman-client-transport.h to get prototypesKlaus Kaempf2007-08-031-5/+5
| | | | | | | | - declare getpass() explicitly in Linux, since getpass(3) says "This function is obsolete. Do not use it." and thus unistd.h doesn't declare it by default. - pass client pointer to wsmc_transport_fini()
* fixed client options for eventingAnas Nashif2007-08-031-7/+7
|
* initial eventing supportAnas Nashif2007-08-031-1/+100
|
* fixed cpp clientAnas Nashif2007-08-021-6/+7
| | | | | removed obsolete client
* add WsManClient* parameter to request_usr_pwdKlaus Kaempf2007-08-021-1/+1
|