From 2a0168f8674483b232962cfca7dda34d6ddacc52 Mon Sep 17 00:00:00 2001 From: ISHIDA Wataru Date: Fri, 18 Mar 2016 14:42:59 +0900 Subject: *: 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 --- tools/pyang_plugins/gobgp.yang | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tools') 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"; -- cgit v1.2.3