diff options
author | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2015-09-24 11:07:13 +0900 |
---|---|---|
committer | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2015-09-25 18:20:45 +0900 |
commit | 72113e364524297ab1caf62c8c62f0a4ff228849 (patch) | |
tree | d28a674edfa327b9be31cf1a0ab6571ed3cd0b72 /tools/pyang_plugins/gobgp.yang | |
parent | fbed186687489efd7295a44d991590c1ffe27853 (diff) |
config: add zebra redistribution configuration
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'tools/pyang_plugins/gobgp.yang')
-rw-r--r-- | tools/pyang_plugins/gobgp.yang | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/pyang_plugins/gobgp.yang b/tools/pyang_plugins/gobgp.yang index c1107ea6..7168e669 100644 --- a/tools/pyang_plugins/gobgp.yang +++ b/tools/pyang_plugins/gobgp.yang @@ -10,6 +10,7 @@ module bgp-gobgp { // import some basic types import bgp { prefix bgp; } import routing-policy {prefix rpol; } + import policy-types {prefix ptypes; } import bgp-policy {prefix bgp-pol; } import ietf-inet-types { prefix inet; } @@ -639,6 +640,11 @@ module bgp-gobgp { description "Configure url for zebra."; } + list redistribute-route-type { + leaf route-type { + type ptypes:install-protocol-type; + } + } } } |