Class: Construqt::Flavour::InterfaceDelegate
- Inherits:
-
Object
- Object
- Construqt::Flavour::InterfaceDelegate
show all
- Includes:
- Delegate
- Defined in:
- lib/construqt/flavour/delegates.rb
Instance Method Summary
collapse
Methods included from Delegate
#build_config, #default_name, #delegate, #delegate=, #description, #ident, #simple_name, #tags, #tags=, #vrrp, #vrrp=
Constructor Details
Returns a new instance of InterfaceDelegate.
282
283
284
|
# File 'lib/construqt/flavour/delegates.rb', line 282
def initialize(interface)
self.delegate = interface
end
|
Instance Method Details
#_ident ⇒ Object
290
291
292
293
|
# File 'lib/construqt/flavour/delegates.rb', line 290
def _ident
self.clazz.ident
end
|
#address ⇒ Object
299
300
301
|
# File 'lib/construqt/flavour/delegates.rb', line 299
def address
self.delegate.address
end
|
#cable ⇒ Object
315
316
317
|
# File 'lib/construqt/flavour/delegates.rb', line 315
def cable
self.delegate.cable
end
|
#cable=(a) ⇒ Object
319
320
321
|
# File 'lib/construqt/flavour/delegates.rb', line 319
def cable=(a)
self.delegate.cable = a
end
|
#clazz ⇒ Object
286
287
288
|
# File 'lib/construqt/flavour/delegates.rb', line 286
def clazz
self.delegate.clazz
end
|
#host ⇒ Object
307
308
309
|
# File 'lib/construqt/flavour/delegates.rb', line 307
def host
self.delegate.host
end
|
#interfaces ⇒ Object
327
328
329
|
# File 'lib/construqt/flavour/delegates.rb', line 327
def interfaces
self.delegate.interfaces
end
|
#name ⇒ Object
295
296
297
|
# File 'lib/construqt/flavour/delegates.rb', line 295
def name
self.delegate.name
end
|
#network ⇒ Object
311
312
313
|
# File 'lib/construqt/flavour/delegates.rb', line 311
def network
self.delegate.network
end
|
#priority ⇒ Object
303
304
305
|
# File 'lib/construqt/flavour/delegates.rb', line 303
def priority
self.delegate.priority
end
|
#template ⇒ Object
323
324
325
|
# File 'lib/construqt/flavour/delegates.rb', line 323
def template
self.delegate.template
end
|