Fix typo in README for nb_rest_port 08/58508/1
authorJuan Vidal <juan.vidal.allende@ericsson.com>
Thu, 8 Jun 2017 12:36:59 +0000 (14:36 +0200)
committerJuan Vidal <juan.vidal.allende@ericsson.com>
Thu, 8 Jun 2017 12:43:17 +0000 (14:43 +0200)
README document states that "odl_rest_port" can be configured to change
the port where ODL listens, but internally "nb_rest_port" is the
variable name used.

Also added an example using it.

Change-Id: Ic5aa035a063adc25e48bd9fc365cdb8ba54bb367
Signed-off-by: Juan Vidal <juan.vidal.allende@ericsson.com>
README.markdown
examples/nb_rest_port_playbook.yml [new file with mode: 0644]

index 692ad3d62928d33d8c38443c2342574a7b40ee96..097f351b86f5e00dc181e998f8f256ef2450da08 100644 (file)
@@ -51,7 +51,7 @@ shouldn't normally need to do so.
 ### REST API Port
 
 To change the port on which OpenDaylight's northbound listens for REST API
-calls, use the `odl_rest_port` variable. This was added because OpenStack's
+calls, use the `nb_rest_port` variable. This was added because OpenStack's
 Swift project uses a conflicting port.
 
 The Ansible role will handle opening this port in FirewallD if it's active.
diff --git a/examples/nb_rest_port_playbook.yml b/examples/nb_rest_port_playbook.yml
new file mode 100644 (file)
index 0000000..bcfee3a
--- /dev/null
@@ -0,0 +1,8 @@
+---
+- hosts: all
+  become: yes
+  roles:
+    - role: opendaylight
+      # Install ODL using default install method, but modifying
+      # the port where northbound interface is listening
+      nb_rest_port: 12345