Use version ranges for mdsal features 37/82237/1
authorRobert Varga <robert.varga@pantheon.tech>
Fri, 24 May 2019 14:48:45 +0000 (16:48 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Fri, 24 May 2019 14:56:34 +0000 (16:56 +0200)
This eases up migration by allowing features to be resolved
by any subsequent version.

Change-Id: Ic64b9a86855bce3f81971a94902682b0aff32e8a
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
features/netconf-connector/odl-netconf-connector/src/main/feature/feature.xml [new file with mode: 0644]
features/netconf/odl-netconf-api/src/main/feature/feature.xml
features/restconf/odl-restconf-common/src/main/feature/feature.xml
features/restconf/odl-restconf-nb-bierman02/src/main/feature/feature.xml [new file with mode: 0644]

diff --git a/features/netconf-connector/odl-netconf-connector/src/main/feature/feature.xml b/features/netconf-connector/odl-netconf-connector/src/main/feature/feature.xml
new file mode 100644 (file)
index 0000000..316b72a
--- /dev/null
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ~ Copyright © 2019 PANTHEON.tech, s.r.o. and others.
+  ~
+  ~ This program and the accompanying materials are made available under the
+  ~ terms of the Eclipse Public License v1.0 which accompanies this distribution,
+  ~ and is available at http://www.eclipse.org/legal/epl-v10.html
+  -->
+<features xmlns="http://karaf.apache.org/xmlns/features/v1.4.0" name="odl-netconf-${project.version}">
+    <feature name="odl-netconf-connector" version="${project.version}">
+        <feature version="[2,3)">odl-mdsal-model-draft-clemm-netmod-yang-network-topo-01-minimal</feature>
+    </feature>
+</features>
index 323c3ac0145d768ff6db3a5b7a231b760459a06e..99e95f150caecbadefce5177915b697b4215aabc 100644 (file)
@@ -10,5 +10,6 @@
     <feature name="odl-netconf-api" version="${project.version}">
         <feature version="[5,6)">odl-netty-4</feature>
         <feature version="[3,4)">odl-yangtools-parser-api</feature>
+        <feature version="[2,3)">odl-mdsal-model-rfc7895</feature>
     </feature>
 </features>
index 79b29cb68985fd73adc7045aacd8661206fbaa2d..d2ac1d8e0f8985bdb0f6a28898c92ea1492903d1 100644 (file)
@@ -10,5 +10,6 @@
     <feature name="odl-restconf-common" version="${project.version}">
         <feature version="[5,6)">odl-karaf-feat-jetty</feature>
         <feature version="[3,4)">odl-yangtools-export</feature>
+        <feature version="[2,3)">odl-mdsal-model-rfc7895</feature>
     </feature>
 </features>
diff --git a/features/restconf/odl-restconf-nb-bierman02/src/main/feature/feature.xml b/features/restconf/odl-restconf-nb-bierman02/src/main/feature/feature.xml
new file mode 100644 (file)
index 0000000..e62eccf
--- /dev/null
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ~ Copyright © 2019 PANTHEON.tech, s.r.o. and others.
+  ~
+  ~ This program and the accompanying materials are made available under the
+  ~ terms of the Eclipse Public License v1.0 which accompanies this distribution,
+  ~ and is available at http://www.eclipse.org/legal/epl-v10.html
+  -->
+<features xmlns="http://karaf.apache.org/xmlns/features/v1.4.0" name="odl-netconf-${project.version}">
+    <feature name="odl-restconf-nb-bierman02" version="${project.version}">
+        <feature version="[2,3)">odl-mdsal-model-draft-bierman-netconf-restconf-02</feature>
+    </feature>
+</features>