Discussion:
[ovs-discuss] link failure detection in OVS
Padma Jayasankar
2014-10-16 16:55:27 UTC
Permalink
Hi,
How an op,envswitch identify the link failure?If link failure detection
is set to 'carrier",how will it identify the link failure.Please clarify

Regards,
Padma V
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/discuss/attachments/20141016/40bb3b96/attachment.html>
Ben Pfaff
2014-10-16 21:51:17 UTC
Permalink
Post by Padma Jayasankar
How an op,envswitch identify the link failure?If link failure detection
is set to 'carrier",how will it identify the link failure.Please clarify
If you are talking about bond configuration, when link failure
detection is in "carrier" mode, when carrier goes down on one of the
links in the bond, OVS uses a different link.
Padma Jayasankar
2014-10-17 03:12:56 UTC
Permalink
Hi,
Thanks for the reply. I have some more doubts. Pleae clarify
1. Is bond_detect_mode defaulted to carrier in Openvswitch.(am using
openvswitch 2.1.0)
2. When this is set to carrier if a switch has two entries for the same
destination(with different priorities) in its flow table and the link
corresponding to higher priority flow table entry fails, how the switch
will behave.
-will it use the second entry automatically.(without controller's
intervention)
-what will happen to the higher priority entry..will it be kept there
- Will it send a message to the controller abt the link failure.

Thanks & regards,
Padma V
Post by Ben Pfaff
Post by Padma Jayasankar
How an op,envswitch identify the link failure?If link failure detection
is set to 'carrier",how will it identify the link failure.Please clarify
If you are talking about bond configuration, when link failure
detection is in "carrier" mode, when carrier goes down on one of the
links in the bond, OVS uses a different link.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/discuss/attachments/20141017/455a269a/attachment.html>
Ben Pfaff
2014-10-17 03:22:49 UTC
Permalink
Post by Padma Jayasankar
1. Is bond_detect_mode defaulted to carrier in Openvswitch.(am using
openvswitch 2.1.0)
This is documented in ovs-vswitchd.conf.db(5). Search for "carrier".
Post by Padma Jayasankar
2. When this is set to carrier if a switch has two entries for the same
destination(with different priorities) in its flow table and the link
corresponding to higher priority flow table entry fails, how the switch
will behave.
-will it use the second entry automatically.(without controller's
intervention)
-what will happen to the higher priority entry..will it be kept there
- Will it send a message to the controller abt the link failure.
Link failure doesn't affect flow table searches.
Padma Jayasankar
2014-10-17 04:38:19 UTC
Permalink
Thanks for the information.
As i am new to openvswitch, coudn't understand the use of link failure
detection. If it is not related with flow table,then what is the purpose of
it?
Post by Ben Pfaff
Post by Padma Jayasankar
1. Is bond_detect_mode defaulted to carrier in Openvswitch.(am using
openvswitch 2.1.0)
This is documented in ovs-vswitchd.conf.db(5). Search for "carrier".
Post by Padma Jayasankar
2. When this is set to carrier if a switch has two entries for the same
destination(with different priorities) in its flow table and the link
corresponding to higher priority flow table entry fails, how the switch
will behave.
-will it use the second entry automatically.(without controller's
intervention)
-what will happen to the higher priority entry..will it be kept there
- Will it send a message to the controller abt the link failure.
Link failure doesn't affect flow table searches.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/discuss/attachments/20141017/e59896ed/attachment.html>
Ben Pfaff
2014-10-17 15:31:12 UTC
Permalink
Link failure affects output to bonds, certain other OpenFlow actions
such as "bundle", and output to "fast failover" groups.
Post by Padma Jayasankar
Thanks for the information.
As i am new to openvswitch, coudn't understand the use of link failure
detection. If it is not related with flow table,then what is the purpose of
it?
Post by Ben Pfaff
Post by Padma Jayasankar
1. Is bond_detect_mode defaulted to carrier in Openvswitch.(am using
openvswitch 2.1.0)
This is documented in ovs-vswitchd.conf.db(5). Search for "carrier".
Post by Padma Jayasankar
2. When this is set to carrier if a switch has two entries for the same
destination(with different priorities) in its flow table and the link
corresponding to higher priority flow table entry fails, how the switch
will behave.
-will it use the second entry automatically.(without controller's
intervention)
-what will happen to the higher priority entry..will it be kept there
- Will it send a message to the controller abt the link failure.
Link failure doesn't affect flow table searches.
Loading...