summaryrefslogtreecommitdiffstats
path: root/v3po/api/src/main/yang
diff options
context:
space:
mode:
Diffstat (limited to 'v3po/api/src/main/yang')
-rw-r--r--v3po/api/src/main/yang/v3po.yang16
1 files changed, 9 insertions, 7 deletions
diff --git a/v3po/api/src/main/yang/v3po.yang b/v3po/api/src/main/yang/v3po.yang
index e346ae144..ca335aa1c 100644
--- a/v3po/api/src/main/yang/v3po.yang
+++ b/v3po/api/src/main/yang/v3po.yang
@@ -191,15 +191,15 @@ module v3po {
when "../if:type = 'v3po:vxlan-tunnel'";
leaf src {
- /* mandatory true; */
- type inet:ipv4-address;
+ /*mandatory true;*/
+ type inet:ip-address;
}
leaf dst {
- /* mandatory true; */
- type inet:ipv4-address;
+ /*mandatory true;*/
+ type inet:ip-address;
}
leaf vni {
- /* mandatory true; */
+ /*mandatory true;*/
type vxlan-vni;
}
leaf encap-vrf-id {
@@ -338,11 +338,13 @@ module v3po {
when "../if:type = 'v3po:vxlan-tunnel'";
leaf src {
- type inet:ipv4-address;
+ type inet:ip-address;
}
leaf dst {
- type inet:ipv4-address;
+ type inet:ip-address;
}
+
+
leaf vni {
type uint32;
}