Hi team!
Recently, I‘m using Boron-SR1 bgp for some test, and I have following
questions:
1 Bgp modules used the singleton service and its Entity type is
"org.opendaylight.mdsal.ServiceEntityType", what if I change its selection
strategy?
I put a cfg file to assembly/etc/ folder:
org.opendaylight.controller.cluster.entity.owner.selection.strategies.cfg, and
I config the strategy:
entity.type.org.opendaylight.mdsal.ServiceEntityType=org.opendaylight.controller.cluster.datastore.entityownership.selectionstrategy.LeastLoadedCandidateSelectionStrategy,1000
But it does not work. I read the code in
EntityOwnerSelectionStrategyConfigReader.java. It generates the key wrongly. It
generates my key as : "ServiceEntityType".
2 While I create several bgp peers under bgp-example rib, its' singleton
leaders are always at one ODL cluster node. Why the bgp peer singleton
service's identifier return the rib id ? If there are serveral bgp peers in one
bgp rib(bgp-example), and I want a least loaded selection strategy to make the
bgp peers' leaders at different ODL nodes, How can I do this?
3 I create a ipv4-unicast bgp peer, and the operational ipv4 topology
datastore only contains the "prefix" info, are there not any other information
about the ipv4 topology?
Best regards,
Saint
_______________________________________________
controller-dev mailing list
[email protected]
https://lists.opendaylight.org/mailman/listinfo/controller-dev