From b2ca825f6d55fb316a01909aedab44e865d6f53d Mon Sep 17 00:00:00 2001 From: Satoshi Fujimoto Date: Mon, 11 Dec 2017 16:19:50 +0900 Subject: 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 --- tools/pyang_plugins/gobgp.yang | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') 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; } } -- cgit v1.2.3