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, #firewalls, #host, #ident, #ipsec, #mtu, #name, #priority, #simple_name, #tags, #tags=, #template, #vrrp, #vrrp=
Constructor Details
#initialize(opvn) ⇒ OpvnDelegate
Returns a new instance of OpvnDelegate.
104 105 106 |
# File 'lib/construqt/flavour/delegates.rb', line 104 def initialize(opvn) self.delegate = opvn end |
Instance Method Details
#_ident ⇒ Object
108 109 110 |
# File 'lib/construqt/flavour/delegates.rb', line 108 def _ident "Opvn_#{self.host.name}_#{self.name}" end |
#network ⇒ Object
112 113 114 |
# File 'lib/construqt/flavour/delegates.rb', line 112 def network self.delegate.network end |