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, #firewalls, #host, #ident, #ipsec, #mtu, #name, #priority, #simple_name, #tags, #tags=, #template, #vrrp, #vrrp=
Constructor Details
#initialize(device) ⇒ DeviceDelegate
Returns a new instance of DeviceDelegate.
214 215 216 |
# File 'lib/construqt/flavour/delegates.rb', line 214 def initialize(device) self.delegate = device end |
Instance Method Details
#_ident ⇒ Object
218 219 220 221 222 |
# File 'lib/construqt/flavour/delegates.rb', line 218 def _ident #binding.pry #Construqt.logger.debug "DeviceDelegate::_ident:#{attached.delegate.name}" "Device_#{delegate.host.name}_#{self.name}" end |