Class: Construqt::Flavour::DeviceDelegate
- Inherits:
-
Object
- Object
- Construqt::Flavour::DeviceDelegate
- Includes:
- Delegate
- Defined in:
- lib/construqt/flavour/delegates.rb
Instance Method Summary collapse
- #_ident ⇒ Object
-
#initialize(device) ⇒ DeviceDelegate
constructor
A new instance of DeviceDelegate.
Methods included from Delegate
#address, #build_config, #cable, #cable=, #clazz, #default_name, #delegate, #delegate=, #description, #host, #ident, #name, #priority, #simple_name, #tags, #tags=, #template, #vrrp, #vrrp=
Constructor Details
#initialize(device) ⇒ DeviceDelegate
Returns a new instance of DeviceDelegate.
201 202 203 |
# File 'lib/construqt/flavour/delegates.rb', line 201 def initialize(device) self.delegate = device end |
Instance Method Details
#_ident ⇒ Object
205 206 207 208 209 |
# File 'lib/construqt/flavour/delegates.rb', line 205 def _ident #binding.pry #Construqt.logger.debug "DeviceDelegate::_ident:#{attached.delegate.name}" "Device_#{delegate.host.name}_#{self.name}" end |