diff options
author | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2016-01-08 13:43:05 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-01-09 05:17:57 -0800 |
commit | 75d4e2a9abc2bff53b6b5b6cb5397a0491603c31 (patch) | |
tree | 4899d9be15c601633f3901653fabe9eeeaff0e18 /tools/pyang_plugins | |
parent | 834476474672f44d2e2d9fd7a1b913f0981116c3 (diff) |
config: remove unnecessary augment
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'tools/pyang_plugins')
-rw-r--r-- | tools/pyang_plugins/bgpyang2golang.py | 4 | ||||
-rw-r--r-- | tools/pyang_plugins/gobgp.yang | 14 |
2 files changed, 1 insertions, 17 deletions
diff --git a/tools/pyang_plugins/bgpyang2golang.py b/tools/pyang_plugins/bgpyang2golang.py index bbb8519e..599f41a3 100644 --- a/tools/pyang_plugins/bgpyang2golang.py +++ b/tools/pyang_plugins/bgpyang2golang.py @@ -561,9 +561,7 @@ _module_excluded = ["ietf-inet-types", "ietf-yang-types", ] -_path_exclude = ["/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:transport/bgp:config/bgp:local-address", - "/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", +_path_exclude = ["/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:as-path-sets/bgp-pol:as-path-set/bgp-pol:as-path-set-member"] diff --git a/tools/pyang_plugins/gobgp.yang b/tools/pyang_plugins/gobgp.yang index 4528d3ad..ff1099d5 100644 --- a/tools/pyang_plugins/gobgp.yang +++ b/tools/pyang_plugins/gobgp.yang @@ -513,20 +513,6 @@ module gobgp { uses gobgp-route-server-config-set; } - augment "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:transport/bgp:config" { - description "neighbor's local ip address, whose type is inet:ip-address"; - leaf local-address { - type inet:ip-address; - } - } - - augment "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:transport/bgp:state" { - description "neighbor's local ip address, whose type is inet:ip-address"; - leaf local-address { - type inet:ip-address; - } - } - augment "/bgp:bgp/bgp:global/bgp:apply-policy/bgp:config" { description "addtional policy"; uses gobgp-in-policy; |