midonet.neutron.db.bgp_speaker_router_insertion_db
Module¶midonet.neutron.db.bgp_speaker_router_insertion_db.
BgpSpeakerRouterInsertionDbMixin
¶Bases: object
Access methods for the bgp_speaker_router_associations table.
bgp_speaker_callback
(resource, event, trigger, **kwargs)¶delete_bgp_speaker_router_insertion
(context, bsp_id)¶get_bgp_speaker_associated_with_router
(*args, **kwargs)¶Gets router associated with a bgp speaker.
get_router_associated_with_bgp_speaker
(*args, **kwargs)¶Gets router associated with a bgp speaker.
set_router_for_bgp_speaker
(*args, **kwargs)¶Sets the routers associated with the bgp speaker.
set_router_for_bgp_speaker_by_network
(*args, **kwargs)¶This method selects one router to be a bgp speaker. To pare down routers, only first subnet in specified external network is used for selection. REVISIT(Kengo): There may be a case where there are two subnets and a router is associated with the second subnet. The case is a restriction for user and should be improved later.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.