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, #firewalls, #host, #ident, #ipsec, #mtu, #name, #priority, #simple_name, #tags, #tags=, #template, #vrrp, #vrrp=
Constructor Details
#initialize(gre) ⇒ GreDelegate
Returns a new instance of GreDelegate.
119 120 121 |
# File 'lib/construqt/flavour/delegates.rb', line 119 def initialize(gre) self.delegate = gre end |
Instance Method Details
#_ident ⇒ Object
123 124 125 |
# File 'lib/construqt/flavour/delegates.rb', line 123 def _ident "Gre_#{self.host.name}_#{self.name}" end |
#cfg ⇒ Object
127 128 129 |
# File 'lib/construqt/flavour/delegates.rb', line 127 def cfg self.delegate.cfg end |