This was inspired by my previous patch set about syslog [1] and the new environment variable for syslog method [2].
Patch set introduces new env. variable 'OVS_CTL_TIMEOUT', which is used as a default timeout for control utilities. Using it we can avoid shell tricks with aliases. It will work in any shell and even in a subshell. [1] https://mail.openvswitch.org/pipermail/ovs-dev/2018-August/350813.html [2] https://mail.openvswitch.org/pipermail/ovs-dev/2018-August/350872.html Ilya Maximets (3): utilities: Fix and unify parsing of timout option. tests: Use environment variable for default timeout. tests: Drop setting aliases for control utils. NEWS | 2 ++ lib/util.c | 18 ++++++++++++++++++ lib/util.h | 2 ++ ovn/utilities/ovn-nbctl.c | 16 +++++----------- ovn/utilities/ovn-sbctl.c | 9 +++------ ovsdb/ovsdb-client.c | 12 +++++------- python/ovs/fatal_signal.py | 8 +++++++- tests/appctl.py | 3 +-- tests/atlocal.in | 4 ++++ tests/ovs-macros.at | 41 ----------------------------------------- tests/test-ovsdb.c | 12 +++++------- tests/test-ovsdb.py | 4 +++- utilities/ovs-appctl.c | 7 ++++++- utilities/ovs-dpctl.c | 13 ++++++------- utilities/ovs-ofctl.c | 12 +++++------- utilities/ovs-vsctl.c | 12 ++++-------- vtep/vtep-ctl.c | 12 ++++-------- 17 files changed, 80 insertions(+), 107 deletions(-) -- 2.7.4 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
