The jetty.xml file in Oxygen has only one configured port and it is
8181. Nitrogen's jetty had two: 8181 and 8080. We were changing 8080,
however as that port does not exist in Oxygen' jetty.xml, ODL fails.
Change-Id: Icd0396f31749e78f85298beb5706fbe1975d99d5
Signed-off-by: Manuel Buil <mbuil@suse.com>
- name: Configure ODL NB REST port
lineinfile:
dest: /opt/opendaylight/etc/jetty.xml
- regexp: name="jetty.port" default="8080"
+ regexp: name="jetty.port" default="8181"
line: ' <Property name="jetty.port" default="{{ nb_rest_port }}" />'
owner: odl
group: odl
# Specifies the port for the ODL northbound REST interface to listen on.
# This was added because OpenStack's Swift project uses a conflicting port.
-nb_rest_port: 8080
+nb_rest_port: 8181
# Specifies the port for the ODL clustering which is being used by Akka
# remoting for east-west communication.