Class: Construqt::Bgps::Bgp

Inherits:
OpenStruct
  • Object
show all
Defined in:
lib/construqt/bgps.rb

Instance Method Summary collapse

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_configObject



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

#identObject



13
14
15
# File 'lib/construqt/bgps.rb', line 13

def ident
  self.left.ident
end