Class: Construqt::Flavour::BgpDelegate
- Inherits:
-
Object
- Object
- Construqt::Flavour::BgpDelegate
show all
- Includes:
- Delegate
- Defined in:
- lib/construqt/flavour/delegates.rb
Instance Method Summary
collapse
Methods included from Delegate
#address, #build_config, #cable, #cable=, #clazz, #default_name, #delegate, #delegate=, #description, #ident, #name, #priority, #simple_name, #tags, #tags=, #template, #vrrp, #vrrp=
Constructor Details
Returns a new instance of BgpDelegate.
381
382
383
|
# File 'lib/construqt/flavour/delegates.rb', line 381
def initialize(bgp)
self.delegate = bgp
end
|
Instance Method Details
#_ident ⇒ Object
417
418
419
|
# File 'lib/construqt/flavour/delegates.rb', line 417
def _ident
"Bgp_#{cfg.left.host.name}_#{cfg.left.my.name}_#{cfg.right.host.name}_#{cfg.right.my.name}"
end
|
#as ⇒ Object
389
390
391
|
# File 'lib/construqt/flavour/delegates.rb', line 389
def as
self.delegate.as
end
|
#cfg ⇒ Object
413
414
415
|
# File 'lib/construqt/flavour/delegates.rb', line 413
def cfg
self.delegate.cfg
end
|
#cfg=(a) ⇒ Object
409
410
411
|
# File 'lib/construqt/flavour/delegates.rb', line 409
def cfg=(a)
self.delegate.cfg = a
end
|
#host ⇒ Object
397
398
399
|
# File 'lib/construqt/flavour/delegates.rb', line 397
def host
self.delegate.host
end
|
#my ⇒ Object
393
394
395
|
# File 'lib/construqt/flavour/delegates.rb', line 393
def my
self.delegate.my
end
|
#once(host) ⇒ Object
385
386
387
|
# File 'lib/construqt/flavour/delegates.rb', line 385
def once(host)
self.delegate.once(host)
end
|
#other ⇒ Object
405
406
407
|
# File 'lib/construqt/flavour/delegates.rb', line 405
def other
self.delegate.other
end
|
#other=(a) ⇒ Object
401
402
403
|
# File 'lib/construqt/flavour/delegates.rb', line 401
def other=(a)
self.delegate.other = a
end
|