Class: IControl::Networking::PortMirror
- Inherits:
-
Base
- Object
- Base
- IControl::Networking::PortMirror
- Defined in:
- lib/icontrol/networking/port_mirror.rb,
lib/icontrol/networking.rb
Overview
The PortMirror interface enables you to work with the definitions and attributes of port mirroring.
Instance Method Summary collapse
-
#add_interface(opts) ⇒ Object
Adds the lists of mirrored-from interfaces to this port mirrors (mirrored-to interfaces).
-
#create(opts) ⇒ Object
Creates this port mirrors (mirrored-to interfaces) from the list of specified interfaces (mirrored-from interfaces).
-
#delete_all_port_mirrors ⇒ Object
Deletes all port mirrors (mirrored-to interfaces).
-
#delete_port_mirror ⇒ Object
Deletes this port mirrors (mirrored-to interfaces).
-
#interface ⇒ String[]
Gets the lists of mirrored-from interfaces associated with this port mirrors.
-
#list ⇒ String
Gets a list of all port mirrors (mirrored-to interfaces) on this device.
-
#remove_all_interfaces ⇒ Object
Removes all mirrored-from interfaces from this port mirrors (mirrored-to interfaces).
-
#remove_interface(opts) ⇒ Object
Removes the lists of mirrored-from interfaces from this port mirrors (mirrored-to interfaces).
-
#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_interface(opts) ⇒ Object
Adds the lists of mirrored-from interfaces to this port mirrors (mirrored-to interfaces).
17 18 19 20 |
# File 'lib/icontrol/networking/port_mirror.rb', line 17 def add_interface(opts) opts = check_params(opts,[:interfaces]) super(opts) end |
#create(opts) ⇒ Object
Creates this port mirrors (mirrored-to interfaces) from the list of specified interfaces (mirrored-from interfaces).
31 32 33 34 |
# File 'lib/icontrol/networking/port_mirror.rb', line 31 def create(opts) opts = check_params(opts,[:interfaces]) super(opts) end |
#delete_all_port_mirrors ⇒ Object
Deletes all port mirrors (mirrored-to interfaces).
42 43 44 |
# File 'lib/icontrol/networking/port_mirror.rb', line 42 def delete_all_port_mirrors super end |
#delete_port_mirror ⇒ Object
Deletes this port mirrors (mirrored-to interfaces).
52 53 54 |
# File 'lib/icontrol/networking/port_mirror.rb', line 52 def delete_port_mirror super end |
#interface ⇒ String[]
Gets the lists of mirrored-from interfaces associated with this port mirrors.
63 64 65 |
# File 'lib/icontrol/networking/port_mirror.rb', line 63 def interface super end |
#list ⇒ String
Gets a list of all port mirrors (mirrored-to interfaces) on this device.
74 75 76 |
# File 'lib/icontrol/networking/port_mirror.rb', line 74 def list super end |
#remove_all_interfaces ⇒ Object
Removes all mirrored-from interfaces from this port mirrors (mirrored-to interfaces).
92 93 94 |
# File 'lib/icontrol/networking/port_mirror.rb', line 92 def remove_all_interfaces super end |
#remove_interface(opts) ⇒ Object
Removes the lists of mirrored-from interfaces from this port mirrors (mirrored-to interfaces).
105 106 107 108 |
# File 'lib/icontrol/networking/port_mirror.rb', line 105 def remove_interface(opts) opts = check_params(opts,[:interfaces]) super(opts) end |
#version ⇒ String
Gets the version information for this interface.
82 83 84 |
# File 'lib/icontrol/networking/port_mirror.rb', line 82 def version super end |