Hi Community,

I would like to create a backup of my interface using OpenvSwitch and Flow 
Rules. I have two VXLAN Tunnel and I want that one of them would be the backup 
of the other one. I have seen that OpenvSwitch could use two possibilities to 
make that: group using the fast-failover and bounding using as a backup one of 
the interfaces. However, I don't see that any of the possibilities could work 
with a VXLAN/GRE Tunnel only works with normal ports, which are connected to 
the bridge. For example, I can see that using the command ovs-ofctl mod-port 
<bridge> <iface> down the difference between the two ports are shown below:
user@openvswitch:~$ sudo ovs-ofctl mod-port br-1 ens5 down
user@openvswitch:~$ sudo ovs-ofctl mod-port br-1 vxlan1 down
user@openvswitch:~$ sudo ovs-ofctl show br-1
OFPT_FEATURES_REPLY (xid=0x2): dpid:0000005000000102
n_tables:254, n_buffers:256
capabilities: FLOW_STATS TABLE_STATS PORT_STATS QUEUE_STATS ARP_MATCH_IP
1(ens5): addr:00:50:00:00:01:02
config: PORT_DOWN
state: LINK_DOWN
speed: 0 Mbps now, 0 Mbps max
2(ens6): addr:00:50:00:00:01:03
config: 0
state: 0
speed: 0 Mbps now, 0 Mbps max
3(vxlan1): addr:da:8a:d5:81:7f:c1
config: 0
state: 0
speed: 0 Mbps now, 0 Mbps max
4(vxlan2): addr:2a:ef:30:0c:e1:7f
config: 0
state: 0
speed: 0 Mbps now, 0 Mbps max
LOCAL(br-1): addr:00:50:00:00:01:02
config: PORT_DOWN
state: LINK_DOWN
speed: 0 Mbps now, 0 Mbps max
OFPT_GET_CONFIG_REPLY (xid=0x4): frags=normal miss_send_len=0
As you can see, the vxlan1 was not down. The problem is that the fast-failover 
uses both flags to determine which port is "live". Is there really any way to 
know when a VXLAN port is down? If I know when a VXLAN port is down for any 
reason, I could use Flow Rules to change the priority and use the backup.
Thanks for any help that you could give me

Jairo Rodrigo Mejia AponteElectronic Engineer
[email protected] (mailto:[email protected])
(+57) 320 456 3662 (tel:(+57)%20320%20456%203662)

_______________________________________________
discuss mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to