diff options
author | Marek Gradzki <mgradzki@cisco.com> | 2018-07-02 13:09:26 +0200 |
---|---|---|
committer | Marek Gradzki <mgradzki@cisco.com> | 2018-07-02 13:12:12 +0200 |
commit | 99db0d333b6e7b101fb55c759f5a4ac028ee0d0b (patch) | |
tree | 95de1fa14a3ede56653ab429473d986c86236f00 /v3po/api/src | |
parent | c428881044008b3865c8e934dd53240b43c084f1 (diff) |
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 <mgradzki@cisco.com>
Diffstat (limited to 'v3po/api/src')
-rw-r--r-- | v3po/api/src/main/yang/v3po@2017-06-07.yang | 9 |
1 files changed, 7 insertions, 2 deletions
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; |