diff options
Diffstat (limited to 'tools')
-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; |