Class: Aio::Device::H3C

Inherits:
ParentDevice show all
Defined in:
lib/aio/core/device/h3c.rb

Constant Summary collapse

InvalidInput =
/Unrecognized command found/

Constants inherited from ParentDevice

ParentDevice::Interface

Instance Attribute Summary

Attributes inherited from ParentDevice

#cmds_context, #cmds_useful, #device_info, #device_name, #manager_ip, #warning_klass

Instance Method Summary collapse

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

#initializeH3C

Returns a new instance of H3C.



8
9
10
11
# File 'lib/aio/core/device/h3c.rb', line 8

def initialize
	super
	@device_type = "h3c"
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Aio::Device::ParentDevice