oftest: Update default controller port number to match recent OFTest.
authorBen Pfaff <blp@nicira.com>
Wed, 16 Oct 2013 16:28:47 +0000 (09:28 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 16 Oct 2013 21:00:32 +0000 (14:00 -0700)
Also, document how to work around it if you use an older OFTest.

Reported-by: Simon Horman <horms@verge.net.au>
Reported-by: Lori Jakab <lojakab@cisco.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
README-OFTest
tests/run-oftest

index 1b8516b..cdca06d 100644 (file)
@@ -50,6 +50,13 @@ default) and enable verbose logging:
 
     make check-oftest OFT=<oft-binary> OFTFLAGS='--verbose -T basic.Echo'
 
+If you use OFTest that does not include commit 4d1f3eb2c792 (oft:
+change default port to 6653), merged into the OFTest repository in
+October 2013, then you need to add an option to use the IETF-assigned
+controller port:
+
+    make check-oftest OFT=<oft-binary> OFTFLAGS='--port=6653'
+
 Interpreting OFTest Results
 ---------------------------
 
index d12a22f..c73c25c 100755 (executable)
@@ -74,7 +74,7 @@ for port in p1 p2 p3 p4; do
                                options:pstream=punix:$OVS_RUNDIR/$port
 done
 run ovs-vsctl \
-    -- set-controller br0 tcp:127.0.0.1 \
+    -- set-controller br0 tcp:127.0.0.1:6653 \
     -- set controller br0 connection-mode=out-of-band max-backoff=1000
 
 # Run OFTest.