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, #firewalls, #ident, #ipsec, #mtu, #simple_name, #tags, #tags=, #vrrp, #vrrp=
Constructor Details
Returns a new instance of InterfaceDelegate.
295
296
297
|
# File 'lib/construqt/flavour/delegates.rb', line 295
def initialize(interface)
self.delegate = interface
end
|
Instance Method Details
#_ident ⇒ Object
303
304
305
306
|
# File 'lib/construqt/flavour/delegates.rb', line 303
def _ident
self.clazz.ident
end
|
#address ⇒ Object
312
313
314
|
# File 'lib/construqt/flavour/delegates.rb', line 312
def address
self.delegate.address
end
|
#cable ⇒ Object
328
329
330
|
# File 'lib/construqt/flavour/delegates.rb', line 328
def cable
self.delegate.cable
end
|
#cable=(a) ⇒ Object
332
333
334
|
# File 'lib/construqt/flavour/delegates.rb', line 332
def cable=(a)
self.delegate.cable = a
end
|
#clazz ⇒ Object
299
300
301
|
# File 'lib/construqt/flavour/delegates.rb', line 299
def clazz
self.delegate.clazz
end
|
#host ⇒ Object
320
321
322
|
# File 'lib/construqt/flavour/delegates.rb', line 320
def host
self.delegate.host
end
|
#interfaces ⇒ Object
340
341
342
|
# File 'lib/construqt/flavour/delegates.rb', line 340
def interfaces
self.delegate.interfaces
end
|
#name ⇒ Object
308
309
310
|
# File 'lib/construqt/flavour/delegates.rb', line 308
def name
self.delegate.name
end
|
#network ⇒ Object
324
325
326
|
# File 'lib/construqt/flavour/delegates.rb', line 324
def network
self.delegate.network
end
|
#priority ⇒ Object
316
317
318
|
# File 'lib/construqt/flavour/delegates.rb', line 316
def priority
self.delegate.priority
end
|
#template ⇒ Object
336
337
338
|
# File 'lib/construqt/flavour/delegates.rb', line 336
def template
self.delegate.template
end
|