diff options
Diffstat (limited to 'tools/pyang_plugins')
-rw-r--r-- | tools/pyang_plugins/bgpyang2golang.py | 2 | ||||
-rw-r--r-- | tools/pyang_plugins/gobgp.yang | 17 |
2 files changed, 1 insertions, 18 deletions
diff --git a/tools/pyang_plugins/bgpyang2golang.py b/tools/pyang_plugins/bgpyang2golang.py index 5cb09e6a..b409a562 100644 --- a/tools/pyang_plugins/bgpyang2golang.py +++ b/tools/pyang_plugins/bgpyang2golang.py @@ -570,7 +570,7 @@ _path_exclude = ["/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:transport/bgp:config/b "/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"] +_typedef_exclude =[] def generate_header(ctx): print _COPYRIGHT_NOTICE diff --git a/tools/pyang_plugins/gobgp.yang b/tools/pyang_plugins/gobgp.yang index 701e408a..4528d3ad 100644 --- a/tools/pyang_plugins/gobgp.yang +++ b/tools/pyang_plugins/gobgp.yang @@ -32,23 +32,6 @@ module gobgp { reference "TBD"; } - typedef bgp-origin-attr-type { - type enumeration { - enum IGP { - value 0; - description "Origin of the NLRI is internal"; - } - enum EGP { - value 1; - description "Origin of the NLRI is EGP"; - } - enum INCOMPLETE { - value 2; - description "Origin of the NLRI is neither IGP or EGP"; - } - } - } - typedef bmp-route-monitoring-policy-type { type enumeration { enum PRE-POLICY { |