NAME
Cisco::UCS::ServiceProfile - Class for operations with a Cisco UCS Service Profile.
SYNOPSIS
my $profile = $ucs->service_profile('profile-1');
print "Profile " . $profile->name . " is bound to physical DN " . $profile->pnDn . "\n";
print $ucs->service_profile('profile-2')->uuid;
DECRIPTION
Cisco::UCS::ServiceProfile is a class providing operations with a Cisco UCS Service Profile.
Note that you are not supposed to call the constructor yourself, rather a Cisco::UCS::ServiceProfile object is created automatically by method calls via methods in Cisco::UCS.
METHODS
agent_policy_name
Returns the agent policy name.
assign_state
Returns the assignment state of the service profile.
assoc_state
Returns the association state of the service profile.
bios_profile_name
Returns the BIOS profile name of the service profile.
boot_policy_name
Returns the boot policy name of the service profile.
config_state
Returns the configuration state of the service profile.
desc
Returns the user-specified description of the service profile.
dn
Returns the distinguished name of the service profile in the UCS management information heirarchy.
dynamic_conn_policy_name
Returns the dynamic connection policy name of the service profile.
ext_ip_state
Returns the external IP state of the service profile.
fsm_timestamp
Returns the timestamp of the most recent FSM transition.
fsm_desc
Returns a description of the FSM current state.
fsm_flags
Returns the FSM flags.
fsm_previous_state
Returns the previous state of the FSM prior to the last transition.
fsm_progress
Returns the current progress (given as a percentage) of the current progress of the FSM through the current state.
fsm_remote_inv_err_code
Returns the FSM (finite state machine) remote invocation error code.
fsm_remote_inv_err_desc
Returns a description of the FSM remote invocation error state.
fsm_stage_desc
Returns a description of the current FSM stage.
fsm_status
Returns the current FSM status.
fsm_try
Returns the number of attempts for the current FSM stage transition.
host_fw_policy_name
Returns the host firmware policy name for the service profile.
ident_pool_name
Returns the pool name from which the UUID for the service profile is derived.
local_disk_policy_name
Returns the local disk policy name for the service profile.
maint_policy_name
Returns the maintenance policy name for the service profile.
mgmt_access_policy_name
Returns the management access policy name for the service profile.
mgmt_firmware_policy_name
Returns the management firmware policy name for the service profile.
name
Returns the user defined name of the service profile.
oper_bios_profile_name
Returns the operational BIOS profile name for the service profile.
oper_boot_policy_name
Returns the operational boot policy name for the service profile.
oper_dynamic_conn_policy_name
Returns the operational dynamic connection policy name for the service profile.
oper_host_fw_policy_name
Returns the operational firmware policy name for the service profile.
oper_ident_pool_name
Returns the operational identifier pool name for the service profile.
oper_local_disk_policy_name
Returns the operational local disk policy name for the service profile.
oper_maint_policy_name
Returns the operational maintenance policy name for the service profile.
oper_mgmt_access_policy_name
Returns the operational management access policy name for the service profile.
oper_mgmt_fw_policy_name
Returns the operational management firmware policy name for the service profile.
oper_power_policy_name
Returns the operational power policy name for the service profile.
oper_scrub_policy_name
Returns the operational scrub policy name for the service profile.
oper_sol_policy_name
Returns the operational SOL policy name for the service profile.
oper_src_template_name
Returns the operational source template name for the service profile.
oper_state
Returns the operational state of the service profile.
oper_stats_policy_name
Returns the operational statictics policy name for the service profile.
oper_vcon_profile_name
Returns the operational virtual connection profile name for the service profile.
owner
Returns the user-defined owner of the service profile.
pnDn
Returns the peer DN (distinguished name) of the blade to which this service profile is associated.
power_policy_name
returns the operational power policy name for the service profile.
scrub_policy_name
Returns the scrub policy name for the service profile.
sol_policy_name
Returns the SOL policy name for the service profile.
source_template_name
Returns the source service profile template name for the service profile.
stats_policy_name
Returns the statistics policy name for the service profile.
type
Returns the type of the service profile - for service profiles this will return the string of 'instance', for service profile templates this will return the string 'template'.
user_label
Returns the user defined label for the service profile.
uuid
Returns the UUID (Universally Unique Identifier) of the service profile.
uuid_suffix
Returns the UUID suffix for the service profile.
vcon_profile_name
Returns the virtual connection policy name for the service profile.
AUTHOR
Luke Poskitt, <ltp at cpan.org>
BUGS
Please report any bugs or feature requests to bug-cisco-ucs-serviceprofile at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Cisco-UCS-ServiceProfile. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
TO DO
This module barely scratches the surface in terms of available service profile information. Future versions will provide access to virtual interface configuration and statistics and environmental statictics.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc Cisco::UCS::ServiceProfile
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Cisco-UCS-ServiceProfile
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
Search CPAN
ACKNOWLEDGEMENTS
LICENSE AND COPYRIGHT
Copyright 2012 Luke Poskitt.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.