Class: IControl::Networking::VLANGroup
- Inherits:
-
Base
- Object
- Base
- IControl::Networking::VLANGroup
- Defined in:
- lib/icontrol/networking/vlan_group.rb,
lib/icontrol/networking.rb
Overview
The VLANGroup interface enables you to work with the definitions and attributes contained in a device’s VLAN group.
Defined Under Namespace
Classes: VLANGroupTransparency, VLANGroupTransparencySequence
Instance Method Summary collapse
-
#add_global_proxy_exclusion(opts) ⇒ Object
Adds this IP addresses to the global proxy ARP exclusion list that applies to all VLAN groups.
-
#add_member(opts) ⇒ Object
Adds this children VLANs to this VLAN groups.
-
#add_proxy_exclusion(opts) ⇒ Object
Adds this IP addresses to the proxy ARP exclusion lists of this VLAN groups.
-
#bridge_all_traffic_state ⇒ EnabledState
Gets the states to indicate whether to bridge non-IP traffic as well as IP traffic for this VLAN groups.
-
#bridge_in_standby_state ⇒ EnabledState
Gets the states to indicate whether to bridge while unit is in standby mode for this VLAN groups.
-
#bridge_multicast_state ⇒ EnabledState
Gets the states to indicate whether to bridge multicast/broadcast traffic for this VLAN groups.
-
#create(opts) ⇒ Object
This method has been deprecated; please use create_v2 instead.
-
#create_v2(opts) ⇒ Object
Creates a VLAN group.
-
#delete_all_vlan_groups ⇒ Object
Deletes all VLAN groups.
-
#delete_vlan_group ⇒ Object
Deletes this VLAN groups.
-
#global_proxy_exclusion ⇒ String
Gets the global lists of IP addresses that proxy ARP will ignore for all VLAN groups.
-
#list ⇒ String
Gets a list of all VLAN groups on this device.
-
#mac_masquerade_address ⇒ String
Gets the MAC masquerade addresses for this VLAN groups.
-
#member ⇒ String[]
Gets the lists of children VLANs of this VLAN groups.
-
#proxy_exclusion ⇒ String[]
Gets the lists of IP addresses that proxy ARP will ignore for this VLAN groups.
-
#remove_all_global_proxy_exclusions ⇒ Object
Removes all IP addresses from the global proxy ARP exclusion list for all VLAN groups.
-
#remove_all_members ⇒ Object
Removes all children VLANs from this VLAN groups.
-
#remove_all_proxy_exclusions ⇒ Object
Removes all IP addresses from the proxy ARP exclusion lists of this VLAN groups.
-
#remove_global_proxy_exclusion(opts) ⇒ Object
Removes this IP addresses from the global proxy ARP exclusion list that applies to all VLAN groups.
-
#remove_member(opts) ⇒ Object
Removes this children VLANs from this VLAN groups.
-
#remove_proxy_exclusion(opts) ⇒ Object
Removes this IP addresses from the proxy ARP exclusion lists of this VLAN groups.
-
#set_bridge_all_traffic_state(opts) ⇒ Object
Sets the states to indicate whether to bridge non-IP traffic as well as IP traffic for this VLAN groups.
-
#set_bridge_in_standby_state(opts) ⇒ Object
Sets the states to indicate whether to bridge while unit is in standby mode for this VLAN groups.
-
#set_bridge_multicast_state(opts) ⇒ Object
Sets the states to indicate whether to bridge multicast/broadcast traffic for this VLAN groups.
-
#set_mac_masquerade_address(opts) ⇒ Object
Sets the MAC masquerade addresses for this VLAN groups.
-
#set_transparency_mode(opts) ⇒ Object
Sets the transparency modes for this VLAN groups.
-
#set_vlan_id(opts) ⇒ Object
This method has been deprecated; setting VLAN id for a VLAN group had and will have no effect.
-
#transparency_mode ⇒ VLANGroupTransparency
Gets the transparency modes for this VLAN groups.
-
#true_mac_address ⇒ String
Gets the true MAC addresses used by this VLAN groups.
-
#version ⇒ String
Gets the version information for this interface.
-
#vlan_id ⇒ long
This method has been deprecated; accessing VLAN id for a VLAN group was unnecessary and misleading.
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class IControl::Base
Instance Method Details
#add_global_proxy_exclusion(opts) ⇒ Object
Adds this IP addresses to the global proxy ARP exclusion list that applies to all VLAN groups.
20 21 22 23 |
# File 'lib/icontrol/networking/vlan_group.rb', line 20 def add_global_proxy_exclusion(opts) opts = check_params(opts,[:addresses]) super(opts) end |
#add_member(opts) ⇒ Object
Adds this children VLANs to this VLAN groups.
33 34 35 36 |
# File 'lib/icontrol/networking/vlan_group.rb', line 33 def add_member(opts) opts = check_params(opts,[:member_vlans]) super(opts) end |
#add_proxy_exclusion(opts) ⇒ Object
Adds this IP addresses to the proxy ARP exclusion lists of this VLAN groups.
46 47 48 49 |
# File 'lib/icontrol/networking/vlan_group.rb', line 46 def add_proxy_exclusion(opts) opts = check_params(opts,[:addresses]) super(opts) end |
#bridge_all_traffic_state ⇒ EnabledState
Gets the states to indicate whether to bridge non-IP traffic as well as IP traffic for this VLAN groups.
106 107 108 |
# File 'lib/icontrol/networking/vlan_group.rb', line 106 def bridge_all_traffic_state super end |
#bridge_in_standby_state ⇒ EnabledState
Gets the states to indicate whether to bridge while unit is in standby mode for this VLAN groups.
118 119 120 |
# File 'lib/icontrol/networking/vlan_group.rb', line 118 def bridge_in_standby_state super end |
#bridge_multicast_state ⇒ EnabledState
Gets the states to indicate whether to bridge multicast/broadcast traffic for this VLAN groups.
130 131 132 |
# File 'lib/icontrol/networking/vlan_group.rb', line 130 def bridge_multicast_state super end |
#create(opts) ⇒ Object
This method has been deprecated; please use create_v2 instead. Creates a VLAN group.
60 61 62 63 |
# File 'lib/icontrol/networking/vlan_group.rb', line 60 def create(opts) opts = check_params(opts,[:vlan_ids,:member_vlans]) super(opts) end |
#create_v2(opts) ⇒ Object
Creates a VLAN group.
73 74 75 76 |
# File 'lib/icontrol/networking/vlan_group.rb', line 73 def create_v2(opts) opts = check_params(opts,[:member_vlans]) super(opts) end |
#delete_all_vlan_groups ⇒ Object
Deletes all VLAN groups.
84 85 86 |
# File 'lib/icontrol/networking/vlan_group.rb', line 84 def delete_all_vlan_groups super end |
#delete_vlan_group ⇒ Object
Deletes this VLAN groups.
94 95 96 |
# File 'lib/icontrol/networking/vlan_group.rb', line 94 def delete_vlan_group super end |
#global_proxy_exclusion ⇒ String
Gets the global lists of IP addresses that proxy ARP will ignore for all VLAN groups.
141 142 143 |
# File 'lib/icontrol/networking/vlan_group.rb', line 141 def global_proxy_exclusion super end |
#list ⇒ String
Gets a list of all VLAN groups on this device.
152 153 154 |
# File 'lib/icontrol/networking/vlan_group.rb', line 152 def list super end |
#mac_masquerade_address ⇒ String
Gets the MAC masquerade addresses for this VLAN groups.
163 164 165 |
# File 'lib/icontrol/networking/vlan_group.rb', line 163 def mac_masquerade_address super end |
#member ⇒ String[]
Gets the lists of children VLANs of this VLAN groups.
174 175 176 |
# File 'lib/icontrol/networking/vlan_group.rb', line 174 def member super end |
#proxy_exclusion ⇒ String[]
Gets the lists of IP addresses that proxy ARP will ignore for this VLAN groups.
185 186 187 |
# File 'lib/icontrol/networking/vlan_group.rb', line 185 def proxy_exclusion super end |
#remove_all_global_proxy_exclusions ⇒ Object
Removes all IP addresses from the global proxy ARP exclusion list for all VLAN groups.
238 239 240 |
# File 'lib/icontrol/networking/vlan_group.rb', line 238 def remove_all_global_proxy_exclusions super end |
#remove_all_members ⇒ Object
Removes all children VLANs from this VLAN groups.
248 249 250 |
# File 'lib/icontrol/networking/vlan_group.rb', line 248 def remove_all_members super end |
#remove_all_proxy_exclusions ⇒ Object
Removes all IP addresses from the proxy ARP exclusion lists of this VLAN groups.
258 259 260 |
# File 'lib/icontrol/networking/vlan_group.rb', line 258 def remove_all_proxy_exclusions super end |
#remove_global_proxy_exclusion(opts) ⇒ Object
Removes this IP addresses from the global proxy ARP exclusion list that applies to all VLAN groups.
271 272 273 274 |
# File 'lib/icontrol/networking/vlan_group.rb', line 271 def remove_global_proxy_exclusion(opts) opts = check_params(opts,[:addresses]) super(opts) end |
#remove_member(opts) ⇒ Object
Removes this children VLANs from this VLAN groups.
284 285 286 287 |
# File 'lib/icontrol/networking/vlan_group.rb', line 284 def remove_member(opts) opts = check_params(opts,[:member_vlans]) super(opts) end |
#remove_proxy_exclusion(opts) ⇒ Object
Removes this IP addresses from the proxy ARP exclusion lists of this VLAN groups.
297 298 299 300 |
# File 'lib/icontrol/networking/vlan_group.rb', line 297 def remove_proxy_exclusion(opts) opts = check_params(opts,[:addresses]) super(opts) end |
#set_bridge_all_traffic_state(opts) ⇒ Object
Sets the states to indicate whether to bridge non-IP traffic as well as IP traffic for this VLAN groups.
311 312 313 314 |
# File 'lib/icontrol/networking/vlan_group.rb', line 311 def set_bridge_all_traffic_state(opts) opts = check_params(opts,[:states]) super(opts) end |
#set_bridge_in_standby_state(opts) ⇒ Object
Sets the states to indicate whether to bridge while unit is in standby mode for this VLAN groups.
325 326 327 328 |
# File 'lib/icontrol/networking/vlan_group.rb', line 325 def set_bridge_in_standby_state(opts) opts = check_params(opts,[:states]) super(opts) end |
#set_bridge_multicast_state(opts) ⇒ Object
Sets the states to indicate whether to bridge multicast/broadcast traffic for this VLAN groups.
339 340 341 342 |
# File 'lib/icontrol/networking/vlan_group.rb', line 339 def set_bridge_multicast_state(opts) opts = check_params(opts,[:states]) super(opts) end |
#set_mac_masquerade_address(opts) ⇒ Object
Sets the MAC masquerade addresses for this VLAN groups.
352 353 354 355 |
# File 'lib/icontrol/networking/vlan_group.rb', line 352 def set_mac_masquerade_address(opts) opts = check_params(opts,[:mac_masquerade_addresses]) super(opts) end |
#set_transparency_mode(opts) ⇒ Object
Sets the transparency modes for this VLAN groups.
365 366 367 368 |
# File 'lib/icontrol/networking/vlan_group.rb', line 365 def set_transparency_mode(opts) opts = check_params(opts,[:modes]) super(opts) end |
#set_vlan_id(opts) ⇒ Object
This method has been deprecated; setting VLAN id for a VLAN group had and will have no effect. Please don’t use in the future. Sets the tag ids for this VLAN groups.
379 380 381 382 |
# File 'lib/icontrol/networking/vlan_group.rb', line 379 def set_vlan_id(opts) opts = check_params(opts,[:vlan_ids]) super(opts) end |
#transparency_mode ⇒ VLANGroupTransparency
Gets the transparency modes for this VLAN groups.
196 197 198 |
# File 'lib/icontrol/networking/vlan_group.rb', line 196 def transparency_mode super end |
#true_mac_address ⇒ String
Gets the true MAC addresses used by this VLAN groups.
207 208 209 |
# File 'lib/icontrol/networking/vlan_group.rb', line 207 def true_mac_address super end |
#version ⇒ String
Gets the version information for this interface.
215 216 217 |
# File 'lib/icontrol/networking/vlan_group.rb', line 215 def version super end |
#vlan_id ⇒ long
This method has been deprecated; accessing VLAN id for a VLAN group was unnecessary and misleading. The method now returns 0s. Please don’t use in the future. Gets the ids for this VLAN groups.
228 229 230 |
# File 'lib/icontrol/networking/vlan_group.rb', line 228 def vlan_id super end |