Class: Construqt::Flavour::OpvnDelegate
- Inherits:
-
Object
- Object
- Construqt::Flavour::OpvnDelegate
- Includes:
- Delegate
- Defined in:
- lib/construqt/flavour/delegates.rb
Instance Method Summary collapse
- #_ident ⇒ Object
-
#initialize(opvn) ⇒ OpvnDelegate
constructor
A new instance of OpvnDelegate.
- #network ⇒ Object
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(opvn) ⇒ OpvnDelegate
Returns a new instance of OpvnDelegate.
91 92 93 |
# File 'lib/construqt/flavour/delegates.rb', line 91 def initialize(opvn) self.delegate = opvn end |
Instance Method Details
#_ident ⇒ Object
95 96 97 |
# File 'lib/construqt/flavour/delegates.rb', line 95 def _ident "Opvn_#{self.host.name}_#{self.name}" end |
#network ⇒ Object
99 100 101 |
# File 'lib/construqt/flavour/delegates.rb', line 99 def network self.delegate.network end |