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, #firewalls, #ident, #ipsec, #mtu, #name, #priority, #simple_name, #tags, #tags=, #template, #vrrp, #vrrp=
Constructor Details
Returns a new instance of BgpDelegate.
394
395
396
|
# File 'lib/construqt/flavour/delegates.rb', line 394
def initialize(bgp)
self.delegate = bgp
end
|
Instance Method Details
#_ident ⇒ Object
430
431
432
|
# File 'lib/construqt/flavour/delegates.rb', line 430
def _ident
"Bgp_#{cfg.left.host.name}_#{cfg.left.my.name}_#{cfg.right.host.name}_#{cfg.right.my.name}"
end
|
#as ⇒ Object
402
403
404
|
# File 'lib/construqt/flavour/delegates.rb', line 402
def as
self.delegate.as
end
|
#cfg ⇒ Object
426
427
428
|
# File 'lib/construqt/flavour/delegates.rb', line 426
def cfg
self.delegate.cfg
end
|
#cfg=(a) ⇒ Object
422
423
424
|
# File 'lib/construqt/flavour/delegates.rb', line 422
def cfg=(a)
self.delegate.cfg = a
end
|
#host ⇒ Object
410
411
412
|
# File 'lib/construqt/flavour/delegates.rb', line 410
def host
self.delegate.host
end
|
#my ⇒ Object
406
407
408
|
# File 'lib/construqt/flavour/delegates.rb', line 406
def my
self.delegate.my
end
|
#once(host) ⇒ Object
398
399
400
|
# File 'lib/construqt/flavour/delegates.rb', line 398
def once(host)
self.delegate.once(host)
end
|
#other ⇒ Object
418
419
420
|
# File 'lib/construqt/flavour/delegates.rb', line 418
def other
self.delegate.other
end
|
#other=(a) ⇒ Object
414
415
416
|
# File 'lib/construqt/flavour/delegates.rb', line 414
def other=(a)
self.delegate.other = a
end
|