summaryrefslogtreecommitdiffhomepage
path: root/tools/pyang_plugins
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-03-02 14:22:34 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-03-03 12:14:15 +0900
commitd8de748a2fe5855e10b6d4fae23f47a267347a50 (patch)
tree452ecba7a0cdfd81380fb3ae605c677d26461777 /tools/pyang_plugins
parent39473d297fbbd7963054e5525f78b5abce63b088 (diff)
tools: update pyang plugin for the change of the yang file's name
Diffstat (limited to 'tools/pyang_plugins')
-rw-r--r--tools/pyang_plugins/bgpyang2golang.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/pyang_plugins/bgpyang2golang.py b/tools/pyang_plugins/bgpyang2golang.py
index e71e3f88..99c3a13b 100644
--- a/tools/pyang_plugins/bgpyang2golang.py
+++ b/tools/pyang_plugins/bgpyang2golang.py
@@ -69,13 +69,13 @@ def emit_golang(ctx, module, fd):
# visit typedef
visit_typedef(ctx, module)
- visit_typedef(ctx, ctx.get_module('bgp-policy'))
- #visit_typedef(ctx, ctx.get_module('routing-policy'))
+ #visit_typedef(ctx, ctx.get_module('bgp-policy'))
+ visit_typedef(ctx, ctx.get_module('routing-policy'))
visit_typedef(ctx, ctx.get_module('bgp-multiprotocol'))
visit_typedef(ctx, ctx.get_module('bgp-operational'))
# visit identity
- visit_identity(ctx, ctx.get_module('bgp-policy'))
- #visit_identity(ctx, ctx.get_module('routing-policy'))
+ #visit_identity(ctx, ctx.get_module('bgp-policy'))
+ visit_identity(ctx, ctx.get_module('routing-policy'))
visit_identity(ctx, ctx.get_module('bgp-multiprotocol'))
visit_identity(ctx, ctx.get_module('bgp-operational'))
@@ -87,8 +87,8 @@ def emit_golang(ctx, module, fd):
generate_header(ctx)
emit_typedef(ctx, module)
- emit_typedef(ctx, ctx.get_module('bgp-policy'))
- # emit_typedef(ctx, ctx.get_module('routing-policy'))
+ #emit_typedef(ctx, ctx.get_module('bgp-policy'))
+ emit_typedef(ctx, ctx.get_module('routing-policy'))
emit_typedef(ctx, ctx.get_module('bgp-multiprotocol'))
emit_typedef(ctx, ctx.get_module('bgp-operational'))