diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-08-26 18:15:03 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-08-26 18:15:03 +0900 |
commit | eef1fc0a7529a2ee12c822af1b393906cd114ef9 (patch) | |
tree | d3ea1183f2f3d162b59b0c3197a8969dbcd6aaf6 /tools | |
parent | 982a5b448f5ba99033911cdcaeebeeb8c2ed81fa (diff) |
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 <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'tools')
-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 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; |