NAME
DMTF::CIM::WSMan - Provides WSMan CIM binding
VERSION
This document describes DMTF::CIM::WSMan version 0.09
SYNOPSIS
use DMTF::CIM::WSMan;
my $wsman=DMTF::CIM::WSMan->new();
$wsman->current_uri( 'wsman.wbem://admin:secret@example.com/interop' );
my @rps=$wsman->class_uris( '/interop:CIM_RegisteredProfile' );
DESCRIPTION
This module extends the DMTF::CIM class with DMTF::WSMan mapping and binding. This implements the generic operations documented for DMTF::CIM.
INTERFACE
Refer to DMTF::CIM for the generic operation documentation.
ADDITIONAL METHODS
current_uri( [new_uri] )
-
Gets or sets the current untyped WBEM URI for resource access. Supported schemes are 'wsman.wbem', 'wsman.wbems', 'http', and 'https'. This is the preferred way to establish a connection with a specific host using specific credentials (ie:
$wsm->current_uri( 'wsman.wbem://user:pass@example.com:623/'
) current_wsman
-
Returns the DMTF::WSMan object associated with the current URI
current_epr
-
Returns the current EPR object derived from the current URI.
URItoEPR( uri )
-
Converts the URI object into an EPR object for DMTF::WSMan.
quirks( [name [,value] )
-
Lists, reads, or sets quirks. If neither name or value are specified, returns a list of all known quirks. If only name is passed, returns the value of the named quirk. If both name and value are passed, sets the named quirk to value. Refer to INCOMPATIBILITIES for a list of quirks.
DIAGNOSTICS
This class carp()s and returns undef (or empty list) on all errors.
CONFIGURATION AND ENVIRONMENT
DMTF::CIM::WSMan requires no configuration files or environment variables.
DEPENDENCIES
- DMTF::WSMan (available from the same location as this module)
- DMTF::CIM (available from the same location as this module)
- URI (available from CPAN)
- URI::Escape (available from CPAN)
- XML::Twig (available from CPAN)
- DateTime (available from CPAN)
INCOMPATIBILITIES
The Broadcom TruManage implementations 1.52.0.4 and older do not support the corrected String[] octet string representation and require the incorrect_string_octetstring quirk to be set to true using $ws->quirk('incorrect_string_octetstring', 1);
The Microsoft winrm servers up to at least the 3.0 Beta do not support an EndpointReference in the Object tag of an association querey and require the association_object_wrong quirk to be set true using $ws->quirk('association_object_wrong', 1);
BUGS AND LIMITATIONS
No bugs have been reported.
Please report any bugs or feature requests to bug-dmtf-cim-wsman@rt.cpan.org
, or through the web interface at http://rt.cpan.org.
AUTHOR
Stephen James Hurd <shurd@broadcom.com>
LICENCE AND COPYRIGHT
Copyright (c) 2012, Broadcom Corporation <shurd@broadcom.com>
. All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.
DISCLAIMER OF WARRANTY
BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR, OR CORRECTION.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENCE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.