Cisco-UCS

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN

       will default to 'https' if not provided.

   login ()
            $ucs->login;
            print "Authentication token is $ucs->cookie\n";

    Creates a connection to the XML API interface of a USCM management
    instance. If sucessful, the attributes of the UCSM management instance
    are inherited by the object. Most important of these parameters is
    'cookie' representing the authetication token that uniquely identifies
    the connection and which is subsequently passed transparently on all
    further communications.

    The default time-out value for a token is 10 minutes, therefore if you
    intend to create a long-running session you should periodically call
    refresh.

   refresh ()
            $ucs->refresh;

    Resets the expiry time limit of the existing authentication token to the

README.md  view on Meta::CPAN


### login ()

	$ucs->login;
	print "Authentication token is $ucs->cookie\n";

Creates a connection to the XML API interface of a USCM management instance.  
If sucessful, the attributes of the UCSM management instance are inherited by 
the object.  Most important of these parameters is 'cookie' representing the 
authetication token that uniquely identifies the connection and which is 
subsequently passed transparently on all further communications.

The default time-out value for a token is 10 minutes, therefore if you intend 
to create a long-running session you should periodically call refresh.

### refresh ()

	$ucs->refresh;

Resets the expiry time limit of the existing authentication token to the 
default timeout period of 10m.  Usually not necessary for short-lived 

lib/Cisco/UCS.pm  view on Meta::CPAN


=head3 login ()

	$ucs->login;
	print "Authentication token is $ucs->cookie\n";

Creates a connection to the XML API interface of a USCM management instance.  
If sucessful, the attributes of the UCSM management instance are inherited by 
the object.  Most important of these parameters is 'cookie' representing the 
authetication token that uniquely identifies the connection and which is 
subsequently passed transparently on all further communications.

The default time-out value for a token is 10 minutes, therefore if you intend 
to create a long-running session you should periodically call refresh.

=head3 refresh ()

	$ucs->refresh;

Resets the expiry time limit of the existing authentication token to the 
default timeout period of 10m.  Usually not necessary for short-lived 



( run in 1.308 second using v1.01-cache-2.11-cpan-0a6323c29d9 )