Class: Construqt::Flavour::BridgeDelegate
- Inherits:
-
Object
- Object
- Construqt::Flavour::BridgeDelegate
- Includes:
- Delegate
- Defined in:
- lib/construqt/flavour/delegates.rb
Instance Method Summary collapse
- #_ident ⇒ Object
-
#initialize(bridge) ⇒ BridgeDelegate
constructor
A new instance of BridgeDelegate.
- #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(bridge) ⇒ BridgeDelegate
Returns a new instance of BridgeDelegate.
239 240 241 |
# File 'lib/construqt/flavour/delegates.rb', line 239 def initialize(bridge) self.delegate = bridge end |
Instance Method Details
#_ident ⇒ Object
243 244 245 |
# File 'lib/construqt/flavour/delegates.rb', line 243 def _ident "Bridge_#{self.host.name}_#{self.name}" end |
#interfaces ⇒ Object
247 248 249 |
# File 'lib/construqt/flavour/delegates.rb', line 247 def interfaces self.delegate.interfaces end |