The midonet.neutron.db.bgp_db_midonet Module

The midonet.neutron.db.bgp_db_midonet Module

class midonet.neutron.db.bgp_db_midonet.MidonetBgpDbMixin

Bases: neutron_dynamic_routing.db.bgp_db.BgpDbMixin

Access methods to figure out advertised route by bgp speaker.

get_routes_from_attached_networks(*args, **kwargs)

This method gets routes for networks attached to this router.

  • ‘nexthop’ is the IP address of the ports on this router that are on the same subnet as the peer IP addresses of the provided bgp speaker.
  • ‘dest_networks’ are all the networks attached to the router excluding gateway and uplink networks.
get_routes_from_extra_routes(*args, **kwargs)

This method gets routes for extra routes defined on this router.

  • ‘nexthop’ is the IP address of the ports on this router that are on the same subnet as the peer IP addresses of the provided bgp speaker.
  • ‘dests’ are all the networks defined as extra routes on the router.
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.