[ovs-discuss] watch_group liveness check for OVS groups

Alexander Constantinescu aconstan at redhat.com
Thu Jan 21 19:20:16 UTC 2021


TL;DR: I am wondering if there's any specific action/convention that needs
to be defined for groups which are referenced by a watch_group, as to have
the liveness check correctly working? FYI: I can't use a liveness check on
a dedicated OVS port in this case.

I have not been able to find much documentation surrounding watch_group,
the only doc I've been basing myself on is:

I am working on a POC where the goal of my work is to load balance packets
between two nexthops for packets matching a given flow. Essentially, I have
this flow which gets hit:

 cookie=0x0, duration=12657.001s, table=100, n_packets=1423,
n_bytes=113190, priority=100,ip,reg0=0x5d41f9 actions=group:2

for which I have the following groups defined:



Group 2 thus load balances between group 3 (which forwards packets to
nexthop and 4 (corresponding to nexthop in an equal

The load balancing works, however the watch_group does not seem to have any
impact, and what I mean by that is: if I shutdown the nodes corresponding
to either of my nexthops, group 2 will still try to send packets to the
nexthop (node) which I've just shut down.

Honestly, I don't expect OVS to be able to determine the liveness of my
group based off of what I've written....but I don't have any better idea of
what to do. I am unable to tell if there's a specific action / convention
that needs to be defined for groups which are referenced by a watch_group.

Thanks in advance for any help!

Best regards,

Alexander Constantinescu

Software Engineer, Openshift SDN

Red Hat <https://www.redhat.com/>

aconstan at redhat.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20210121/36bcef3e/attachment.html>

More information about the discuss mailing list