[ovs-dev] [PATCH v2 0/2] OVSDB CLI destroy command, check that --all or records argument provided

Alexey Roytman aroytman at gmail.com
Sun Mar 28 21:50:54 UTC 2021


From: Alexey Roytman <roytman at il.ibm.com>

OVSDB CLI utilities (ovs-vsctl, ovn-nbctl and ovn-sbctl) allow destroying 
the entire table or some records from the given table.
However, either the --all option or the deleted records should be provided.
These patches add the test.

Changes since v1:
- replace ctl_error by VLOG_WARN 
- add test

Alexey Roytman (2):
  Add a check that either the --all option or records argument provided
    to the destroy command
  Add test to the destroy command arguments validation

 lib/db-ctl-base.c  | 5 +++++
 tests/ovs-vsctl.at | 5 +++++
 2 files changed, 10 insertions(+)

-- 
2.25.1



More information about the dev mailing list