Class: Aio::Device::Maipu
- Inherits:
-
ParentDevice
- Object
- ParentDevice
- Aio::Device::Maipu
- Defined in:
- lib/aio/core/device/maipu.rb
Constant Summary collapse
- Interface =
{ geth: "GigabitEthernet".downcase, feth: "FastEthernet".downcase, eth: "Ethernet".downcase, loopback: "Loopback".downcase, vlan_if: "Vlan-interface".downcase }
Constants inherited from ParentDevice
Instance Attribute Summary
Attributes inherited from ParentDevice
#cmds_context, #cmds_useful, #device_info, #device_name, #manager_ip, #warning_klass
Instance Method Summary collapse
-
#initialize ⇒ Maipu
constructor
A new instance of Maipu.
Methods inherited from ParentDevice
#add_cmd, #add_cmd_context_by_cmd_name, #add_cmd_context_by_klass, #device_type, #has_cmd?, #inspect, #instance, #interface, #method_missing, #parse, #push_device_info, #push_useful
Methods included from Ui::Verbose
#clear_line, #print_error, #print_good, #progress_bar
Constructor Details
#initialize ⇒ Maipu
Returns a new instance of Maipu.
4 5 6 7 |
# File 'lib/aio/core/device/maipu.rb', line 4 def initialize super @device_type = "maipu" end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Aio::Device::ParentDevice