summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJustin Pettit <jpettit@ovn.org>2016-05-17 06:02:53 -0700
committerJustin Pettit <jpettit@ovn.org>2016-07-12 21:14:03 -0700
commit6d9ecfa9f5d07876de41e6b1c6522a0d951ccdd3 (patch)
tree9e9f99db284cfe3178fffb69dedc77df14daff2c /tests
parent394e883dfac2a2e7c232345ffcd1ad5de4a0686a (diff)
downloadopenvswitch-6d9ecfa9f5d07876de41e6b1c6522a0d951ccdd3.tar.gz
ovn: Remove 'default_gw' from logical router table.
With static routes, it's not necessary to have a separate default gateway parameter. This also makes configuring router ports clearer when IPv6 and IPv4 addresses may be assigned to the same port. Signed-off-by: Justin Pettit <jpettit@ovn.org> Acked-by: Ben Pfaff <blp@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 63d68e9f2..fdac600e0 100644
--- a/tests/ovn.at
+++ b/tests/ovn.at
@@ -2320,8 +2320,8 @@ ovn-nbctl lsp-add ls2 rp-ls2 -- set Logical_Switch_Port rp-ls2 type=router \
ovn-nbctl lrp-add R1 R1_R2 00:00:00:02:03:04 20.0.0.1/24 R2_R1
ovn-nbctl lrp-add R2 R2_R1 00:00:00:02:03:05 20.0.0.2/24 R1_R2
-ovn-nbctl set Logical_Router R1 default_gw="20.0.0.2"
-ovn-nbctl set Logical_Router R2 default_gw="20.0.0.1"
+ovn-nbctl lr-route-add R1 "0.0.0.0/0" 20.0.0.2
+ovn-nbctl lr-route-add R2 "0.0.0.0/0" 20.0.0.1
# Create logical port ls1-lp1 in ls1
ovn-nbctl lsp-add ls1 ls1-lp1 \