Class: IControl::LocalLB::ProfileRADIUS
- Inherits:
-
Base
- Object
- Base
- IControl::LocalLB::ProfileRADIUS
- Defined in:
- lib/icontrol/local_lb/profile_radius.rb,
lib/icontrol/local_lb.rb more...
Overview
The ProfileRADIUS interface enables you to manipulate a local load balancer’s RADIUS profile.
Defined Under Namespace
Classes: ProfileRADIUSStatisticEntry, ProfileRADIUSStatisticEntrySequence, ProfileRADIUSStatistics
Instance Method Summary collapse
-
#add_client(opts) ⇒ Object
Adds to the lists of host and network addresses from which clients can connect.
-
#all_statistics ⇒ ProfileRADIUSStatistics
Gets the statistics for all the RADIUS profile.
-
#client ⇒ ProfileStringArray
Gets the list of host and network addresses from which clients can connect.
-
#create ⇒ Object
Creates this RADIUS profile.
-
#default_profile ⇒ String
Gets the names of the default profile from which this profile will derive default values for its attributes.
-
#delete_all_profiles ⇒ Object
Deletes all RADIUS profile.
-
#delete_profile ⇒ Object
Deletes this RADIUS profile.
-
#is_base_profile ⇒ boolean
Determines whether this profile are base/pre-configured profile, or user-defined profile.
-
#list ⇒ String
Gets a list of all RADIUS profile.
-
#persist_avp ⇒ ProfileString
Gets the the RADIUS Attribute (Value Pair; AVP) on which to persist for each of the profile given.
-
#remove_client(opts) ⇒ Object
Removes entries from the lists of host and network addresses from which clients can connect.
-
#reset_statistics ⇒ Object
Resets the statistics for this RADIUS profile.
-
#set_default_client ⇒ Object
Resets the client list to the parent defaults.
-
#set_default_profile(opts) ⇒ Object
Sets the names of the default profile from which this profile will derive default values for its attributes.
-
#set_persist_avp(opts) ⇒ Object
Sets the RADIUS Attribute (Value Pair; AVP) on which to persist for each of the profile given.
-
#statistics ⇒ ProfileRADIUSStatistics
Gets the statistics for this RADIUS profile.
-
#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
permalink #add_client(opts) ⇒ Object
Adds to the lists of host and network addresses from which clients can connect. See get_client for more information on the client specification.
20 21 22 23 |
# File 'lib/icontrol/local_lb/profile_radius.rb', line 20 def add_client(opts) opts = check_params(opts,[:clients]) super(opts) end |
permalink #all_statistics ⇒ ProfileRADIUSStatistics
Gets the statistics for all the RADIUS profile.
62 63 64 |
# File 'lib/icontrol/local_lb/profile_radius.rb', line 62 def all_statistics super end |
permalink #client ⇒ ProfileStringArray
Gets the list of host and network addresses from which clients can connect. An entry in the list can be a host or network address, for example: 10.10.10.0/24 or 10.10.10.10. An empty value indicates that any client can connect.
75 76 77 |
# File 'lib/icontrol/local_lb/profile_radius.rb', line 75 def client super end |
permalink #create ⇒ Object
Creates this RADIUS profile.
31 32 33 |
# File 'lib/icontrol/local_lb/profile_radius.rb', line 31 def create super end |
permalink #default_profile ⇒ String
Gets the names of the default profile from which this profile will derive default values for its attributes.
87 88 89 |
# File 'lib/icontrol/local_lb/profile_radius.rb', line 87 def default_profile super end |
permalink #delete_all_profiles ⇒ Object
Deletes all RADIUS profile.
41 42 43 |
# File 'lib/icontrol/local_lb/profile_radius.rb', line 41 def delete_all_profiles super end |
permalink #delete_profile ⇒ Object
Deletes this RADIUS profile.
51 52 53 |
# File 'lib/icontrol/local_lb/profile_radius.rb', line 51 def delete_profile super end |
permalink #is_base_profile ⇒ boolean
Determines whether this profile are base/pre-configured profile, or user-defined profile.
141 142 143 |
# File 'lib/icontrol/local_lb/profile_radius.rb', line 141 def is_base_profile super end |
permalink #list ⇒ String
Gets a list of all RADIUS profile.
98 99 100 |
# File 'lib/icontrol/local_lb/profile_radius.rb', line 98 def list super end |
permalink #persist_avp ⇒ ProfileString
Gets the the RADIUS Attribute (Value Pair; AVP) on which to persist for each of the profile given. See set_persist_avp for more information on the AVP specification.
110 111 112 |
# File 'lib/icontrol/local_lb/profile_radius.rb', line 110 def persist_avp super end |
permalink #remove_client(opts) ⇒ Object
Removes entries from the lists of host and network addresses from which clients can connect. See get_client for more information on the client specification.
154 155 156 157 |
# File 'lib/icontrol/local_lb/profile_radius.rb', line 154 def remove_client(opts) opts = check_params(opts,[:clients]) super(opts) end |
permalink #reset_statistics ⇒ Object
Resets the statistics for this RADIUS profile.
165 166 167 |
# File 'lib/icontrol/local_lb/profile_radius.rb', line 165 def reset_statistics super end |
permalink #set_default_client ⇒ Object
Resets the client list to the parent defaults.
175 176 177 |
# File 'lib/icontrol/local_lb/profile_radius.rb', line 175 def set_default_client super end |
permalink #set_default_profile(opts) ⇒ Object
Sets the names of the default profile from which this profile will derive default values for its attributes.
188 189 190 191 |
# File 'lib/icontrol/local_lb/profile_radius.rb', line 188 def set_default_profile(opts) opts = check_params(opts,[:defaults]) super(opts) end |
permalink #set_persist_avp(opts) ⇒ Object
Sets the RADIUS Attribute (Value Pair; AVP) on which to persist for each of the profile given. The attribute specification can be a string or a numeric code (1-255), encoded as string. If the string is empty, or the code does not exist in the traffic coming to the system, then persist is disabled (if the name is not recognized, this method will produce an error). See RFC 2865, section 5, for valid base numeric codes. Valid names are as listed in section 5, in any mix of upper and lower case.
206 207 208 209 |
# File 'lib/icontrol/local_lb/profile_radius.rb', line 206 def set_persist_avp(opts) opts = check_params(opts,[:avps]) super(opts) end |
permalink #statistics ⇒ ProfileRADIUSStatistics
Gets the statistics for this RADIUS profile.
121 122 123 |
# File 'lib/icontrol/local_lb/profile_radius.rb', line 121 def statistics super end |
permalink #version ⇒ String
Gets the version information for this interface.
129 130 131 |
# File 'lib/icontrol/local_lb/profile_radius.rb', line 129 def version super end |