summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMickey Spiegel <mickeys.dev@gmail.com>2017-03-27 18:34:03 -0700
committerGurucharan Shetty <guru@ovn.org>2017-03-29 07:39:33 -0700
commitd223b67bf2954bc915c29d881f292fca88d3743b (patch)
treede4aac5db39a34b6ea93e4cbafdb0e41c4dab967 /tests
parent81f97b1ea56e5ed0230712f959ccc5237954ccbb (diff)
downloadopenvswitch-d223b67bf2954bc915c29d881f292fca88d3743b.tar.gz
ovn: Fix options:router-port in Gratuitous ARP tests
In two of the Gratuitous ARP tests, "options:router-port" is not set correctly. This does not currently affect validity of the tests since the next line resets "options:router-port" to the correct value. Reported-by: Guruchuran Shetty <guru@ovn.org> Signed-off-by: Mickey Spiegel <mickeys.dev@gmail.com> Signed-off-by: Gurucharan Shetty <guru@ovn.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/ovn.at4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ovn.at b/tests/ovn.at
index bbbec909f..8b7ba12f1 100644
--- a/tests/ovn.at
+++ b/tests/ovn.at
@@ -5266,7 +5266,7 @@ ovn-nbctl create Logical_Router name=lr0 options:chassis=hv1
# Add router port to gateway router
ovn-nbctl lrp-add lr0 lrp0 f0:00:00:00:00:01 192.168.0.1/24
ovn-nbctl lsp-add ls0 lrp0-rp -- set Logical_Switch_Port lrp0-rp \
- type=router options:router-port=lrp0-rp addresses='"f0:00:00:00:00:01"'
+ type=router options:router-port=lrp0 addresses='"f0:00:00:00:00:01"'
# Add nat-address option
ovn-nbctl lsp-set-options lrp0-rp router-port=lrp0 nat-addresses="f0:00:00:00:00:01 192.168.0.2"
@@ -5314,7 +5314,7 @@ ovn-nbctl create Logical_Router name=lr0 options:chassis=hv1
# Add router port to gateway router
ovn-nbctl lrp-add lr0 lrp0 f0:00:00:00:00:01 192.168.0.1/24
ovn-nbctl lsp-add ls0 lrp0-rp -- set Logical_Switch_Port lrp0-rp \
- type=router options:router-port=lrp0-rp addresses='"f0:00:00:00:00:01"'
+ type=router options:router-port=lrp0 addresses='"f0:00:00:00:00:01"'
# Add nat-address option
ovn-nbctl lsp-set-options lrp0-rp router-port=lrp0 nat-addresses="router"
# Add NAT rules