summaryrefslogtreecommitdiffstats
path: root/v3po/api
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2018-01-02 14:04:33 +0100
committerMarek Gradzki <mgradzki@cisco.com>2018-01-02 15:08:19 +0100
commit730a7ee0267663fdc525ad7b0c50318ef73e520f (patch)
tree8cf6c31d2fa26acd44dc04e72d0ed23c54597b6c /v3po/api
parenta340bbc450cfe904f9e3ba8332ad738855cc1143 (diff)
HC2VPP-157: use interface-ref instead of string name
Change-Id: Iaf1287c6643c783ff2d31d9ef87e90aa85ea53f1 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'v3po/api')
-rw-r--r--v3po/api/src/main/yang/unnumbered-interfaces@2018-01-03.yang (renamed from v3po/api/src/main/yang/unnumbered-interfaces@2017-05-10.yang)7
1 files changed, 6 insertions, 1 deletions
diff --git a/v3po/api/src/main/yang/unnumbered-interfaces@2017-05-10.yang b/v3po/api/src/main/yang/unnumbered-interfaces@2018-01-03.yang
index 18ef2b681..391e05363 100644
--- a/v3po/api/src/main/yang/unnumbered-interfaces@2017-05-10.yang
+++ b/v3po/api/src/main/yang/unnumbered-interfaces@2018-01-03.yang
@@ -3,6 +3,11 @@ module unnumbered-interfaces {
namespace "urn:opendaylight:params:xml:ns:yang:unnumbered:interfaces";
prefix "uni";
+ revision "2018-01-03" {
+ description
+ "Use if:interface-ref for name of the interface which provides IP.";
+ }
+
revision "2017-05-10" {
description
"Initialial revision";
@@ -24,7 +29,7 @@ module unnumbered-interfaces {
container unnumbered {
presence "Sets interface as unnumbered";
leaf use {
- type string;
+ type if:interface-ref;
mandatory true;
description
"Name of interface or subinterface which IP is to be borrowed.";