Class: Construqt::Flavour::BondDelegate
- Inherits:
-
Object
- Object
- Construqt::Flavour::BondDelegate
- Includes:
- Delegate
- Defined in:
- lib/construqt/flavour/delegates.rb
Instance Method Summary collapse
- #_ident ⇒ Object
-
#initialize(bond) ⇒ BondDelegate
constructor
A new instance of BondDelegate.
- #interfaces ⇒ Object
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
#_ident ⇒ Object
258 259 260 |
# File 'lib/construqt/flavour/delegates.rb', line 258 def _ident "Bond_#{self.host.name}_#{self.name}" end |
#interfaces ⇒ Object
262 263 264 |
# File 'lib/construqt/flavour/delegates.rb', line 262 def interfaces self.delegate.interfaces end |