On Wed, Mar 27, 2019 at 11:10 PM <[email protected]> wrote: > > From: Numan Siddique <[email protected]> > > This patch adds the tables - 'HA_Chassis_Group' and 'HA_Chassis' in > both OVN Northbound and Southbound DBs to support generic HA Chassis > groups in OVN. CMS can create a group of HA chassis with the priorities > assigned to each chassis in the group. An HA chassis group can be associated > to > a distributed logical router port. An upcoming patch will make > use of it while supporting 'external'* logical ports. > > HA chassis group is similar to the existing gateway chassis support in > OVN which is used by the distributed gateway router ports. > This patch tries to abstract this so that, the HA chassis support > can be leveraged by not just distributed gateway router ports. > > If a logical router port has a set of gateway chassis associated to > it, ovn-northd will create HA chassis group in Southbound > DB and add these gateway chassis to this group. ovn-northd would still create > gateway chassis in Southbound DB as ovn-controller still doesn't support > using the HA chassis group. > > Next patch in the series will add the support in ovn-controller to > make use of HA chassis group instead of gateway chassis. The patch following > that will delete creation of gateway chassis in Southbound DB. > > HA_Chasss_Group table in Southbound DB has a column - 'ref_chassis'. > This column is used to store the list of chassis which references the > HA chassis group. This information will be used by ovn-controller in an > upcoming patch to establish BFD sessions with the required chassis. > > Suppose if there is an HA chassis group - 'hagrp1' in the Southbound > DB and it has HA chasiss list - ha1, ha2 and ha3 and this HA chassis > group is used by a distributed logical router port, then ovn-northd > will update the 'ref_chassis' with the list of chassis which has claimed > all the logical switch ports which are connected to the logical router > which has this distributed logical router port. > > Signed-off-by: Numan Siddique <[email protected]>
Acked-by: Han Zhou <[email protected]> _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
