Infoblox::Grid::LOM::User - User information for the Lights Out Management functionality.
An Infoblox::Grid::LOM::User object represents a user for the LOM functionality.
my $user = Infoblox::Grid::LOM::User->new( name => $string, # Required password => $string, # Required role => "OPERATOR" | "USER", # Required disable => "true" | "false", # Required );
The following functions can be applied to a LOM User object.
Use this function to specify BGP Autonomous Systems for the grid member. See Infoblox::Grid::Member->bgp_as() for parameters and return values.
#Construct a LOM User my $lomuser = Infoblox::Grid::LOM::User->new( name => 'username', password => 'password', role => 'OPERATOR', disable => 'false, );
# Configure the LOM user on the grid object $grid->lom_users([$lomuser]);
This section describes all the methods that can be used to configure and retrieve the attribute values of an Infoblox::Grid::LOM::User object.
Use this method to set or retrieve the disable flag for the user.
Include the specified parameter to set the attribute value. Omit the parameter to retrieve the attribute value.
Specify "true" to set the disable flag or "false" to deactivate/unset it.
If you specified a parameter, the method returns true when the modification succeeds, and returns false when the operation fails.
If you did not specify a parameter, the method returns the attribute value.
#Get the disable my $disable = $lom_user->disable(); #Modify the disable $lom_user->disable('false');
Use this method to set or retrieve the name of the user.
Include the specified parameter to set the attribute value. Omit the parameter to retrieve the attribute value.
The name of the user in string format.
If you specified a parameter, the method returns true when the modification succeeds, and returns false when the operation fails.
If you did not specify a parameter, the method returns the attribute value.
#Get the name my $name = $lom_user->name(); #Modify the name $lom_user->name('username');
Use this method to set the password the user will use to authenticate. This is a write-only attribute.
Include the specified parameter to set the attribute value.
The password for the user in string format.
If you specified a parameter, the method returns true when the modification succeeds, and returns false when the operation fails.
#Modify the password $lom_user->password('password');
Use this method to set or retrieve the role of the user.
Include the specified parameter to set the attribute value. Omit the parameter to retrieve the attribute value.
Valid values are "OPERATOR" and "USER".
If you specified a parameter, the method returns true when the modification succeeds, and returns false when the operation fails.
If you did not specify a parameter, the method returns the attribute value.
#Get the role my $role = $lom_user->role(); #Modify the role $lom_user->role('OPERATOR');
Infoblox Inc. http://www.infoblox.com/
Infoblox::Grid::Member, Infoblox::Grid::Member::BGP::Neighbor
Copyright (c) 2017 Infoblox Inc.