From 8dbf98f824cf16230850fcc099b083df34c55695 Mon Sep 17 00:00:00 2001 From: Ning Zhang Date: Wed, 4 Sep 2019 10:35:27 +0800 Subject: [PATCH] OpenDaylight used 8181 to listen for REST calls Issue Description: ================= OpenDaylight used port 8181 to listen for Rest calls instead of 8080. Solution: ========= Replace port 8080 with port 8181 to listen for Rest calls; Signed-off-by: Ning Zhang Change-Id: If75080d71f5c188ecb079f6d08c3218980021c8e --- docs/openstack-guide/openstack-with-netvirt.rst | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/docs/openstack-guide/openstack-with-netvirt.rst b/docs/openstack-guide/openstack-with-netvirt.rst index 1e6d178b57..69173ab668 100644 --- a/docs/openstack-guide/openstack-with-netvirt.rst +++ b/docs/openstack-guide/openstack-with-netvirt.rst @@ -193,7 +193,7 @@ Open vSwitch config and set OpenDaylight to manage the switch: Manager "tcp:172.16.21.56:6640" is_connected: true Bridge br-int - Controller "tcp:172.16.21.56:6633" + Controller "tcp:172.16.21.56:6653" is_connected: true fail_mode: secure Port br-int @@ -232,19 +232,14 @@ now ensure that OpenStack Neutron is using OpenDaylight. This requires the neutron networking-odl module to be installed. | ``pip install networking-odl`` -First, ensure that port 8080 (which will be used by OpenDaylight to listen -for REST calls) is available. By default, swift-proxy-service listens on the -same port, and you may need to move it (to another port or another host), or -disable that service. It can be moved to a different port (e.g. 8081) by editing -``/etc/swift/proxy-server.conf`` and ``/etc/cinder/cinder.conf``, -modifying iptables appropriately, and restarting swift-proxy-service. -Alternatively, OpenDaylight can be configured to listen on a different port, +First, ensure that port 8181 (which will be used by OpenDaylight to listen +for REST calls) is available. OpenDaylight can be configured to listen on a different port, by modifying the ``jetty.port`` property value in ``etc/jetty.conf``. .. code-block:: bash - + * Configure Neutron to use OpenDaylight's ML2 driver: @@ -256,7 +251,7 @@ by modifying the ``jetty.port`` property value in ``etc/jetty.conf``. cat <> /etc/neutron/plugins/ml2/ml2_conf.ini [ml2_odl] - url = http://{CONTROL_HOST}:8080/controller/nb/v2/neutron + url = http://{CONTROL_HOST}:8181/controller/nb/v2/neutron password = admin username = admin EOT @@ -301,7 +296,7 @@ Verifying it works .. code-block:: bash - curl -u admin:admin http://{CONTROL_HOST}:8080/controller/nb/v2/neutron/networks + curl -u admin:admin http://{CONTROL_HOST}:8181/controller/nb/v2/neutron/networks { "networks" : [ ] -- 2.36.6