Class: IControl::Networking::PacketFilterGlobals
- Inherits:
-
Base
- Object
- Base
- IControl::Networking::PacketFilterGlobals
- Defined in:
- lib/icontrol/networking/packet_filter_globals.rb,
lib/icontrol/networking.rb
Overview
The PacketFilterGlobals interface enables you to work with the global lists of trusted source addresses and ingress VLANs used in packet filtering.
Instance Method Summary collapse
-
#add_trusted_address ⇒ Object
Adds this addresse to the list of trusted source addresse.
-
#add_trusted_mac_address(opts) ⇒ Object
Adds this MAC addresse to the list of trusted MAC addresse.
-
#add_trusted_vlan(opts) ⇒ Object
Adds this ingress VLANs to the list of trusted VLANs.
-
#remove_trusted_address ⇒ Object
Removes this addresse from the list of trusted source addresse.
-
#remove_trusted_mac_address(opts) ⇒ Object
Removes this MAC addresse from the list of trusted MAC addresse.
-
#remove_trusted_vlan(opts) ⇒ Object
Removes this ingress VLANs from the list of trusted VLANs.
-
#trusted_address ⇒ String
Gets a list of all trusted source addresse used in packet filtering on this device.
-
#trusted_mac_address ⇒ String
Gets a list of all trusted MAC addresse used in packet filtering on this device.
-
#trusted_vlan ⇒ String
Gets a list of all trusted ingress VLANs used in packet filtering on this device.
-
#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
#add_trusted_address ⇒ Object
Adds this addresse to the list of trusted source addresse.
15 16 17 |
# File 'lib/icontrol/networking/packet_filter_globals.rb', line 15 def add_trusted_address super end |
#add_trusted_mac_address(opts) ⇒ Object
Adds this MAC addresse to the list of trusted MAC addresse.
27 28 29 30 |
# File 'lib/icontrol/networking/packet_filter_globals.rb', line 27 def add_trusted_mac_address(opts) opts = check_params(opts,[:mac_addresses]) super(opts) end |
#add_trusted_vlan(opts) ⇒ Object
Adds this ingress VLANs to the list of trusted VLANs.
40 41 42 43 |
# File 'lib/icontrol/networking/packet_filter_globals.rb', line 40 def add_trusted_vlan(opts) opts = check_params(opts,[:vlans]) super(opts) end |
#remove_trusted_address ⇒ Object
Removes this addresse from the list of trusted source addresse.
92 93 94 |
# File 'lib/icontrol/networking/packet_filter_globals.rb', line 92 def remove_trusted_address super end |
#remove_trusted_mac_address(opts) ⇒ Object
Removes this MAC addresse from the list of trusted MAC addresse.
104 105 106 107 |
# File 'lib/icontrol/networking/packet_filter_globals.rb', line 104 def remove_trusted_mac_address(opts) opts = check_params(opts,[:mac_addresses]) super(opts) end |
#remove_trusted_vlan(opts) ⇒ Object
Removes this ingress VLANs from the list of trusted VLANs.
117 118 119 120 |
# File 'lib/icontrol/networking/packet_filter_globals.rb', line 117 def remove_trusted_vlan(opts) opts = check_params(opts,[:vlans]) super(opts) end |
#trusted_address ⇒ String
Gets a list of all trusted source addresse used in packet filtering on this device.
52 53 54 |
# File 'lib/icontrol/networking/packet_filter_globals.rb', line 52 def trusted_address super end |
#trusted_mac_address ⇒ String
Gets a list of all trusted MAC addresse used in packet filtering on this device.
63 64 65 |
# File 'lib/icontrol/networking/packet_filter_globals.rb', line 63 def trusted_mac_address super end |
#trusted_vlan ⇒ String
Gets a list of all trusted ingress VLANs used in packet filtering on this device.
74 75 76 |
# File 'lib/icontrol/networking/packet_filter_globals.rb', line 74 def trusted_vlan super end |
#version ⇒ String
Gets the version information for this interface.
82 83 84 |
# File 'lib/icontrol/networking/packet_filter_globals.rb', line 82 def version super end |