Class: Construqt::Bgps::Bgp
- Inherits:
-
OpenStruct
- Object
- OpenStruct
- Construqt::Bgps::Bgp
- Defined in:
- lib/construqt/bgps.rb
Instance Method Summary collapse
- #build_config ⇒ Object
- #ident ⇒ Object
-
#initialize(cfg) ⇒ Bgp
constructor
A new instance of Bgp.
Constructor Details
#initialize(cfg) ⇒ Bgp
Returns a new instance of Bgp.
4 5 6 |
# File 'lib/construqt/bgps.rb', line 4 def initialize(cfg) super(cfg) end |
Instance Method Details
#build_config ⇒ Object
8 9 10 11 |
# File 'lib/construqt/bgps.rb', line 8 def build_config() self.left.build_config(nil, nil) self.right.build_config(nil, nil) end |
#ident ⇒ Object
13 14 15 |
# File 'lib/construqt/bgps.rb', line 13 def ident self.left.ident end |