From eef1fc0a7529a2ee12c822af1b393906cd114ef9 Mon Sep 17 00:00:00 2001 From: FUJITA Tomonori Date: Fri, 26 Aug 2016 18:15:03 +0900 Subject: add RemoteRouterId to config.NeighborState Stop using config.NeighborState's Description in a hacky way for the remote Router Id. Signed-off-by: FUJITA Tomonori --- tools/pyang_plugins/gobgp.yang | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tools/pyang_plugins') diff --git a/tools/pyang_plugins/gobgp.yang b/tools/pyang_plugins/gobgp.yang index 873b8816..44a36299 100644 --- a/tools/pyang_plugins/gobgp.yang +++ b/tools/pyang_plugins/gobgp.yang @@ -667,6 +667,12 @@ module gobgp { } } + augment "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:state" { + leaf remote-router-id { + type string; + } + } + augment "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:transport/bgp:config" { leaf remote-port { type inet:port-number; -- cgit v1.2.3