summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorHiroshi Yokoi <yokoi.hiroshi@po.ntts.co.jp>2015-08-11 17:00:19 +0900
committerHiroshi Yokoi <yokoi.hiroshi@po.ntts.co.jp>2015-08-11 17:00:19 +0900
commitb8ffff5ece063e1ddc694e25c577b8e7ec4fbb0f (patch)
tree6b70eb4503dd55fa982ac824c8aea6dcc83fad94
parent19dd57ff210cd166e02688aa9522a6ae68c30dc3 (diff)
config: cancel as-path-set-member
-rw-r--r--config/bgp_configs.go2
-rw-r--r--tools/pyang_plugins/bgpyang2golang.py3
2 files changed, 2 insertions, 3 deletions
diff --git a/config/bgp_configs.go b/config/bgp_configs.go
index 62809af1..f3f66a09 100644
--- a/config/bgp_configs.go
+++ b/config/bgp_configs.go
@@ -1464,8 +1464,6 @@ type AsPath struct {
type AsPathSet struct {
// original -> bgp-pol:as-path-set-name
AsPathSetName string
- // original -> bgp-pol:as-path-set-member
- AsPathSetMember []string
// original -> gobgp:as-path
AsPathList []AsPath
}
diff --git a/tools/pyang_plugins/bgpyang2golang.py b/tools/pyang_plugins/bgpyang2golang.py
index 8ba5ef41..00e68954 100644
--- a/tools/pyang_plugins/bgpyang2golang.py
+++ b/tools/pyang_plugins/bgpyang2golang.py
@@ -555,7 +555,8 @@ _path_exclude = ["/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:transport/bgp:config/b
"/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:transport/bgp:state/bgp:local-address",
"/rpol:routing-policy/rpol:defined-sets/rpol:neighbor-sets/rpol:neighbor-set/rpol:neighbor",
"/rpol:routing-policy/rpol:defined-sets/bgp-pol:bgp-defined-sets/bgp-pol:community-sets/bgp-pol:community-set/bgp-pol:community-member",
- "/rpol:routing-policy/rpol:defined-sets/bgp-pol:bgp-defined-sets/bgp-pol:ext-community-sets/bgp-pol:ext-community-set/bgp-pol:ext-community-member"]
+ "/rpol:routing-policy/rpol:defined-sets/bgp-pol:bgp-defined-sets/bgp-pol:ext-community-sets/bgp-pol:ext-community-set/bgp-pol:ext-community-member",
+ "/rpol:routing-policy/rpol:defined-sets/bgp-pol:bgp-defined-sets/bgp-pol:as-path-sets/bgp-pol:as-path-set/bgp-pol:as-path-set-member"]
_typedef_exclude =["/bgp-types:bgp-origin-attr-type"]