openstack.networking.BgpSpeakerV2
Explore with Pulumi AI
Manages a V2 Neutron BGP Speaker resource within OpenStack.
This resource allows you to configure a BGP speaker that can be associated with a BGP peer to exchange routing information.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as openstack from "@pulumi/openstack";
const network1 = new openstack.networking.Network("network1", {name: "network1"});
const peer1 = new openstack.networking.BgpPeerV2("peer_1", {
name: "bgp_peer_1",
peerIp: "192.0.2.10",
remoteAs: 65001,
authType: "md5",
password: "supersecret",
});
const speaker1 = new openstack.networking.BgpSpeakerV2("speaker_1", {
name: "bgp_speaker_1",
ipVersion: 4,
localAs: 65000,
networks: [network1.id],
peers: [peer1OpestackNetworkingBgpPeerV2.id],
});
import pulumi
import pulumi_openstack as openstack
network1 = openstack.networking.Network("network1", name="network1")
peer1 = openstack.networking.BgpPeerV2("peer_1",
name="bgp_peer_1",
peer_ip="192.0.2.10",
remote_as=65001,
auth_type="md5",
password="supersecret")
speaker1 = openstack.networking.BgpSpeakerV2("speaker_1",
name="bgp_speaker_1",
ip_version=4,
local_as=65000,
networks=[network1.id],
peers=[peer1_opestack_networking_bgp_peer_v2["id"]])
package main
import (
"github.com/pulumi/pulumi-openstack/sdk/v5/go/openstack/networking"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
network1, err := networking.NewNetwork(ctx, "network1", &networking.NetworkArgs{
Name: pulumi.String("network1"),
})
if err != nil {
return err
}
_, err = networking.NewBgpPeerV2(ctx, "peer_1", &networking.BgpPeerV2Args{
Name: pulumi.String("bgp_peer_1"),
PeerIp: pulumi.String("192.0.2.10"),
RemoteAs: pulumi.Int(65001),
AuthType: pulumi.String("md5"),
Password: pulumi.String("supersecret"),
})
if err != nil {
return err
}
_, err = networking.NewBgpSpeakerV2(ctx, "speaker_1", &networking.BgpSpeakerV2Args{
Name: pulumi.String("bgp_speaker_1"),
IpVersion: pulumi.Int(4),
LocalAs: pulumi.Int(65000),
Networks: pulumi.StringArray{
network1.ID(),
},
Peers: pulumi.StringArray{
peer1OpestackNetworkingBgpPeerV2.Id,
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using OpenStack = Pulumi.OpenStack;
return await Deployment.RunAsync(() =>
{
var network1 = new OpenStack.Networking.Network("network1", new()
{
Name = "network1",
});
var peer1 = new OpenStack.Networking.BgpPeerV2("peer_1", new()
{
Name = "bgp_peer_1",
PeerIp = "192.0.2.10",
RemoteAs = 65001,
AuthType = "md5",
Password = "supersecret",
});
var speaker1 = new OpenStack.Networking.BgpSpeakerV2("speaker_1", new()
{
Name = "bgp_speaker_1",
IpVersion = 4,
LocalAs = 65000,
Networks = new[]
{
network1.Id,
},
Peers = new[]
{
peer1OpestackNetworkingBgpPeerV2.Id,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.openstack.networking.Network;
import com.pulumi.openstack.networking.NetworkArgs;
import com.pulumi.openstack.networking.BgpPeerV2;
import com.pulumi.openstack.networking.BgpPeerV2Args;
import com.pulumi.openstack.networking.BgpSpeakerV2;
import com.pulumi.openstack.networking.BgpSpeakerV2Args;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var network1 = new Network("network1", NetworkArgs.builder()
.name("network1")
.build());
var peer1 = new BgpPeerV2("peer1", BgpPeerV2Args.builder()
.name("bgp_peer_1")
.peerIp("192.0.2.10")
.remoteAs(65001)
.authType("md5")
.password("supersecret")
.build());
var speaker1 = new BgpSpeakerV2("speaker1", BgpSpeakerV2Args.builder()
.name("bgp_speaker_1")
.ipVersion(4)
.localAs(65000)
.networks(network1.id())
.peers(peer1OpestackNetworkingBgpPeerV2.id())
.build());
}
}
resources:
network1:
type: openstack:networking:Network
properties:
name: network1
peer1:
type: openstack:networking:BgpPeerV2
name: peer_1
properties:
name: bgp_peer_1
peerIp: 192.0.2.10
remoteAs: 65001
authType: md5
password: supersecret
speaker1:
type: openstack:networking:BgpSpeakerV2
name: speaker_1
properties:
name: bgp_speaker_1
ipVersion: 4
localAs: 65000
networks:
- ${network1.id}
peers:
- ${peer1OpestackNetworkingBgpPeerV2.id}
Create BgpSpeakerV2 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new BgpSpeakerV2(name: string, args: BgpSpeakerV2Args, opts?: CustomResourceOptions);
@overload
def BgpSpeakerV2(resource_name: str,
args: BgpSpeakerV2Args,
opts: Optional[ResourceOptions] = None)
@overload
def BgpSpeakerV2(resource_name: str,
opts: Optional[ResourceOptions] = None,
local_as: Optional[int] = None,
advertise_floating_ip_host_routes: Optional[bool] = None,
advertise_tenant_networks: Optional[bool] = None,
ip_version: Optional[int] = None,
name: Optional[str] = None,
networks: Optional[Sequence[str]] = None,
peers: Optional[Sequence[str]] = None,
region: Optional[str] = None,
tenant_id: Optional[str] = None)
func NewBgpSpeakerV2(ctx *Context, name string, args BgpSpeakerV2Args, opts ...ResourceOption) (*BgpSpeakerV2, error)
public BgpSpeakerV2(string name, BgpSpeakerV2Args args, CustomResourceOptions? opts = null)
public BgpSpeakerV2(String name, BgpSpeakerV2Args args)
public BgpSpeakerV2(String name, BgpSpeakerV2Args args, CustomResourceOptions options)
type: openstack:networking:BgpSpeakerV2
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args BgpSpeakerV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args BgpSpeakerV2Args
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args BgpSpeakerV2Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args BgpSpeakerV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args BgpSpeakerV2Args
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var bgpSpeakerV2Resource = new OpenStack.Networking.BgpSpeakerV2("bgpSpeakerV2Resource", new()
{
LocalAs = 0,
AdvertiseFloatingIpHostRoutes = false,
AdvertiseTenantNetworks = false,
IpVersion = 0,
Name = "string",
Networks = new[]
{
"string",
},
Peers = new[]
{
"string",
},
Region = "string",
TenantId = "string",
});
example, err := networking.NewBgpSpeakerV2(ctx, "bgpSpeakerV2Resource", &networking.BgpSpeakerV2Args{
LocalAs: pulumi.Int(0),
AdvertiseFloatingIpHostRoutes: pulumi.Bool(false),
AdvertiseTenantNetworks: pulumi.Bool(false),
IpVersion: pulumi.Int(0),
Name: pulumi.String("string"),
Networks: pulumi.StringArray{
pulumi.String("string"),
},
Peers: pulumi.StringArray{
pulumi.String("string"),
},
Region: pulumi.String("string"),
TenantId: pulumi.String("string"),
})
var bgpSpeakerV2Resource = new BgpSpeakerV2("bgpSpeakerV2Resource", BgpSpeakerV2Args.builder()
.localAs(0)
.advertiseFloatingIpHostRoutes(false)
.advertiseTenantNetworks(false)
.ipVersion(0)
.name("string")
.networks("string")
.peers("string")
.region("string")
.tenantId("string")
.build());
bgp_speaker_v2_resource = openstack.networking.BgpSpeakerV2("bgpSpeakerV2Resource",
local_as=0,
advertise_floating_ip_host_routes=False,
advertise_tenant_networks=False,
ip_version=0,
name="string",
networks=["string"],
peers=["string"],
region="string",
tenant_id="string")
const bgpSpeakerV2Resource = new openstack.networking.BgpSpeakerV2("bgpSpeakerV2Resource", {
localAs: 0,
advertiseFloatingIpHostRoutes: false,
advertiseTenantNetworks: false,
ipVersion: 0,
name: "string",
networks: ["string"],
peers: ["string"],
region: "string",
tenantId: "string",
});
type: openstack:networking:BgpSpeakerV2
properties:
advertiseFloatingIpHostRoutes: false
advertiseTenantNetworks: false
ipVersion: 0
localAs: 0
name: string
networks:
- string
peers:
- string
region: string
tenantId: string
BgpSpeakerV2 Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The BgpSpeakerV2 resource accepts the following input properties:
- Local
As int - The local autonomous system number (ASN) for the BGP speaker. This is a mandatory field and must be specified. Changing this creates a new BGP speaker.
- Advertise
Floating boolIp Host Routes - A boolean value indicating
whether to advertise floating IP host routes. Defaults to
true
. - Advertise
Tenant boolNetworks - A boolean value indicating whether to
advertise tenant networks. Defaults to
true
. - Ip
Version int - The IP version of the BGP speaker. Valid values are
4
or6
. Defaults to4
. Changing this creates a new BGP speaker. - Name string
- A name for the BGP speaker.
- Networks List<string>
- A list of network IDs to associate with the BGP speaker.
- Peers List<string>
- A list of BGP peer IDs to associate with the BGP speaker.
- Region string
- The region in which to obtain the V2 Networking client.
A Networking client is needed to create a Neutron network. If omitted, the
region
argument of the provider is used. Changing this creates a new BGP speaker. - Tenant
Id string - The tenant/project ID. Required if admin privileges are used. Changing this creates a new BGP speaker.
- Local
As int - The local autonomous system number (ASN) for the BGP speaker. This is a mandatory field and must be specified. Changing this creates a new BGP speaker.
- Advertise
Floating boolIp Host Routes - A boolean value indicating
whether to advertise floating IP host routes. Defaults to
true
. - Advertise
Tenant boolNetworks - A boolean value indicating whether to
advertise tenant networks. Defaults to
true
. - Ip
Version int - The IP version of the BGP speaker. Valid values are
4
or6
. Defaults to4
. Changing this creates a new BGP speaker. - Name string
- A name for the BGP speaker.
- Networks []string
- A list of network IDs to associate with the BGP speaker.
- Peers []string
- A list of BGP peer IDs to associate with the BGP speaker.
- Region string
- The region in which to obtain the V2 Networking client.
A Networking client is needed to create a Neutron network. If omitted, the
region
argument of the provider is used. Changing this creates a new BGP speaker. - Tenant
Id string - The tenant/project ID. Required if admin privileges are used. Changing this creates a new BGP speaker.
- local
As Integer - The local autonomous system number (ASN) for the BGP speaker. This is a mandatory field and must be specified. Changing this creates a new BGP speaker.
- advertise
Floating BooleanIp Host Routes - A boolean value indicating
whether to advertise floating IP host routes. Defaults to
true
. - advertise
Tenant BooleanNetworks - A boolean value indicating whether to
advertise tenant networks. Defaults to
true
. - ip
Version Integer - The IP version of the BGP speaker. Valid values are
4
or6
. Defaults to4
. Changing this creates a new BGP speaker. - name String
- A name for the BGP speaker.
- networks List<String>
- A list of network IDs to associate with the BGP speaker.
- peers List<String>
- A list of BGP peer IDs to associate with the BGP speaker.
- region String
- The region in which to obtain the V2 Networking client.
A Networking client is needed to create a Neutron network. If omitted, the
region
argument of the provider is used. Changing this creates a new BGP speaker. - tenant
Id String - The tenant/project ID. Required if admin privileges are used. Changing this creates a new BGP speaker.
- local
As number - The local autonomous system number (ASN) for the BGP speaker. This is a mandatory field and must be specified. Changing this creates a new BGP speaker.
- advertise
Floating booleanIp Host Routes - A boolean value indicating
whether to advertise floating IP host routes. Defaults to
true
. - advertise
Tenant booleanNetworks - A boolean value indicating whether to
advertise tenant networks. Defaults to
true
. - ip
Version number - The IP version of the BGP speaker. Valid values are
4
or6
. Defaults to4
. Changing this creates a new BGP speaker. - name string
- A name for the BGP speaker.
- networks string[]
- A list of network IDs to associate with the BGP speaker.
- peers string[]
- A list of BGP peer IDs to associate with the BGP speaker.
- region string
- The region in which to obtain the V2 Networking client.
A Networking client is needed to create a Neutron network. If omitted, the
region
argument of the provider is used. Changing this creates a new BGP speaker. - tenant
Id string - The tenant/project ID. Required if admin privileges are used. Changing this creates a new BGP speaker.
- local_
as int - The local autonomous system number (ASN) for the BGP speaker. This is a mandatory field and must be specified. Changing this creates a new BGP speaker.
- advertise_
floating_ boolip_ host_ routes - A boolean value indicating
whether to advertise floating IP host routes. Defaults to
true
. - advertise_
tenant_ boolnetworks - A boolean value indicating whether to
advertise tenant networks. Defaults to
true
. - ip_
version int - The IP version of the BGP speaker. Valid values are
4
or6
. Defaults to4
. Changing this creates a new BGP speaker. - name str
- A name for the BGP speaker.
- networks Sequence[str]
- A list of network IDs to associate with the BGP speaker.
- peers Sequence[str]
- A list of BGP peer IDs to associate with the BGP speaker.
- region str
- The region in which to obtain the V2 Networking client.
A Networking client is needed to create a Neutron network. If omitted, the
region
argument of the provider is used. Changing this creates a new BGP speaker. - tenant_
id str - The tenant/project ID. Required if admin privileges are used. Changing this creates a new BGP speaker.
- local
As Number - The local autonomous system number (ASN) for the BGP speaker. This is a mandatory field and must be specified. Changing this creates a new BGP speaker.
- advertise
Floating BooleanIp Host Routes - A boolean value indicating
whether to advertise floating IP host routes. Defaults to
true
. - advertise
Tenant BooleanNetworks - A boolean value indicating whether to
advertise tenant networks. Defaults to
true
. - ip
Version Number - The IP version of the BGP speaker. Valid values are
4
or6
. Defaults to4
. Changing this creates a new BGP speaker. - name String
- A name for the BGP speaker.
- networks List<String>
- A list of network IDs to associate with the BGP speaker.
- peers List<String>
- A list of BGP peer IDs to associate with the BGP speaker.
- region String
- The region in which to obtain the V2 Networking client.
A Networking client is needed to create a Neutron network. If omitted, the
region
argument of the provider is used. Changing this creates a new BGP speaker. - tenant
Id String - The tenant/project ID. Required if admin privileges are used. Changing this creates a new BGP speaker.
Outputs
All input properties are implicitly available as output properties. Additionally, the BgpSpeakerV2 resource produces the following output properties:
- Advertised
Routes List<Pulumi.Open Stack. Networking. Outputs. Bgp Speaker V2Advertised Route> - A list of dictionaries containing the
destination
andnext_hop
for each route advertised by the BGP speaker. This attribute is only populated after the BGP speaker has been created and has established BGP sessions with its peers. - Id string
- The provider-assigned unique ID for this managed resource.
- Advertised
Routes []BgpSpeaker V2Advertised Route - A list of dictionaries containing the
destination
andnext_hop
for each route advertised by the BGP speaker. This attribute is only populated after the BGP speaker has been created and has established BGP sessions with its peers. - Id string
- The provider-assigned unique ID for this managed resource.
- advertised
Routes List<BgpSpeaker V2Advertised Route> - A list of dictionaries containing the
destination
andnext_hop
for each route advertised by the BGP speaker. This attribute is only populated after the BGP speaker has been created and has established BGP sessions with its peers. - id String
- The provider-assigned unique ID for this managed resource.
- advertised
Routes BgpSpeaker V2Advertised Route[] - A list of dictionaries containing the
destination
andnext_hop
for each route advertised by the BGP speaker. This attribute is only populated after the BGP speaker has been created and has established BGP sessions with its peers. - id string
- The provider-assigned unique ID for this managed resource.
- advertised_
routes Sequence[BgpSpeaker V2Advertised Route] - A list of dictionaries containing the
destination
andnext_hop
for each route advertised by the BGP speaker. This attribute is only populated after the BGP speaker has been created and has established BGP sessions with its peers. - id str
- The provider-assigned unique ID for this managed resource.
- advertised
Routes List<Property Map> - A list of dictionaries containing the
destination
andnext_hop
for each route advertised by the BGP speaker. This attribute is only populated after the BGP speaker has been created and has established BGP sessions with its peers. - id String
- The provider-assigned unique ID for this managed resource.
Look up Existing BgpSpeakerV2 Resource
Get an existing BgpSpeakerV2 resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: BgpSpeakerV2State, opts?: CustomResourceOptions): BgpSpeakerV2
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
advertise_floating_ip_host_routes: Optional[bool] = None,
advertise_tenant_networks: Optional[bool] = None,
advertised_routes: Optional[Sequence[BgpSpeakerV2AdvertisedRouteArgs]] = None,
ip_version: Optional[int] = None,
local_as: Optional[int] = None,
name: Optional[str] = None,
networks: Optional[Sequence[str]] = None,
peers: Optional[Sequence[str]] = None,
region: Optional[str] = None,
tenant_id: Optional[str] = None) -> BgpSpeakerV2
func GetBgpSpeakerV2(ctx *Context, name string, id IDInput, state *BgpSpeakerV2State, opts ...ResourceOption) (*BgpSpeakerV2, error)
public static BgpSpeakerV2 Get(string name, Input<string> id, BgpSpeakerV2State? state, CustomResourceOptions? opts = null)
public static BgpSpeakerV2 get(String name, Output<String> id, BgpSpeakerV2State state, CustomResourceOptions options)
resources: _: type: openstack:networking:BgpSpeakerV2 get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Advertise
Floating boolIp Host Routes - A boolean value indicating
whether to advertise floating IP host routes. Defaults to
true
. - Advertise
Tenant boolNetworks - A boolean value indicating whether to
advertise tenant networks. Defaults to
true
. - Advertised
Routes List<Pulumi.Open Stack. Networking. Inputs. Bgp Speaker V2Advertised Route> - A list of dictionaries containing the
destination
andnext_hop
for each route advertised by the BGP speaker. This attribute is only populated after the BGP speaker has been created and has established BGP sessions with its peers. - Ip
Version int - The IP version of the BGP speaker. Valid values are
4
or6
. Defaults to4
. Changing this creates a new BGP speaker. - Local
As int - The local autonomous system number (ASN) for the BGP speaker. This is a mandatory field and must be specified. Changing this creates a new BGP speaker.
- Name string
- A name for the BGP speaker.
- Networks List<string>
- A list of network IDs to associate with the BGP speaker.
- Peers List<string>
- A list of BGP peer IDs to associate with the BGP speaker.
- Region string
- The region in which to obtain the V2 Networking client.
A Networking client is needed to create a Neutron network. If omitted, the
region
argument of the provider is used. Changing this creates a new BGP speaker. - Tenant
Id string - The tenant/project ID. Required if admin privileges are used. Changing this creates a new BGP speaker.
- Advertise
Floating boolIp Host Routes - A boolean value indicating
whether to advertise floating IP host routes. Defaults to
true
. - Advertise
Tenant boolNetworks - A boolean value indicating whether to
advertise tenant networks. Defaults to
true
. - Advertised
Routes []BgpSpeaker V2Advertised Route Args - A list of dictionaries containing the
destination
andnext_hop
for each route advertised by the BGP speaker. This attribute is only populated after the BGP speaker has been created and has established BGP sessions with its peers. - Ip
Version int - The IP version of the BGP speaker. Valid values are
4
or6
. Defaults to4
. Changing this creates a new BGP speaker. - Local
As int - The local autonomous system number (ASN) for the BGP speaker. This is a mandatory field and must be specified. Changing this creates a new BGP speaker.
- Name string
- A name for the BGP speaker.
- Networks []string
- A list of network IDs to associate with the BGP speaker.
- Peers []string
- A list of BGP peer IDs to associate with the BGP speaker.
- Region string
- The region in which to obtain the V2 Networking client.
A Networking client is needed to create a Neutron network. If omitted, the
region
argument of the provider is used. Changing this creates a new BGP speaker. - Tenant
Id string - The tenant/project ID. Required if admin privileges are used. Changing this creates a new BGP speaker.
- advertise
Floating BooleanIp Host Routes - A boolean value indicating
whether to advertise floating IP host routes. Defaults to
true
. - advertise
Tenant BooleanNetworks - A boolean value indicating whether to
advertise tenant networks. Defaults to
true
. - advertised
Routes List<BgpSpeaker V2Advertised Route> - A list of dictionaries containing the
destination
andnext_hop
for each route advertised by the BGP speaker. This attribute is only populated after the BGP speaker has been created and has established BGP sessions with its peers. - ip
Version Integer - The IP version of the BGP speaker. Valid values are
4
or6
. Defaults to4
. Changing this creates a new BGP speaker. - local
As Integer - The local autonomous system number (ASN) for the BGP speaker. This is a mandatory field and must be specified. Changing this creates a new BGP speaker.
- name String
- A name for the BGP speaker.
- networks List<String>
- A list of network IDs to associate with the BGP speaker.
- peers List<String>
- A list of BGP peer IDs to associate with the BGP speaker.
- region String
- The region in which to obtain the V2 Networking client.
A Networking client is needed to create a Neutron network. If omitted, the
region
argument of the provider is used. Changing this creates a new BGP speaker. - tenant
Id String - The tenant/project ID. Required if admin privileges are used. Changing this creates a new BGP speaker.
- advertise
Floating booleanIp Host Routes - A boolean value indicating
whether to advertise floating IP host routes. Defaults to
true
. - advertise
Tenant booleanNetworks - A boolean value indicating whether to
advertise tenant networks. Defaults to
true
. - advertised
Routes BgpSpeaker V2Advertised Route[] - A list of dictionaries containing the
destination
andnext_hop
for each route advertised by the BGP speaker. This attribute is only populated after the BGP speaker has been created and has established BGP sessions with its peers. - ip
Version number - The IP version of the BGP speaker. Valid values are
4
or6
. Defaults to4
. Changing this creates a new BGP speaker. - local
As number - The local autonomous system number (ASN) for the BGP speaker. This is a mandatory field and must be specified. Changing this creates a new BGP speaker.
- name string
- A name for the BGP speaker.
- networks string[]
- A list of network IDs to associate with the BGP speaker.
- peers string[]
- A list of BGP peer IDs to associate with the BGP speaker.
- region string
- The region in which to obtain the V2 Networking client.
A Networking client is needed to create a Neutron network. If omitted, the
region
argument of the provider is used. Changing this creates a new BGP speaker. - tenant
Id string - The tenant/project ID. Required if admin privileges are used. Changing this creates a new BGP speaker.
- advertise_
floating_ boolip_ host_ routes - A boolean value indicating
whether to advertise floating IP host routes. Defaults to
true
. - advertise_
tenant_ boolnetworks - A boolean value indicating whether to
advertise tenant networks. Defaults to
true
. - advertised_
routes Sequence[BgpSpeaker V2Advertised Route Args] - A list of dictionaries containing the
destination
andnext_hop
for each route advertised by the BGP speaker. This attribute is only populated after the BGP speaker has been created and has established BGP sessions with its peers. - ip_
version int - The IP version of the BGP speaker. Valid values are
4
or6
. Defaults to4
. Changing this creates a new BGP speaker. - local_
as int - The local autonomous system number (ASN) for the BGP speaker. This is a mandatory field and must be specified. Changing this creates a new BGP speaker.
- name str
- A name for the BGP speaker.
- networks Sequence[str]
- A list of network IDs to associate with the BGP speaker.
- peers Sequence[str]
- A list of BGP peer IDs to associate with the BGP speaker.
- region str
- The region in which to obtain the V2 Networking client.
A Networking client is needed to create a Neutron network. If omitted, the
region
argument of the provider is used. Changing this creates a new BGP speaker. - tenant_
id str - The tenant/project ID. Required if admin privileges are used. Changing this creates a new BGP speaker.
- advertise
Floating BooleanIp Host Routes - A boolean value indicating
whether to advertise floating IP host routes. Defaults to
true
. - advertise
Tenant BooleanNetworks - A boolean value indicating whether to
advertise tenant networks. Defaults to
true
. - advertised
Routes List<Property Map> - A list of dictionaries containing the
destination
andnext_hop
for each route advertised by the BGP speaker. This attribute is only populated after the BGP speaker has been created and has established BGP sessions with its peers. - ip
Version Number - The IP version of the BGP speaker. Valid values are
4
or6
. Defaults to4
. Changing this creates a new BGP speaker. - local
As Number - The local autonomous system number (ASN) for the BGP speaker. This is a mandatory field and must be specified. Changing this creates a new BGP speaker.
- name String
- A name for the BGP speaker.
- networks List<String>
- A list of network IDs to associate with the BGP speaker.
- peers List<String>
- A list of BGP peer IDs to associate with the BGP speaker.
- region String
- The region in which to obtain the V2 Networking client.
A Networking client is needed to create a Neutron network. If omitted, the
region
argument of the provider is used. Changing this creates a new BGP speaker. - tenant
Id String - The tenant/project ID. Required if admin privileges are used. Changing this creates a new BGP speaker.
Supporting Types
BgpSpeakerV2AdvertisedRoute, BgpSpeakerV2AdvertisedRouteArgs
- Destination string
- Next
Hop string
- Destination string
- Next
Hop string
- destination String
- next
Hop String
- destination string
- next
Hop string
- destination str
- next_
hop str
- destination String
- next
Hop String
Import
BGP speakers can be imported using their ID:
$ pulumi import openstack:networking/bgpSpeakerV2:BgpSpeakerV2 speaker_1 8a2ad402-b805-46bf-a60b-008573ca2844
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- OpenStack pulumi/pulumi-openstack
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
openstack
Terraform Provider.