Switch PCEP to no-zone ip addresses
[bgpcep.git] / pcep / segment-routing / src / main / yang / odl-pcep-segment-routing.yang
index 939603162de4e75c596a175529a40dc30d3204bd..4c26e6439cc712e422c4e7a32145b6744352e7a1 100644 (file)
@@ -104,7 +104,7 @@ module odl-pcep-segment-routing {
                 when "../sid-type = 'ipv4-node-id' or ../sid-type = 'ipv6-node-id'";
                 description "IP Node ID";
                 leaf ip-address {
-                    type inet:ip-address;
+                    type inet:ip-address-no-zone;
                     mandatory true;
                 }
             }
@@ -112,11 +112,11 @@ module odl-pcep-segment-routing {
                 when "../sid-type = 'ipv4-adjacency' or ../sid-type = 'ipv6-adjacency'";
                 description "IP Adjacency";
                 leaf local-ip-address {
-                    type inet:ip-address;
+                    type inet:ip-address-no-zone;
                     mandatory true;
                 }
                 leaf remote-ip-address {
-                    type inet:ip-address;
+                    type inet:ip-address-no-zone;
                     mandatory true;
                 }
             }