From 99db0d333b6e7b101fb55c759f5a4ac028ee0d0b Mon Sep 17 00:00:00 2001 From: Marek Gradzki Date: Mon, 2 Jul 2018 13:09:26 +0200 Subject: HC2VPP-346: use fib-table-list-ref for VXLAN configuration User is required to explicitly configure FIB tables using vpp-fib-management module. The change does not require modification of RESTCONF and NETCONF requests. Change-Id: Ie3cbff61281ba1a7a9e14c0a26cbd9ce6e44587f Signed-off-by: Marek Gradzki --- v3po/api/src/main/yang/v3po@2017-06-07.yang | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'v3po/api/src/main/yang') diff --git a/v3po/api/src/main/yang/v3po@2017-06-07.yang b/v3po/api/src/main/yang/v3po@2017-06-07.yang index 3d669e0a0..09ac9848d 100644 --- a/v3po/api/src/main/yang/v3po@2017-06-07.yang +++ b/v3po/api/src/main/yang/v3po@2017-06-07.yang @@ -18,6 +18,10 @@ module v3po { import yang-ext { prefix "ext"; } + import vpp-fib-table-management { + prefix fib-management; + revision-date 2018-05-21; + } organization "FD.io - The Fast Data Project"; @@ -132,7 +136,7 @@ module v3po { typedef vxlan-vni { // FIXME: should be in a vxlan-specific model - description "VNI used in a VXLAN tunnel"; + description "VXLAN Network Identifier"; type uint32 { range "0..16777215"; } @@ -451,7 +455,8 @@ module v3po { type vxlan-vni; } leaf encap-vrf-id { - type uint32; + /*mandatory true;*/ + type fib-management:fib-table-list-ref; } leaf decap-next { type vxlan-decap-node; -- cgit 1.2.3-korg