diff options
author | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2016-01-23 17:18:56 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-01-25 04:57:11 -0800 |
commit | d94f5d2c03b8eb265cfa1af5dce43da7194538b8 (patch) | |
tree | 94872abec34c97a19c9abe457b10217d8c44964a /config/default.go | |
parent | 3817b82f9d57ce02adb025f5acff6f06b54c6641 (diff) |
config: add openconfig identity structs in bgp_configs.go
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'config/default.go')
-rw-r--r-- | config/default.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/default.go b/config/default.go index c0764c44..787a160b 100644 --- a/config/default.go +++ b/config/default.go @@ -19,6 +19,7 @@ func SetDefaultConfigValues(v *viper.Viper, b *Bgp) error { if v == nil { v = viper.New() } + if !v.IsSet("global.afi-safis") { b.Global.AfiSafis = []AfiSafi{ AfiSafi{AfiSafiName: "ipv4-unicast"}, |