Class: Construqt::Flavour::GreDelegate
- Inherits:
-
Object
- Object
- Construqt::Flavour::GreDelegate
- Includes:
- Delegate
- Defined in:
- lib/construqt/flavour/delegates.rb
Instance Method Summary collapse
- #_ident ⇒ Object
- #cfg ⇒ Object
-
#initialize(gre) ⇒ GreDelegate
constructor
A new instance of GreDelegate.
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(gre) ⇒ GreDelegate
Returns a new instance of GreDelegate.
106 107 108 |
# File 'lib/construqt/flavour/delegates.rb', line 106 def initialize(gre) self.delegate = gre end |
Instance Method Details
#_ident ⇒ Object
110 111 112 |
# File 'lib/construqt/flavour/delegates.rb', line 110 def _ident "Gre_#{self.host.name}_#{self.name}" end |
#cfg ⇒ Object
114 115 116 |
# File 'lib/construqt/flavour/delegates.rb', line 114 def cfg self.delegate.cfg end |