diff options
author | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2015-09-24 11:07:13 +0900 |
---|---|---|
committer | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2015-09-25 18:20:45 +0900 |
commit | 72113e364524297ab1caf62c8c62f0a4ff228849 (patch) | |
tree | d28a674edfa327b9be31cf1a0ab6571ed3cd0b72 /config/bgp_configs.go | |
parent | fbed186687489efd7295a44d991590c1ffe27853 (diff) |
config: add zebra redistribution configuration
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'config/bgp_configs.go')
-rw-r--r-- | config/bgp_configs.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/config/bgp_configs.go b/config/bgp_configs.go index ae19a162..8cf443e8 100644 --- a/config/bgp_configs.go +++ b/config/bgp_configs.go @@ -799,6 +799,13 @@ type MplsLabelRange struct { MaxLabel uint32 } +//struct for container gobgp:redistribute-route-type +type RedistributeRouteType struct { + // original -> gobgp:route-type + //gobgp:route-type's original type is ptypes:install-protocol-type + RouteType string +} + //struct for container gobgp:zebra type Zebra struct { // original -> gobgp:enabled @@ -806,6 +813,8 @@ type Zebra struct { Enabled bool // original -> gobgp:url Url string + // original -> gobgp:redistribute-route-type + RedistributeRouteTypeList []RedistributeRouteType } //struct for container gobgp:mrt |