diff options
author | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2016-03-18 14:42:59 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-03-20 01:00:51 +0900 |
commit | 2a0168f8674483b232962cfca7dda34d6ddacc52 (patch) | |
tree | 8d97c78a473beee6f8bf7cae11d5e92534716bc4 /tools/pyang_plugins | |
parent | 731f4fa3ea2ea58b1dccdb62eb14a407594c81d8 (diff) |
*: support Opaque Signaling
see https://tools.ietf.org/html/draft-lapukhov-bgp-opaque-signaling-01
using 16397 for AFI, 241 for SAFI, 41 for Opaque Path Attribute
temporarily.
$ gobgp global rib add -a opaque key hello value world
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'tools/pyang_plugins')
-rw-r--r-- | tools/pyang_plugins/gobgp.yang | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/pyang_plugins/gobgp.yang b/tools/pyang_plugins/gobgp.yang index e7dc1dcd..a15fe80d 100644 --- a/tools/pyang_plugins/gobgp.yang +++ b/tools/pyang_plugins/gobgp.yang @@ -119,6 +119,13 @@ module gobgp { reference "RFC5575"; } + identity OPAQUE { + base bgp-types:afi-safi-type; + description + "Opaque (AFI,SAFI = 16397,241)"; + reference "https://tools.ietf.org/html/draft-lapukhov-bgp-opaque-signaling-01"; + } + grouping gobgp-message-counter { description "Counters for all BGPMessage types"; |