summaryrefslogtreecommitdiffstats
path: root/routing/routing-api/src/main/yang/vpp-routing@2018-03-19.yang
diff options
context:
space:
mode:
Diffstat (limited to 'routing/routing-api/src/main/yang/vpp-routing@2018-03-19.yang')
-rw-r--r--routing/routing-api/src/main/yang/vpp-routing@2018-03-19.yang12
1 files changed, 8 insertions, 4 deletions
diff --git a/routing/routing-api/src/main/yang/vpp-routing@2018-03-19.yang b/routing/routing-api/src/main/yang/vpp-routing@2018-03-19.yang
index aad069bdf..5bb939182 100644
--- a/routing/routing-api/src/main/yang/vpp-routing@2018-03-19.yang
+++ b/routing/routing-api/src/main/yang/vpp-routing@2018-03-19.yang
@@ -16,9 +16,9 @@ module vpp-routing {
revision-date 2018-03-13;
}
- import vpp-routing-types {
- prefix vpp-routing-types;
- revision-date 2018-04-06;
+ import vpp-fib-table-management {
+ prefix fib-management;
+ revision-date 2018-05-21;
}
organization
@@ -70,10 +70,14 @@ module vpp-routing {
grouping vpp-routing-protocol-attributes{
//vrf_id
leaf primary-vrf{
- type vpp-routing-types:vni-reference;
+ type fib-management:fib-table-list-ref;
mandatory true;
description "Main vrf associated to route";
}
+ leaf address-family {
+ type fib-management:address-family-type;
+ description "Address family reference for primary vrf.";
+ }
}
augment /ietf-r:routing/ietf-r:control-plane-protocols/ietf-r:control-plane-protocol{