[ovs-git] [ovn-org/ovn] 5453cc: tests: Fix "vlan traffic for external network with...

Ben Pfaff noreply at github.com
Fri Jul 2 17:21:55 UTC 2021


  Branch: refs/heads/branch-21.06
  Home:   https://github.com/ovn-org/ovn
  Commit: 5453cc8ca5535e3f33d1b191929e1a3c9ad30f20
      https://github.com/ovn-org/ovn/commit/5453cc8ca5535e3f33d1b191929e1a3c9ad30f20
  Author: Ben Pfaff <blp at ovn.org>
  Date:   2021-07-02 (Fri, 02 Jul 2021)

  Changed paths:
    M tests/ovn.at

  Log Message:
  -----------
  tests: Fix "vlan traffic for external network with distributed..."

This fixes the test case "ovn -- vlan traffic for external network with
distributed router gateway port", which often failed, especially under
ddlog.  The problem was that the test case was setting a column that
only ovn-northd is supposed to set.  The "tag" column in
Logical_Switch_Port is for ovn-northd to report the tag for a logical
switch port.  It's documented that way in ovn-nb(5):

       tag: optional integer, in range 1 to 4,095
              The  VLAN tag allocated by ovn-northd based on the contents of the
              tag_request column.

The right way to request a particular tag is to use tag_request.  This
commit fixes that.

This also fixes the similar problem I found in the test "ovn -- send
gratuitous ARP for NAT rules on HA distributed router", even though I
hadn't seen similar failures there.

Signed-off-by: Ben Pfaff <blp at ovn.org>
Acked-by: Numan siddique <numans at ovn.org>




More information about the git mailing list