The BgpSpeaker
class inherits from Resource
.
The base resource
_synchronized (bool) – This is not intended to be used directly. See
new()
and
existing()
.
connection (openstack.connection.Connection) – Reference to the Connection being used. Defaults to None to allow
Resource objects to be used without an active Connection, such as
in unit tests. Use of self._connection
in Resource code should
protect itself with a check for None.
Singular form of key for resource.
Plural form of key for resource.
The base part of the URI for this resource.
Allow create operation for this resource.
Allow get operation for this resource.
Allow update operation for this resource.
Allow delete operation for this resource.
Allow list operation for this resource.
The Id of the BGP Speaker
The BGP speaker’s name.
The ID of the project that owns the BGP Speaker.
Tenant_id (deprecated attribute).
The IP version (4 or 6) of the BGP Speaker.
Whether to enable or disable the advertisement of floating ip host routes by the BGP Speaker. True by default.
Whether to enable or disable the advertisement of tenant network routes by the BGP Speaker. True by default.
The local Autonomous System number of the BGP Speaker.
The ID of the network to which the BGP Speaker is associated.
Add BGP Peer to a BGP Speaker
session (Adapter
) – The session to communicate through.
peer_id – id of the peer to associate with the speaker.
A dictionary as the API Reference describes it.
SDKException
on error.
Remove BGP Peer from a BGP Speaker
session (Adapter
) – The session to communicate through.
peer_id – The ID of the peer to disassociate from the speaker.
SDKException
on error.
Add Network to a BGP Speaker
session: The session to communicate through.
network_id – The ID of the network to associate with the speaker
A dictionary as the API Reference describes it.
Delete Network from a BGP Speaker
session (Adapter
) – The session to communicate through.
network_id – The ID of the network to disassociate from the speaker
List routes advertised by a BGP Speaker
session (Adapter
) – The session to communicate through.
The response as a list of routes (cidr/nexthop pair advertised by the BGP Speaker.
SDKException
on error.
List Dynamic Routing Agents hosting a specific BGP Speaker
session (Adapter
) – The session to communicate through.
The response as a list of dragents hosting a specific BGP Speaker.
SDKException
on error.
Add BGP Speaker to a Dynamic Routing Agent
session (Adapter
) – The session to communicate through.
bgp_agent_id – The id of the dynamic routing agent to which add the speaker.
Delete BGP Speaker from a Dynamic Routing Agent
session (Adapter
) – The session to communicate through.
bgp_agent_id – The id of the dynamic routing agent from which remove the speaker.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.