Class: IControl::Networking::AdminIP
- Inherits:
-
Base
- Object
- Base
- IControl::Networking::AdminIP
- Defined in:
- lib/icontrol/networking/admin_ip.rb,
lib/icontrol/networking.rb
Overview
The AdminIP interface enables you to work with the definitions and attributes contained in a device's administrative IP.
Instance Method Summary (collapse)
-
- (String[]) cluster_list
Gets a list of all cluster admin IPs on this cluster.
-
- (String[]) cluster_netmask(opts)
Gets the netmasks of this cluster admin IPs.
-
- (Object) create(opts)
Creates this admin IP addresses with extended attributes.
-
- (Object) create_cluster(opts)
Creates this cluster name& IP addresses.
-
- (Object) create_slot_ip(opts)
Creates this admin IP addresses on the designated slots.
-
- (Object) delete_administrative_ip(opts)
Deletes this admin IP addresses.
-
- (Object) delete_all_administrative_ips
Deletes all admin IP addresses.
-
- (Object) delete_all_cluster_ips
Deletes all cluster admin IP addresses.
-
- (Object) delete_all_slot_ips(opts)
Deletes all admin IP addresses on the designated slots.
-
- (Object) delete_cluster_ip(opts)
Deletes this cluster admin IP addresses.
-
- (Object) delete_slot_ip(opts)
Deletes this admin IP addresses on the designated slots.
-
- (String) list
Gets a list of all admin IPs on this device.
-
- (String) netmask(opts)
Gets the netmasks of this admin IPs.
-
- (Object) replace_administrative_ip(opts)
Replaces this admin IP addresses with extended attributes.
-
- (Object) replace_cluster_ip(opts)
Replaces this cluster name with new admin IP addresses.
-
- (Object) replace_slot_ip(opts)
Replaces this admin IP addresses on the designated slots.
-
- (Object) set_cluster_netmask(opts)
Sets the netmasks of this cluster admin IPs.
-
- (Object) set_netmask(opts)
Sets the netmasks of this admin IPs.
-
- (String[]) slot_ip(opts)
Gets a list of all admin IPs on the designated slots.
-
- (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
- (String[]) cluster_list
Gets a list of all cluster admin IPs on this cluster.
140 141 142 |
# File 'lib/icontrol/networking/admin_ip.rb', line 140 def cluster_list super end |
- (String[]) cluster_netmask(opts)
Gets the netmasks of this cluster admin IPs.
154 155 156 157 |
# File 'lib/icontrol/networking/admin_ip.rb', line 154 def cluster_netmask(opts) check_params(opts,[:cluster_ips]) super end |
- (Object) create(opts)
Creates this admin IP addresses with extended attributes.
18 19 20 21 |
# File 'lib/icontrol/networking/admin_ip.rb', line 18 def create(opts) check_params(opts,[:admin_ips,:netmasks]) super end |
- (Object) create_cluster(opts)
Creates this cluster name& IP addresses.
33 34 35 36 |
# File 'lib/icontrol/networking/admin_ip.rb', line 33 def create_cluster(opts) check_params(opts,[:cluster_ips,:netmasks]) super end |
- (Object) create_slot_ip(opts)
Creates this admin IP addresses on the designated slots.
49 50 51 52 |
# File 'lib/icontrol/networking/admin_ip.rb', line 49 def create_slot_ip(opts) check_params(opts,[:cluster_name,:slot_ids,:slot_ips]) super end |
- (Object) delete_administrative_ip(opts)
Deletes this admin IP addresses.
62 63 64 65 |
# File 'lib/icontrol/networking/admin_ip.rb', line 62 def delete_administrative_ip(opts) check_params(opts,[:admin_ips]) super end |
- (Object) delete_all_administrative_ips
Deletes all admin IP addresses.
73 74 75 |
# File 'lib/icontrol/networking/admin_ip.rb', line 73 def delete_all_administrative_ips super end |
- (Object) delete_all_cluster_ips
Deletes all cluster admin IP addresses.
84 85 86 |
# File 'lib/icontrol/networking/admin_ip.rb', line 84 def delete_all_cluster_ips super end |
- (Object) delete_all_slot_ips(opts)
Deletes all admin IP addresses on the designated slots.
97 98 99 100 |
# File 'lib/icontrol/networking/admin_ip.rb', line 97 def delete_all_slot_ips(opts) check_params(opts,[:slot_ids]) super end |
- (Object) delete_cluster_ip(opts)
Deletes this cluster admin IP addresses.
111 112 113 114 |
# File 'lib/icontrol/networking/admin_ip.rb', line 111 def delete_cluster_ip(opts) check_params(opts,[:cluster_ips]) super end |
- (Object) delete_slot_ip(opts)
Deletes this admin IP addresses on the designated slots.
127 128 129 130 |
# File 'lib/icontrol/networking/admin_ip.rb', line 127 def delete_slot_ip(opts) check_params(opts,[:cluster_name,:slot_ids,:slot_ips]) super end |
- (String) list
Gets a list of all admin IPs on this device.
166 167 168 |
# File 'lib/icontrol/networking/admin_ip.rb', line 166 def list super end |
- (String) netmask(opts)
Gets the netmasks of this admin IPs.
179 180 181 182 |
# File 'lib/icontrol/networking/admin_ip.rb', line 179 def netmask(opts) check_params(opts,[:admin_ips]) super end |
- (Object) replace_administrative_ip(opts)
Replaces this admin IP addresses with extended attributes.
219 220 221 222 |
# File 'lib/icontrol/networking/admin_ip.rb', line 219 def replace_administrative_ip(opts) check_params(opts,[:old_ips,:new_ips,:netmasks]) super end |
- (Object) replace_cluster_ip(opts)
Replaces this cluster name with new admin IP addresses.
235 236 237 238 |
# File 'lib/icontrol/networking/admin_ip.rb', line 235 def replace_cluster_ip(opts) check_params(opts,[:old_ips,:new_ips,:netmasks]) super end |
- (Object) replace_slot_ip(opts)
Replaces this admin IP addresses on the designated slots.
252 253 254 255 |
# File 'lib/icontrol/networking/admin_ip.rb', line 252 def replace_slot_ip(opts) check_params(opts,[:cluster_name,:slot_ids,:old_ips,:new_ips]) super end |
- (Object) set_cluster_netmask(opts)
Sets the netmasks of this cluster admin IPs.
267 268 269 270 |
# File 'lib/icontrol/networking/admin_ip.rb', line 267 def set_cluster_netmask(opts) check_params(opts,[:cluster_ips,:netmasks]) super end |
- (Object) set_netmask(opts)
Sets the netmasks of this admin IPs.
281 282 283 284 |
# File 'lib/icontrol/networking/admin_ip.rb', line 281 def set_netmask(opts) check_params(opts,[:admin_ips,:netmasks]) super end |
- (String[]) slot_ip(opts)
Gets a list of all admin IPs on the designated slots.
195 196 197 198 |
# File 'lib/icontrol/networking/admin_ip.rb', line 195 def slot_ip(opts) check_params(opts,[:cluster_name,:slot_ids]) super end |
- (String) version
Gets the version information for this interface.
204 205 206 |
# File 'lib/icontrol/networking/admin_ip.rb', line 204 def version super end |