NAME
XAS::Lib::WS::Base - A class for the XAS environment
SYNOPSIS
use XAS::Lib::WS::Base;
my $wsman = XAS::Lib::WS::Base->new(
-username => 'username',
-password => 'password',
-url => 'http://windowserver5985/wsman',
-auth_method => 'any',
);
my ($protocol, $vendor, $version) = $wsman->identify();
printf("vendor: %s\n", $vendor);
printf("version: %s\n", $version);
printf("protocol: %s\n", $protocol);
DESCRIPTION
This package initilaizes and provides some basic methods for using WS-Manage functionality.
METHODS
new
This class inherits from XAS::Lib::Curl::HTTP and uses the same parameters.
identify
This method makes an identify call to the server and returns the following values.
$vendor - the vendor of the remote servers
$protocol - the protocol the remote server is using
$version - the version of that protocol
connected
This method returns TRUE or FALSE on wither it can connect to the remote server.
SEE ALSO
AUTHOR
Kevin L. Esteb, <kevin@kesteb.us>
COPYRIGHT AND LICENSE
Copyright (c) 2012-2016 Kevin L. Esteb
This is free software; you can redistribute it and/or modify it under the terms of the Artistic License 2.0. For details, see the full text of the license at http://www.perlfoundation.org/artistic_license_2_0.