]> git.proxmox.com Git - ovs.git/commit
ovn: l3ha, make is_chassis_active aware of gateway_chassis
authormajopela@redhat.com <majopela@redhat.com>
Thu, 13 Jul 2017 17:02:39 +0000 (17:02 +0000)
committerRussell Bryant <russell@ovn.org>
Sun, 16 Jul 2017 18:53:36 +0000 (14:53 -0400)
commit508b7f961bd6e0b4a1a5f28201c3b68602c2d256
tree37b59f1ac09a8940a12630c35b68370bb4a8c56c
parent3475695ea61c4f82bf8b4fd5590c84538c95916e
ovn: l3ha, make is_chassis_active aware of gateway_chassis

is_chassis_active now is only true for redirect-chassis ports
in the case of the specific lport being active on the
local chassis.

This will naturally make the ARP responder / redirection openflow
rules automatically inserted/removed when a router goes active/backup
in a way that BACKUP routers won't respond to ARP on gateway ports,
and they won't route packets that arrive on the wrong gateway
chassis (that can happen until all hypervisors converge in the
new MASTER thanks to the BFD monitoring of the tunnel endpoints).

Signed-off-by: Miguel Angel Ajo <majopela@redhat.com>
Signed-off-by: Russell Bryant <russell@ovn.org>
ovn/controller/binding.c
ovn/controller/gchassis.c
ovn/controller/gchassis.h
ovn/controller/lflow.c
ovn/controller/lflow.h
ovn/controller/lport.c
ovn/controller/lport.h
ovn/controller/ovn-controller.c
ovn/controller/physical.c
ovn/controller/physical.h
tests/ovn.at