summaryrefslogtreecommitdiffstats
path: root/v3po/api/src/main/yang
diff options
context:
space:
mode:
authorJan Srnicek <jsrnicek@cisco.com>2017-05-10 09:55:07 +0200
committerJan Srnicek <jsrnicek@cisco.com>2017-05-10 09:55:07 +0200
commitb663b44d862d366c722466ecfb7db1231ff01ccd (patch)
tree9990f894056099df4f59099dbca7ebf7950961b4 /v3po/api/src/main/yang
parent9244433a6cb743c29001faee608f85666537610b (diff)
HC2VPP-114 - Ipv4/6 routing support for sub interfaces
Provides option to set ipv4/6 vrf id for sub interface same way as for interface Change-Id: I3e14620d61e364e6741a1f1642570dd9ee317255 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
Diffstat (limited to 'v3po/api/src/main/yang')
-rw-r--r--v3po/api/src/main/yang/vpp-vlan.yang14
1 files changed, 14 insertions, 0 deletions
diff --git a/v3po/api/src/main/yang/vpp-vlan.yang b/v3po/api/src/main/yang/vpp-vlan.yang
index 52effc670..7f8139c4a 100644
--- a/v3po/api/src/main/yang/vpp-vlan.yang
+++ b/v3po/api/src/main/yang/vpp-vlan.yang
@@ -3,6 +3,11 @@ module vpp-vlan {
namespace "urn:opendaylight:params:xml:ns:yang:vpp:vlan";
prefix "vpp-vlan";
+ revision "2017-05-09" {
+ description "Revision changes:
+ - add support for ipv4/6 vrf id for sub interfaces";
+ }
+
revision "2017-03-15" {
description
"Revision changes:
@@ -384,6 +389,13 @@ module vpp-vlan {
}
}
+ grouping sub-interface-routing-attributes {
+ description "Provides basic attributes for ipv4/6 vrf configuration";
+ container routing {
+ uses v3po:routing-base-attributes;
+ }
+ }
+
augment /if:interfaces/if:interface {
ext:augment-identifier "subinterface-augmentation";
@@ -401,6 +413,7 @@ module vpp-vlan {
uses sub-interface-config-attributes;
uses sub-interface-ip4-attributes;
uses sub-interface-ip6-attributes;
+ uses sub-interface-routing-attributes;
}
}
}
@@ -421,6 +434,7 @@ module vpp-vlan {
uses sub-interface-operational-attributes;
uses sub-interface-ip4-attributes;
uses sub-interface-ip6-attributes;
+ uses sub-interface-routing-attributes;
}
}
}