[ovs-git] [ovn-org/ovn] 742474: ovn-nbctl: Enhance lr-policy-add to set the options.

numansiddique noreply at github.com
Tue Jun 23 15:24:46 UTC 2020

  Branch: refs/heads/master
  Home:   https://github.com/ovn-org/ovn
  Commit: 742474bad730fbdc9705b4c2784a2b4acca327cf
  Author: Numan Siddique <numans at ovn.org>
  Date:   2020-06-23 (Tue, 23 Jun 2020)

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

  Log Message:
  ovn-nbctl: Enhance lr-policy-add to set the options.

The commit [1] added a new column - 'options' to Logical_Router_Policy NB DB
table. This patch enhances the lr-policy-add command to set the options
as key=value pairs.

For nbctl_lr_policy_add(), this patch now returns after ctl_error() as there is no
point continuing further and the comments in the ctl_error() implementation says so.

[1] - a123ef0fb8fd("Support packet metadata marking for logical router policies.")

Acked-by: Mark Michelson <mmichels at redhat.com>
Signed-off-by: Numan Siddique <numans at ovn.org>

More information about the git mailing list