[ovs-git] [ovn-org/ovn] da0a96: ovn-nbctl: add --may-exist/--if-exists options for...

Lorenzo Bianconi noreply at github.com
Fri Sep 25 18:00:09 UTC 2020


  Branch: refs/heads/master
  Home:   https://github.com/ovn-org/ovn
  Commit: da0a96008616b81682aabe32eeba29974459ea4d
      https://github.com/ovn-org/ovn/commit/da0a96008616b81682aabe32eeba29974459ea4d
  Author: Lorenzo Bianconi <lorenzo.bianconi at redhat.com>
  Date:   2020-09-25 (Fri, 25 Sep 2020)

  Changed paths:
    M tests/ovn-nbctl.at
    M utilities/ovn-nbctl.8.xml
    M utilities/ovn-nbctl.c

  Log Message:
  -----------
  ovn-nbctl: add --may-exist/--if-exists options for policy routing

Introduce the following options to avoid error reporting for policy
routing:
1) --may-exist: the lr-policy-add does not result in an error if a policy
   with the same priority and match string is already present
2) --if-exists: the lr-policy-del does not result in an error if a policy
   with the specified uuid is not present in the db

Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi at redhat.com>
Signed-off-by: Han Zhou <hzhou at ovn.org>




More information about the git mailing list