Class: IControl::Management::RADIUSConfiguration
- Inherits:
-
Base
- Object
- Base
- IControl::Management::RADIUSConfiguration
- Defined in:
- lib/icontrol/management/radius_configuration.rb,
lib/icontrol/management.rb
Overview
The RADIUSConfiguration interface enables you to manage RADIUS PAM configuration.
Instance Method Summary collapse
-
#accounting_validation_state ⇒ EnabledState
Gets the states indicating whether to enable/disable validation of the accounting response vector.
-
#add_server(opts) ⇒ Object
Adds/associates servers to this RADIUS configurations.
-
#client_id ⇒ String
Gets the the NAS-Identifier RADIUS attribute with client_ids.
-
#create(opts) ⇒ Object
Creates this RADIUS configurations.
-
#create_default_authentication_radius_configuration(opts) ⇒ Object
Creates the default authentication RADIUS configuration.
-
#debug_state ⇒ EnabledState
Gets the states indicating whether syslog debugging is enabled/disabled.
-
#delete_all_configurations ⇒ Object
Deletes all RADIUS configurations.
-
#delete_configuration ⇒ Object
Deletes this RADIUS configurations.
-
#list ⇒ String
Gets a list of all RADIUS configurations.
-
#remove_all_servers ⇒ Object
Removes all servers from this RADIUS configurations.
-
#remove_server(opts) ⇒ Object
Removes servers from this RADIUS configurations.
-
#retry ⇒ long
Gets the number of attempts to communicate with the server before concluding that the server has failed.
-
#server ⇒ String[]
Gets the lists of servers this RADIUS configurations are associated with.
-
#set_accounting_validation_state(opts) ⇒ Object
Sets the states indicating whether to enable/disable validation of the accounting response vector.
-
#set_client_id(opts) ⇒ Object
Sets the NAS-Identifier RADIUS attribute with client_ids.
-
#set_debug_state(opts) ⇒ Object
Sets the states indicating whether syslog debugging is enabled/disabled.
-
#set_retry(opts) ⇒ Object
Sets the number of attempts to communicate with the server before concluding that the server has failed.
-
#version ⇒ String
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
#accounting_validation_state ⇒ EnabledState
Gets the states indicating whether to enable/disable validation of the accounting response vector. This option should only be set necessary for older servers, i.e. Livingston 1.16.
76 77 78 |
# File 'lib/icontrol/management/radius_configuration.rb', line 76 def accounting_validation_state super end |
#add_server(opts) ⇒ Object
Adds/associates servers to this RADIUS configurations.
16 17 18 19 |
# File 'lib/icontrol/management/radius_configuration.rb', line 16 def add_server(opts) opts = check_params(opts,[:servers]) super(opts) end |
#client_id ⇒ String
Gets the the NAS-Identifier RADIUS attribute with client_ids. If the client_id option is not specified, the PAM service type is used instead. This feature may be disabled by using empty strings for client_ids.
89 90 91 |
# File 'lib/icontrol/management/radius_configuration.rb', line 89 def client_id super end |
#create(opts) ⇒ Object
Creates this RADIUS configurations.
29 30 31 32 |
# File 'lib/icontrol/management/radius_configuration.rb', line 29 def create(opts) opts = check_params(opts,[:servers]) super(opts) end |
#create_default_authentication_radius_configuration(opts) ⇒ Object
Creates the default authentication RADIUS configuration.
42 43 44 45 |
# File 'lib/icontrol/management/radius_configuration.rb', line 42 def create_default_authentication_radius_configuration(opts) opts = check_params(opts,[:servers]) super(opts) end |
#debug_state ⇒ EnabledState
Gets the states indicating whether syslog debugging is enabled/disabled.
100 101 102 |
# File 'lib/icontrol/management/radius_configuration.rb', line 100 def debug_state super end |
#delete_all_configurations ⇒ Object
Deletes all RADIUS configurations.
53 54 55 |
# File 'lib/icontrol/management/radius_configuration.rb', line 53 def delete_all_configurations super end |
#delete_configuration ⇒ Object
Deletes this RADIUS configurations.
63 64 65 |
# File 'lib/icontrol/management/radius_configuration.rb', line 63 def delete_configuration super end |
#list ⇒ String
Gets a list of all RADIUS configurations.
111 112 113 |
# File 'lib/icontrol/management/radius_configuration.rb', line 111 def list super end |
#remove_all_servers ⇒ Object
Removes all servers from this RADIUS configurations.
152 153 154 |
# File 'lib/icontrol/management/radius_configuration.rb', line 152 def remove_all_servers super end |
#remove_server(opts) ⇒ Object
Removes servers from this RADIUS configurations.
164 165 166 167 |
# File 'lib/icontrol/management/radius_configuration.rb', line 164 def remove_server(opts) opts = check_params(opts,[:servers]) super(opts) end |
#retry ⇒ long
Gets the number of attempts to communicate with the server before concluding that the server has failed.
123 124 125 |
# File 'lib/icontrol/management/radius_configuration.rb', line 123 def retry super end |
#server ⇒ String[]
Gets the lists of servers this RADIUS configurations are associated with.
134 135 136 |
# File 'lib/icontrol/management/radius_configuration.rb', line 134 def server super end |
#set_accounting_validation_state(opts) ⇒ Object
Sets the states indicating whether to enable/disable validation of the accounting response vector. This option should only be set necessary for older servers, i.e. Livingston 1.16.
179 180 181 182 |
# File 'lib/icontrol/management/radius_configuration.rb', line 179 def set_accounting_validation_state(opts) opts = check_params(opts,[:states]) super(opts) end |
#set_client_id(opts) ⇒ Object
Sets the NAS-Identifier RADIUS attribute with client_ids. If the client_id option is not specified, the PAM service type is used instead. This feature may be disabled by using empty strings for client_ids.
194 195 196 197 |
# File 'lib/icontrol/management/radius_configuration.rb', line 194 def set_client_id(opts) opts = check_params(opts,[:client_ids]) super(opts) end |
#set_debug_state(opts) ⇒ Object
Sets the states indicating whether syslog debugging is enabled/disabled.
207 208 209 210 |
# File 'lib/icontrol/management/radius_configuration.rb', line 207 def set_debug_state(opts) opts = check_params(opts,[:states]) super(opts) end |
#set_retry(opts) ⇒ Object
Sets the number of attempts to communicate with the server before concluding that the server has failed.
221 222 223 224 |
# File 'lib/icontrol/management/radius_configuration.rb', line 221 def set_retry(opts) opts = check_params(opts,[:retries]) super(opts) end |
#version ⇒ String
Gets the version information for this interface.
142 143 144 |
# File 'lib/icontrol/management/radius_configuration.rb', line 142 def version super end |