HONEYCOMB-417: bump ODL dependencies to Nitrogen SR1 70/9670/1
authorMarek Gradzki <mgradzki@cisco.com>
Thu, 30 Nov 2017 11:39:19 +0000 (12:39 +0100)
committerMarek Gradzki <mgradzki@cisco.com>
Thu, 30 Nov 2017 12:32:18 +0000 (13:32 +0100)
Change-Id: I6fe0d310a36dd8b0262c7db53f520616e65022e4
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
common/honeycomb-parent/pom.xml
common/scripts-parent/pom.xml
infra/bgp-distribution-test/src/test/resources/restconf.json
infra/minimal-distribution-test/src/test/resources/restconf.json
infra/northbound/restconf/src/main/java/io/fd/honeycomb/northbound/restconf/RestconfConfiguration.java
infra/northbound/restconf/src/main/java/io/fd/honeycomb/northbound/restconf/RestconfProvider.java
infra/northbound/restconf/src/main/resources/honeycomb-minimal-resources/config/restconf.json

index 7a84e75..661a2a9 100644 (file)
         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
 
         <!-- ODL dependencies -->
-        <odl.yangtools.version>1.2.0</odl.yangtools.version>
-        <odl.mdsal.version>2.3.0</odl.mdsal.version>
-        <odl.mdsal.controller.version>1.6.0</odl.mdsal.controller.version>
-        <odl.mdsalmodel.version>0.11.0</odl.mdsalmodel.version>
-        <odl.netconf.version>1.3.0</odl.netconf.version>
-        <odl.restconf.version>1.6.0</odl.restconf.version>
-        <odl.salGenerator.version>0.11.0</odl.salGenerator.version>
-        <odl.bgpcep.version>0.8.0</odl.bgpcep.version>
+        <odl.yangtools.version>1.2.1</odl.yangtools.version>
+        <odl.mdsal.version>2.3.1</odl.mdsal.version>
+        <odl.mdsal.controller.version>1.6.1</odl.mdsal.controller.version>
+        <odl.mdsalmodel.version>0.11.1</odl.mdsalmodel.version>
+        <odl.netconf.version>1.3.1</odl.netconf.version>
+        <odl.restconf.version>1.6.1</odl.restconf.version>
+        <odl.salGenerator.version>0.11.1</odl.salGenerator.version>
+        <odl.bgpcep.version>0.8.1</odl.bgpcep.version>
         <salGeneratorPath>target/generated-sources/mdsal-binding</salGeneratorPath>
 
         <!-- common dependencies -->
index 9e730e8..c9508ab 100644 (file)
@@ -32,7 +32,7 @@
         <groovy.version>2.4.7</groovy.version>
         <groovy.eclipse.compiler.version>2.9.2-01</groovy.eclipse.compiler.version>
         <groovy.eclipse.batch.version>2.4.3-01</groovy.eclipse.batch.version>
-        <odl.yang-binding.version>0.11.0</odl.yang-binding.version>
+        <odl.yang-binding.version>0.11.1</odl.yang-binding.version>
     </properties>
 
     <dependencyManagement>
index 525a39f..1b5b54f 100644 (file)
@@ -11,6 +11,7 @@
   "restconf-keystore-manager-password": "testing",
   "restconf-truststore": "/honeycomb-keystore",
   "restconf-truststore-password": "testing",
+  "restconf-websocket-address": "0.0.0.0",
   "restconf-websocket-port": 7780,
   "restconf-pool-max-size": 10,
   "restconf-pool-min-size": 1,
index 525a39f..1b5b54f 100644 (file)
@@ -11,6 +11,7 @@
   "restconf-keystore-manager-password": "testing",
   "restconf-truststore": "/honeycomb-keystore",
   "restconf-truststore-password": "testing",
+  "restconf-websocket-address": "0.0.0.0",
   "restconf-websocket-port": 7780,
   "restconf-pool-max-size": 10,
   "restconf-pool-min-size": 1,
index 78bc39d..21307a3 100644 (file)
@@ -55,6 +55,8 @@ public class RestconfConfiguration {
     public Optional<String> restconfTruststore;
     @InjectConfig("restconf-truststore-password")
     public Optional<String> truststorePassword;
+    @InjectConfig("restconf-websocket-address")
+    public Optional<String> restconfWebsocketAddress = Optional.of("0.0.0.0");
     @InjectConfig("restconf-websocket-port")
     public Optional<Integer> restconfWebsocketPort = Optional.of(7779);
     @InjectConfig("restconf-root-path")
@@ -98,6 +100,7 @@ public class RestconfConfiguration {
             ", keystoreManagerPassword=" + keystoreManagerPassword +
             ", restconfTruststore=" + restconfTruststore +
             ", truststorePassword=" + truststorePassword +
+            ", restconfWebsocketAddress=" + restconfWebsocketAddress +
             ", restconfWebsocketPort=" + restconfWebsocketPort +
             ", restconfRootPath=" + restconfRootPath +
             ", restPoolMaxSize=" + restPoolMaxSize +
index ff338f1..e924dd7 100644 (file)
@@ -28,6 +28,7 @@ import org.opendaylight.controller.md.sal.dom.broker.impl.DOMNotificationRouter;
 import org.opendaylight.controller.sal.core.api.model.SchemaService;
 import org.opendaylight.netconf.sal.rest.api.RestConnector;
 import org.opendaylight.netconf.sal.restconf.impl.RestconfProviderImpl;
+import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddressBuilder;
 import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber;
 
 final class RestconfProvider extends ProviderTrait<RestConnector> {
@@ -51,7 +52,9 @@ final class RestconfProvider extends ProviderTrait<RestConnector> {
     @Override
     protected RestconfProviderImpl create() {
         final RestconfProviderImpl instance = new RestconfProviderImpl(domDataBroker, schemaService, rpcService,
-            notificationService, mountPointService, new PortNumber(cfg.restconfWebsocketPort.get()));
+            notificationService, mountPointService,
+            IpAddressBuilder.getDefaultInstance(cfg.restconfWebsocketAddress.get()),
+            new PortNumber(cfg.restconfWebsocketPort.get()));
 
         // Required to properly initialize restconf (broker, schema ctx, etc.).
         // Without that restconf would fail with 503 (service not available).
index d04e4ed..ec4061c 100644 (file)
@@ -11,6 +11,7 @@
   "restconf-keystore-manager-password": "OBF:1v9s1unr1unn1vv51zlk1t331vg91x1b1vgl1t331zly1vu51uob1uo71v8u",
   "restconf-truststore": "/honeycomb-keystore",
   "restconf-truststore-password": "OBF:1v9s1unr1unn1vv51zlk1t331vg91x1b1vgl1t331zly1vu51uob1uo71v8u",
+  "restconf-websocket-address": "0.0.0.0",
   "restconf-websocket-port": 7779,
   "restconf-pool-max-size": 10,
   "restconf-pool-min-size": 1,