The sirankedsu_db is implemented as a C++ map with SI and rank as the keys. This does not allow multiple SUs to map to the same SI with the same rank, as the map key doesn't take into account the SU.
This is useful in the following scenario. Let's say you want to have geo-redundancy with site pairs. Site A has 2 SUs, site B has 2 SUs, and site C has 2 SUs. You want one global active SU, and you want the SU to always fail locally if possible. This can be accomplished by using the Nway redundancy model, and SaAmfSIRankedSU for each of the SUs. The rankings can be set per site. So, SU 1 and SU2 at site A have rank 1. SU 3 and SU 4 at site B have rank 2. SU 5 and SU 6 at site C have rank 3.
commit ce4e55bd7a7f10fa62d2da54dcbfaeb731cc2057 (HEAD -> develop, origin/develop, ticket-3076)
Author: Alex Jones ajones@rbbn.com
Date: Mon Sep 9 10:31:53 2019 -0400
Fix bug.
commit eac09bf540f33cf25ee2a8902aeeef40ee6bbf3b (HEAD -> develop, origin/develop, ticket-3076)
Author: Alex Jones ajones@rbbn.com
Date: Fri Sep 13 09:17:27 2019 -0400