[ovs-git] [ovn-org/ovn] bdcc30: ovn-northd.at: Fix trailing whitespace

Mark Gray noreply at github.com
Fri Jun 11 19:56:06 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/ovn-org/ovn
  Commit: bdcc309c082c7f574988026dbe9f069f9fdf2529
      https://github.com/ovn-org/ovn/commit/bdcc309c082c7f574988026dbe9f069f9fdf2529
  Author: Mark Gray <mark.d.gray at redhat.com>
  Date:   2021-06-11 (Fri, 11 Jun 2021)

  Changed paths:
    M tests/ovn-northd.at

  Log Message:
  -----------
  ovn-northd.at: Fix trailing whitespace

Signed-off-by: Mark Gray <mark.d.gray at redhat.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>
Acked-by: Dumitru Ceara <dceara at redhat.com>


  Commit: e230fa009b81b91d0931480a12285414b9974873
      https://github.com/ovn-org/ovn/commit/e230fa009b81b91d0931480a12285414b9974873
  Author: Mark Gray <mark.d.gray at redhat.com>
  Date:   2021-06-11 (Fri, 11 Jun 2021)

  Changed paths:
    M tests/ovn-northd.at
    M utilities/ovn-trace.c

  Log Message:
  -----------
  ovn-trace: correctly handle ct_dnat(IP) action

ovn-trace does not set translated ip address for ct_dnat()
actions when tracing. This causes the trace to end prematurely.

This can be tested with the following or an equivalent for IPv6:

ovn-nbctl ls-add sw0
ovn-nbctl lsp-add sw0 sw0-port1
ovn-nbctl lsp-set-addresses sw0-port1 "50:54:00:00:00:01 192.168.0.2"

ovn-nbctl ls-add sw1
ovn-nbctl lsp-add sw1 sw1-port1
ovn-nbctl lsp-set-addresses sw1-port1 "50:54:00:00:00:03 11.0.0.2"

ovn-nbctl lr-add lr0
ovn-nbctl lrp-add lr0 lrp0 00:00:00:00:ff:01 192.168.0.1/24
ovn-nbctl lsp-add sw0 lrp0-attachment
ovn-nbctl lsp-set-type lrp0-attachment router
ovn-nbctl lsp-set-addresses lrp0-attachment 00:00:00:00:ff:01
ovn-nbctl lsp-set-options lrp0-attachment router-port=lrp0
ovn-nbctl lrp-add lr0 lrp1 00:00:00:00:ff:02 11.0.0.1/24 -- lrp-set-gateway-chassis lrp1 chassis-1
ovn-nbctl lsp-add sw1 lrp1-attachment
ovn-nbctl lsp-set-type lrp1-attachment router
ovn-nbctl lsp-set-addresses lrp1-attachment 00:00:00:00:ff:02
ovn-nbctl lsp-set-options lrp1-attachment router-port=lrp1

ovn-nbctl lr-nat-add lr0 dnat 42.42.42.42 192.168.0.2

ovs-vsctl add-port br-int p1 -- \
    set Interface p1 external_ids:iface-id=sw0-port1
ovs-vsctl add-port br-int p2 -- \
    set Interface p2 external_ids:iface-id=sw1-port1

ovn-trace  'inport == "sw1-port1" && eth.src == 50:54:00:00:00:03 && eth.dst == 00:00:00:00:ff:02 && ip4.dst == 42.42.42.42 && ip4.src == 11.0.0.2 && ip.ttl == 64'

Signed-off-by: Mark Gray <mark.d.gray at redhat.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>
Acked-by: Dumitru Ceara <dceara at redhat.com>


Compare: https://github.com/ovn-org/ovn/compare/d0997c9bf25c...e230fa009b81


More information about the git mailing list