summaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorSatoshi Fujimoto <satoshi.fujimoto7@gmail.com>2017-12-11 16:19:50 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2017-12-16 20:27:06 +0900
commitb2ca825f6d55fb316a01909aedab44e865d6f53d (patch)
tree516e66df230ba6aca3a6d4745b7add2c6ea79fc0 /tools
parent694d364d09ae9d272a7cacefc23b7fcefcf05617 (diff)
table/policy: Support prefix representation in NeighborSet
Currently, "neighbor-set" supports only IP address representation and IP prefix representation(such as "192.168.0.0/24") is not supported. This commit enables to accept the prefix representation for "neighbor-set" to allow neighbors to be specified as range. Signed-off-by: Satoshi Fujimoto <satoshi.fujimoto7@gmail.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/pyang_plugins/gobgp.yang2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/pyang_plugins/gobgp.yang b/tools/pyang_plugins/gobgp.yang
index a1c151b0..c6cc3bdd 100644
--- a/tools/pyang_plugins/gobgp.yang
+++ b/tools/pyang_plugins/gobgp.yang
@@ -912,7 +912,7 @@ module gobgp {
leaf-list neighbor-info {
description
- "neighbor ip address";
+ "neighbor ip address or prefix";
type inet:ip-address;
}
}