Class: IControl::Management::TACACSConfiguration
- Inherits:
-
Base
- Object
- Base
- IControl::Management::TACACSConfiguration
- Defined in:
- lib/icontrol/management/tacacs_configuration.rb,
lib/icontrol/management.rb
Overview
The TACACSConfiguration interface enables you to manage TACACS PAM configuration.
Instance Method Summary (collapse)
-
- (EnabledState) accounting_to_all_state
Gets the states such that if enabled and if multiple servers are defined, send accounting start/stop packets to all servers (if session accounting has been enabled in the PAM service configuration).
-
- (Object) add_server(opts)
Adds/associates servers to this TACACS configurations.
-
- (Object) create(opts)
Creates this TACACS configurations.
-
- (EnabledState) debug_state
Gets the states indicating whether syslog debugging is enabled/disabled.
-
- (Object) delete_all_configurations
Deletes all TACACS configurations.
-
- (Object) delete_configuration
Deletes this TACACS configurations.
-
- (EnabledState) encryption_state
Gets the states indicating whether encryption on TACACS+ packets is enabled/disabled.
-
- (EnabledState) first_hit_state
Gets the states such that if enabled and if multiple servers are defined, try to authenticate the user on all servers until the first authentication succeeds, or until all servers have been queried.
-
- (String) list
Gets a list of all TACACS configurations.
-
- (String) protocol_name
Gets the names of the TACACS+ servers' listening protocols used by the configurations.
-
- (Object) remove_server(opts)
Removes servers from this TACACS configurations.
-
- (String) secret
Gets the secret keys used to encrypt/decrypt packets sent/received from the server.
-
- (String[]) server
Gets the lists of servers this TACACS configurations are associated with.
-
- (String) service_name
Gets the names of the TACACS+ servers' listening services used by the configurations.
-
- (Object) set_accounting_to_all_state(opts)
Sets the states such that if enabled and if multiple servers are defined, send accounting start/stop packets to all servers (if session accounting has been enabled in the PAM service configuration).
-
- (Object) set_debug_state(opts)
Sets the states indicating whether syslog debugging is enabled/disabled.
-
- (Object) set_encryption_state(opts)
Sets the states indicating whether encryption on TACACS+ packets is enabled/disabled.
-
- (Object) set_first_hit_state(opts)
Sets the states such that if enabled and if multiple servers are defined, try to authenticate the user on all servers until the first authentication succeeds, or until all servers have been queried.
-
- (Object) set_protocol_name(opts)
Sets the names of the TACACS+ servers' listening protocols used by the configurations.
-
- (Object) set_secret(opts)
Sets the secret keys used to encrypt/decrypt packets sent/received from the server.
-
- (Object) set_service_name(opts)
Sets the names of the TACACS+ servers' listening services used by the configurations.
-
- (String) version
Gets the version information for this interface.
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class IControl::Base
Instance Method Details
- (EnabledState) accounting_to_all_state
Gets the states such that if enabled and if multiple servers are defined, send accounting start/stop packets to all servers (if session accounting has been enabled in the PAM service configuration).
66 67 68 |
# File 'lib/icontrol/management/tacacs_configuration.rb', line 66 def accounting_to_all_state super end |
- (Object) add_server(opts)
Adds/associates servers to this TACACS configurations.
16 17 18 19 |
# File 'lib/icontrol/management/tacacs_configuration.rb', line 16 def add_server(opts) check_params(opts,[:servers]) super end |
- (Object) create(opts)
Creates this TACACS configurations.
32 33 34 35 |
# File 'lib/icontrol/management/tacacs_configuration.rb', line 32 def create(opts) check_params(opts,[:secrets,:service_names,:protocol_names,:servers]) super end |
- (EnabledState) debug_state
Gets the states indicating whether syslog debugging is enabled/disabled.
77 78 79 |
# File 'lib/icontrol/management/tacacs_configuration.rb', line 77 def debug_state super end |
- (Object) delete_all_configurations
Deletes all TACACS configurations.
43 44 45 |
# File 'lib/icontrol/management/tacacs_configuration.rb', line 43 def delete_all_configurations super end |
- (Object) delete_configuration
Deletes this TACACS configurations.
53 54 55 |
# File 'lib/icontrol/management/tacacs_configuration.rb', line 53 def delete_configuration super end |
- (EnabledState) encryption_state
Gets the states indicating whether encryption on TACACS+ packets is enabled/disabled.
88 89 90 |
# File 'lib/icontrol/management/tacacs_configuration.rb', line 88 def encryption_state super end |
- (EnabledState) first_hit_state
Gets the states such that if enabled and if multiple servers are defined, try to authenticate the user on all servers until the first authentication succeeds, or until all servers have been queried. The first success response results in the auth succeeding.
102 103 104 |
# File 'lib/icontrol/management/tacacs_configuration.rb', line 102 def first_hit_state super end |
- (String) list
Gets a list of all TACACS configurations.
113 114 115 |
# File 'lib/icontrol/management/tacacs_configuration.rb', line 113 def list super end |
- (String) protocol_name
Gets the names of the TACACS+ servers' listening protocols used by the configurations.
124 125 126 |
# File 'lib/icontrol/management/tacacs_configuration.rb', line 124 def protocol_name super end |
- (Object) remove_server(opts)
Removes servers from this TACACS configurations.
177 178 179 180 |
# File 'lib/icontrol/management/tacacs_configuration.rb', line 177 def remove_server(opts) check_params(opts,[:servers]) super end |
- (String) secret
Gets the secret keys used to encrypt/decrypt packets sent/received from the server.
135 136 137 |
# File 'lib/icontrol/management/tacacs_configuration.rb', line 135 def secret super end |
- (String[]) server
Gets the lists of servers this TACACS configurations are associated with.
146 147 148 |
# File 'lib/icontrol/management/tacacs_configuration.rb', line 146 def server super end |
- (String) service_name
Gets the names of the TACACS+ servers' listening services used by the configurations.
157 158 159 |
# File 'lib/icontrol/management/tacacs_configuration.rb', line 157 def service_name super end |
- (Object) set_accounting_to_all_state(opts)
Sets the states such that if enabled and if multiple servers are defined, send accounting start/stop packets to all servers (if session accounting has been enabled in the PAM service configuration).
192 193 194 195 |
# File 'lib/icontrol/management/tacacs_configuration.rb', line 192 def set_accounting_to_all_state(opts) check_params(opts,[:states]) super end |
- (Object) set_debug_state(opts)
Sets the states indicating whether syslog debugging is enabled/disabled.
205 206 207 208 |
# File 'lib/icontrol/management/tacacs_configuration.rb', line 205 def set_debug_state(opts) check_params(opts,[:states]) super end |
- (Object) set_encryption_state(opts)
Sets the states indicating whether encryption on TACACS+ packets is enabled/disabled.
218 219 220 221 |
# File 'lib/icontrol/management/tacacs_configuration.rb', line 218 def set_encryption_state(opts) check_params(opts,[:states]) super end |
- (Object) set_first_hit_state(opts)
Sets the states such that if enabled and if multiple servers are defined, try to authenticate the user on all servers until the first authentication succeeds, or until all servers have been queried. The first success response results in the auth succeeding.
234 235 236 237 |
# File 'lib/icontrol/management/tacacs_configuration.rb', line 234 def set_first_hit_state(opts) check_params(opts,[:states]) super end |
- (Object) set_protocol_name(opts)
Sets the names of the TACACS+ servers' listening protocols used by the configurations.
247 248 249 250 |
# File 'lib/icontrol/management/tacacs_configuration.rb', line 247 def set_protocol_name(opts) check_params(opts,[:protocol_names]) super end |
- (Object) set_secret(opts)
Sets the secret keys used to encrypt/decrypt packets sent/received from the server.
260 261 262 263 |
# File 'lib/icontrol/management/tacacs_configuration.rb', line 260 def set_secret(opts) check_params(opts,[:secrets]) super end |
- (Object) set_service_name(opts)
Sets the names of the TACACS+ servers' listening services used by the configurations.
273 274 275 276 |
# File 'lib/icontrol/management/tacacs_configuration.rb', line 273 def set_service_name(opts) check_params(opts,[:service_names]) super end |
- (String) version
Gets the version information for this interface.
165 166 167 |
# File 'lib/icontrol/management/tacacs_configuration.rb', line 165 def version super end |