Use ranges for controller features 01/89701/1
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 12 May 2020 12:36:25 +0000 (14:36 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 12 May 2020 12:40:05 +0000 (14:40 +0200)
We really want to allow smooth upgrades wherever possible, hence
we should specify ranges for controller's features.

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

diff --git a/features/netconf-connector/odl-message-bus/src/main/feature/feature.xml b/features/netconf-connector/odl-message-bus/src/main/feature/feature.xml
new file mode 100644 (file)
index 0000000..1893692
--- /dev/null
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ~ Copyright © 2020 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-message-bus-${project.version}">
+    <feature name="odl-message-bus" version="${project.version}">
+        <feature version="[2,3)">odl-controller-exp-messagebus</feature>
+    </feature>
+</features>
index 236a8ebcba0767ec092a8b675c9a39a8f66ab024..12269e342f628c3fe5519abb7c7fdcf5dbbb37c1 100644 (file)
@@ -9,5 +9,6 @@
 <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="[6,7)">odl-mdsal-model-draft-clemm-netmod-yang-network-topo-01-minimal</feature>
+        <feature version="[2,3)">odl-mdsal-broker</feature>
     </feature>
 </features>
diff --git a/features/netconf/odl-netconf-client/src/main/feature/feature.xml b/features/netconf/odl-netconf-client/src/main/feature/feature.xml
new file mode 100644 (file)
index 0000000..3a07740
--- /dev/null
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ~ Copyright © 2020 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-client-${project.version}">
+    <feature name="odl-netconf-client" version="${project.version}">
+        <feature version="[2,3)">odl-controller-exp-netty-config</feature>
+    </feature>
+</features>
index 1418851883f636f10898e0ddde39d335dc786f1d..29b5e135428a205e50d912d823417db8ba3f6780 100644 (file)
@@ -11,5 +11,6 @@
         <feature version="[7,8)">odl-karaf-feat-jetty</feature>
         <feature version="[5,6)">odl-yangtools-export</feature>
         <feature version="[6,7)">odl-mdsal-model-rfc7895</feature>
+        <feature version="[2,3)">odl-mdsal-broker</feature>
     </feature>
 </features>
diff --git a/features/restconf/odl-restconf-nb-rfc8040/src/main/feature/feature.xml b/features/restconf/odl-restconf-nb-rfc8040/src/main/feature/feature.xml
new file mode 100644 (file)
index 0000000..631ab5c
--- /dev/null
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ~ Copyright © 2020 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-restconf-nb-rfc8040-${project.version}">
+    <feature name="odl-restconf-nb-rfc8040" version="${project.version}">
+        <feature version="[2,3)">odl-controller-exp-netty-config</feature>
+    </feature>
+</features>