summaryrefslogtreecommitdiff
path: root/tests/vtep-ctl.at
diff options
context:
space:
mode:
authorGuoshuai Li <ligs@dtdream.com>2018-03-12 19:23:44 +0800
committerBen Pfaff <blp@ovn.org>2018-03-31 11:51:05 -0700
commit3ffed5cb909d1f915366b2f443609efd3f60823e (patch)
tree4fa7ff69ccb25d53491737dcbaf3d94686bb2349 /tests/vtep-ctl.at
parent6a6b7060655ed30a5e3307c3a6f26ffb77a2b5be (diff)
downloadopenvswitch-3ffed5cb909d1f915366b2f443609efd3f60823e.tar.gz
ctl-option: add --inactivity-probe= option in set targets commands
This patch can set inactivity probe for connection by command: ovs-vsctl --inactivity-probe=30000 set-manager tcp:<CONTROLLER IP>:6640 ovs-vsctl --inactivity-probe=30000 set-controller tcp:<CONTROLLER IP>:6641 vtep-ctl --inactivity-probe=30000 set-manager tcp:<CONTROLLER IP>:6640 ovn-nbctl --inactivity-probe=30000 set-connection ptcp:6641:0.0.0.0 ovn-sbctl --inactivity-probe=30000 set-connection ptcp:6642:0.0.0.0 Signed-off-by: Guoshuai Li <ligs@dtdream.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'tests/vtep-ctl.at')
-rw-r--r--tests/vtep-ctl.at4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/vtep-ctl.at b/tests/vtep-ctl.at
index 2b0df67c1..e44eb33ee 100644
--- a/tests/vtep-ctl.at
+++ b/tests/vtep-ctl.at
@@ -906,6 +906,8 @@ AT_CHECK([RUN_VTEP_CTL_TOGETHER(
[get-manager],
[set-manager tcp:8.9.10.11 tcp:5.4.3.2],
[get-manager],
+ [--inactivity-probe=30000 set-manager tcp:1.2.3.4],
+ [get-manager],
[del-manager],
[get-manager])], [0], [
@@ -914,6 +916,8 @@ tcp:4.5.6.7
tcp:5.4.3.2\ntcp:8.9.10.11
+tcp:1.2.3.4
+
], [], [VTEP_CTL_CLEANUP])
VTEP_CTL_CLEANUP