summaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2016-01-08 13:23:52 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-01-09 05:17:57 -0800
commit033c8bfdb8fca37b7dccc46aaa2dda02763d9f35 (patch)
treec2b79fd11f885e3782723048fd25a72b12bfa45f /tools
parent3bed393b014210f6764778138798c31725839079 (diff)
config: remove redundant definition in gobgp.yang
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'tools')
-rw-r--r--tools/pyang_plugins/bgpyang2golang.py2
-rw-r--r--tools/pyang_plugins/gobgp.yang17
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 {