Quantcast

wsmancli CIM_ALL_AVAILABLE_CLASSES

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

wsmancli CIM_ALL_AVAILABLE_CLASSES

Ales Ledvinka
Hello,

Is the schema part in the the wildcard match of CIM_ALL_AVAILABLE_CLASSES intentional?

Should not the wsmancli main()
  strcmp(resource_uri_with_selectors,CIM_ALL_AVAILABLE_CLASSES)
match any schema with wildcard?
Since the code does not seem to use schema. All it does
is grab the selectors from query.

------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Openwsman-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/openwsman-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: wsmancli CIM_ALL_AVAILABLE_CLASSES

Klaus Kaempf
* Ales Ledvinka <[hidden email]> [May 15. 2013 17:07]:
> Hello,
>
> Is the schema part in the the wildcard match of CIM_ALL_AVAILABLE_CLASSES intentional?
>
> Should not the wsmancli main()
>   strcmp(resource_uri_with_selectors,CIM_ALL_AVAILABLE_CLASSES)
> match any schema with wildcard?
> Since the code does not seem to use schema. All it does
> is grab the selectors from query.

Uhm, good question. Did you find this during a code review or do you
have a concrete (failing) use case ?

You do need the CIM_ALL_AVAILABLE_CLASSES resource uri for
enumerations using a filter, where the filter usually specifies the
class name (i.e. 'select <properties> from <classname>').

Hth,

Klaus
--
SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg)
Maxfeldstraße 5, 90409 Nürnberg, Germany

------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Openwsman-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/openwsman-devel
Loading...