Infoblox::Grid::Admin::TACACSPlusAuthServer - TACACS+ Authentication Server object
Represents a TACACS+ server that is used to authenticate administrators.
my $tacacs_auth_server = Infoblox::Grid::Admin::TACACSPlusAuthServer->new( fqdn_or_ip => $fqdn | $ipv4addr #Required shared_secret => $string, #Required acct_enabled => "true" | "false" #Optional / Default is false auth_type => "PAP" | "CHAP" | "ASCII", #Optional / Default is "CHAP" comment => $string, #Optional / Default is empty disabled => "true" | "false" #Optional / Default is false use_mgmt_port => "true" | "false" #Optional / Default is false port => $num, #Optional / Default is 49 );
This section describes all the methods in an Infoblox::Session module that you can apply to an object.
tacacsplus_servers()
Use this method to add a list of TACACS+ Server objects to the TACACS+ Service object on an Infoblox appliance. See Infoblox::Grid::Admin::TACACSPlusAuthService for parameters and return values.
# Construct an object my $tacacs_auth_server1 = Infoblox::Grid::Admin::TACACSPlusAuthServer->new( fqdn_or_ip => '10.0.1.1', shared_secret => 'secret', );
# Construct another object my $tacacs_auth_server2 = Infoblox::Grid::Admin::TACACSPlusAuthServer->new( fqdn_or_ip => '10.0.2.1', shared_secret => 'secret', );
# Configure TACACSPlusAuthServer my $response = $tacacs_auth_service->tacacs_servers([$tacacs_auth_server1, $tacacs_auth_server2]);
Use the following methods to access the attributes of an Infoblox::Grid::Admin::TACACSPlusAuthServer object. Specify a parameter to set the attribute's value, or omit the parameter to get the attribute's value.
Use this method to set or retrieve the flag that indicates if the TACACS+ server is enabled for accounting packets.
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. The default value is "false".
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 acct_enabled my $acct_enabled = $tacacs_server->acct_enabled(); #Modify acct_enabled $tacacs_server->acct_enabled("true");
Use this method to set or retrieve the authentication type used by the TACACS+ client and server.
Include the specified parameter to set the attribute value. Omit the parameter to retrieve the attribute value.
The valid value is either "PAP", "ASCII" or "CHAP". The default is "CHAP".
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 auth_type my $auth_type = $tacacs_server->auth_type( ); #Modifying auth_type $tacacs_server->auth_type("PAP");
Use this method to set or retrieve a descriptive comment about the TACACS+ server.
Include the specified parameter to set the attribute value. Omit the parameter to retrieve the attribute value.
The comment in string format, with a maximum of 256 characters.
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 comment my $comment = $tacacs_server->comment(); #Modify comment $tacacs_server->comment("NAC Authentication TACACS+ server");
Use this method to set or retrieve the disable flag of the TACACS+ server.
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. The default value is "false".
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 disabled my $disable = $tacacs_server->disabled(); #Modify disabled $tacacs_server->disabled("true");
Use this method to set or retrieve the FQDN or IP address of the TACACS+ server.
Include the specified parameter to set the attribute value. Omit the parameter to retrieve the attribute value.
A string in FQDN (Fully Qualified Domain Name) format, or an IP address.
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 fqdn_or_ip my $fqdn_or_ip = $tacacs_server->fqdn_or_ip(); #Modify fqdn_or_ip $tacacs_server->fqdn_or_ip("10.0.0.1");
Use this method to set or retrieve the destination port number on the TACACS+ server.
Include the specified parameter to set the attribute value. Omit the parameter to retrieve the attribute value.
An unsigned integer between 1 and 65535, inclusive.
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 port my $port = $tacacs_server->port( ); #Modifying port $tacacs_server->port("49");
Use this method to set the shared secret that the NIOS appliance and the TACACS+ server use to encrypt and decrypt their messages. This is a write-only attribute.
Include the specified parameter to set the attribute value.
The shared secret in string format, with a maximum of 64 characters.
If you specified a parameter, the method returns true when the modification succeeds, and returns false when the operation fails.
#Modify shared_secret $tacacs_server->shared_secret("secret");
Use this method to set or retrieve the flag that indicates if the appliance connects to the TACACS+ server through the MGMT network interface.
Include the specified parameter to set the attribute value. Omit the parameter to retrieve the attribute value.
Specify "true" to set the flag or "false" to deactivate/unset it. The default value is "false".
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 use_mgmt_port my $use_mgmt_port = $tacacs_server_server->use_mgmt_port(); #Modify use_mgmt_port $tacacs_server->use_mgmt_port("true");
Infoblox Inc. http://www.infoblox.com
Infoblox::Grid::Admin::TACACSPlusAuthService, Infoblox::Session, Infoblox::Session->add(), Infoblox::Session->get(), Infoblox::Session->modify(), Infoblox::Session->remove()
Copyright (c) 2017 Infoblox Inc.