summaryrefslogtreecommitdiffstats
path: root/v3po/api/src
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2018-07-03 12:44:55 +0200
committerMarek Gradzki <mgradzki@cisco.com>2018-07-04 10:57:08 +0000
commitb6ead1d5525b5b1500729959acbce905bbcbf04a (patch)
treec951b431c5d2ddaf4f6965e54560645b3dd6d63d /v3po/api/src
parent0461747b7d4e2c395a04501cddfa492c4f75ef7c (diff)
HC2VPP-275: use ip-address-no-zone in v3po YANG model
The inet:ip-address type was used in HC models due to ODL bug: https://bugs.opendaylight.org/show_bug.cgi?id=6413 which was fixed long time ago... Change-Id: Icaa8ac1269c730243afba53bc663f39f7c90f36c Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'v3po/api/src')
-rw-r--r--v3po/api/src/main/yang/v3po@2018-07-03.yang22
1 files changed, 11 insertions, 11 deletions
diff --git a/v3po/api/src/main/yang/v3po@2018-07-03.yang b/v3po/api/src/main/yang/v3po@2018-07-03.yang
index 38b6c9656..bee9384cd 100644
--- a/v3po/api/src/main/yang/v3po@2018-07-03.yang
+++ b/v3po/api/src/main/yang/v3po@2018-07-03.yang
@@ -51,9 +51,10 @@ module v3po {
revision "2018-07-03" {
description
"Revision changes:
- - support for af-packet interface
- - uses references to fib-management module insted of uint32 identifiers
- - various fixes";
+ - adds support for af-packet interface
+ - uses references to fib-management module instead of uint32 identifiers
+ - changes type of IP addresses from inet:ip-address to inet:ip-address-no-zone
+ - fixes some minor issues";
}
revision "2017-06-07" {
@@ -253,8 +254,7 @@ module v3po {
list arp-termination-table-entry {
key "ip-address phys-address";
leaf ip-address {
- // FIXME: change to ip-address-no-zone after https://bugs.opendaylight.org/show_bug.cgi?id=6413 is resolved
- type inet:ip-address;
+ type inet:ip-address-no-zone;
}
leaf phys-address {
type yang:phys-address;
@@ -452,11 +452,11 @@ module v3po {
// FIXME: this should be in an vxlan-specific extension
leaf src {
/*mandatory true;*/
- type inet:ip-address;
+ type inet:ip-address-no-zone;
}
leaf dst {
/*mandatory true;*/
- type inet:ip-address;
+ type inet:ip-address-no-zone;
}
leaf vni {
/*mandatory true;*/
@@ -475,11 +475,11 @@ module v3po {
grouping gre-base-attributes {
leaf src {
/*mandatory true;*/
- type inet:ip-address;
+ type inet:ip-address-no-zone;
}
leaf dst {
/*mandatory true;*/
- type inet:ip-address;
+ type inet:ip-address-no-zone;
}
leaf outer-fib-id {
type uint32;
@@ -489,11 +489,11 @@ module v3po {
grouping vxlan-gpe-base-attributes {
leaf local {
/*mandatory true;*/
- type inet:ip-address;
+ type inet:ip-address-no-zone;
}
leaf remote {
/*mandatory true;*/
- type inet:ip-address;
+ type inet:ip-address-no-zone;
}
leaf vni {
/*mandatory true;*/