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)
-
- (Object) add_trusted_address
Adds this addresse to the list of trusted source addresse.
-
- (Object) add_trusted_mac_address(opts)
Adds this MAC addresse to the list of trusted MAC addresse.
-
- (Object) add_trusted_vlan(opts)
Adds this ingress VLANs to the list of trusted VLANs.
-
- (Object) remove_trusted_address
Removes this addresse from the list of trusted source addresse.
-
- (Object) remove_trusted_mac_address(opts)
Removes this MAC addresse from the list of trusted MAC addresse.
-
- (Object) remove_trusted_vlan(opts)
Removes this ingress VLANs from the list of trusted VLANs.
-
- (String) trusted_address
Gets a list of all trusted source addresse used in packet filtering on this device.
-
- (String) trusted_mac_address
Gets a list of all trusted MAC addresse used in packet filtering on this device.
-
- (String) trusted_vlan
Gets a list of all trusted ingress VLANs used in packet filtering on this device.
-
- (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
- (Object) add_trusted_address
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 |
- (Object) add_trusted_mac_address(opts)
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) check_params(opts,[:mac_addresses]) super end |
- (Object) add_trusted_vlan(opts)
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) check_params(opts,[:vlans]) super end |
- (Object) remove_trusted_address
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 |
- (Object) remove_trusted_mac_address(opts)
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) check_params(opts,[:mac_addresses]) super end |
- (Object) remove_trusted_vlan(opts)
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) check_params(opts,[:vlans]) super end |
- (String) trusted_address
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 |
- (String) trusted_mac_address
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 |
- (String) trusted_vlan
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 |
- (String) version
Gets the version information for this interface.
82 83 84 |
# File 'lib/icontrol/networking/packet_filter_globals.rb', line 82 def version super end |