Class: Construqt::Flavour::BondDelegate

Inherits:
Object
  • Object
show all
Includes:
Delegate
Defined in:
lib/construqt/flavour/delegates.rb

Instance Method Summary collapse

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(bond) ⇒ BondDelegate

Returns a new instance of BondDelegate.



254
255
256
# File 'lib/construqt/flavour/delegates.rb', line 254

def initialize(bond)
  self.delegate = bond
end

Instance Method Details

#_identObject



258
259
260
# File 'lib/construqt/flavour/delegates.rb', line 258

def _ident
  "Bond_#{self.host.name}_#{self.name}"
end

#interfacesObject



262
263
264
# File 'lib/construqt/flavour/delegates.rb', line 262

def interfaces
  self.delegate.interfaces
end