summaryrefslogtreecommitdiffhomepage
path: root/config
diff options
context:
space:
mode:
authorHiroshi Yokoi <yokoi.hiroshi@po.ntts.co.jp>2015-09-17 15:52:15 +0900
committerHiroshi Yokoi <yokoi.hiroshi@po.ntts.co.jp>2015-09-17 15:52:15 +0900
commit033c56a6110907759108951910ba0ab85a6ccd85 (patch)
tree617cbe9787011d074b29856dae6689518fd91e8e /config
parent176485133ae3fed30fd7203398df6a53c1101196 (diff)
config: add zebra configuration
Signed-off-by: Hiroshi Yokoi <yokoi.hiroshi@po.ntts.co.jp>
Diffstat (limited to 'config')
-rw-r--r--config/bgp_configs.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/config/bgp_configs.go b/config/bgp_configs.go
index 093be338..cd8df79d 100644
--- a/config/bgp_configs.go
+++ b/config/bgp_configs.go
@@ -791,6 +791,15 @@ type Neighbors struct {
NeighborList []Neighbor
}
+//struct for container gobgp:zebra
+type Zebra struct {
+ // original -> gobgp:enabled
+ //gobgp:enabled's original type is boolean
+ Enabled bool
+ // original -> gobgp:url
+ Url string
+}
+
//struct for container gobgp:mrt
type Mrt struct {
// original -> gobgp:file-name
@@ -1335,6 +1344,8 @@ type Global struct {
ApplyPolicy ApplyPolicy
// original -> gobgp:mrt
Mrt Mrt
+ // original -> gobgp:zebra
+ Zebra Zebra
}
//struct for container bgp:bgp