routeros.RoutingBgpConnection
Explore with Pulumi AI
# routeros.RoutingBgpConnection (Resource)
[!WARNING] Using this resource you may happen unexpected behavior, for example, some of the attributes may not be removable after adding them to the TF configuration. Please report this to GitHub and it may be possible to fix it. Use the resource at your own risk as it is!
Create RoutingBgpConnection Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RoutingBgpConnection(name: string, args: RoutingBgpConnectionArgs, opts?: CustomResourceOptions);
@overload
def RoutingBgpConnection(resource_name: str,
args: RoutingBgpConnectionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def RoutingBgpConnection(resource_name: str,
opts: Optional[ResourceOptions] = None,
as_: Optional[str] = None,
local: Optional[RoutingBgpConnectionLocalArgs] = None,
templates: Optional[Sequence[str]] = None,
address_families: Optional[str] = None,
___path_: Optional[str] = None,
cisco_vpls_nlri_len_fmt: Optional[str] = None,
cluster_id: Optional[str] = None,
comment: Optional[str] = None,
connect: Optional[bool] = None,
disabled: Optional[bool] = None,
hold_time: Optional[str] = None,
input: Optional[RoutingBgpConnectionInputArgs] = None,
multihop: Optional[bool] = None,
add_path_out: Optional[str] = None,
listen: Optional[bool] = None,
keepalive_time: Optional[str] = None,
name: Optional[str] = None,
nexthop_choice: Optional[str] = None,
output: Optional[RoutingBgpConnectionOutputArgs] = None,
remote: Optional[RoutingBgpConnectionRemoteArgs] = None,
router_id: Optional[str] = None,
routing_bgp_connection_id: Optional[str] = None,
routing_table: Optional[str] = None,
save_to: Optional[str] = None,
tcp_md5_key: Optional[str] = None,
___id_: Optional[float] = None,
use_bfd: Optional[bool] = None,
vrf: Optional[str] = None)
func NewRoutingBgpConnection(ctx *Context, name string, args RoutingBgpConnectionArgs, opts ...ResourceOption) (*RoutingBgpConnection, error)
public RoutingBgpConnection(string name, RoutingBgpConnectionArgs args, CustomResourceOptions? opts = null)
public RoutingBgpConnection(String name, RoutingBgpConnectionArgs args)
public RoutingBgpConnection(String name, RoutingBgpConnectionArgs args, CustomResourceOptions options)
type: routeros:RoutingBgpConnection
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 RoutingBgpConnectionArgs
- 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 RoutingBgpConnectionArgs
- 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 RoutingBgpConnectionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RoutingBgpConnectionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RoutingBgpConnectionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
RoutingBgpConnection 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 RoutingBgpConnection resource accepts the following input properties:
- As string
- 32-bit BGP autonomous system number. Value can be entered in AS-Plain and AS-Dot formats. The parameter is also used to set up the BGP confederation, in the following format: confederation_as/as . For example, if your AS is 34 and your confederation AS is 43, then as configuration should be as =43/34.
- Add
Path stringOut - Address
Families string - List of address families about which this peer will exchange routing information. The remote peer must support (they usually do) BGP capabilities optional parameter to negotiate any other families than IP.
- Cisco
Vpls stringNlri Len Fmt - VPLS NLRI length format type. Used for compatibility with Cisco VPLS.
- Cluster
Id string - In case this instance is a route reflector: the cluster ID of the router reflector cluster to this instance belongs. This attribute helps to recognize routing updates that come from another route reflector in this cluster and avoid routing information looping. Note that normally there is only one route reflector in a cluster; in this case, 'cluster-id' does not need to be configured and BGP router ID is used instead.
- Comment string
- Connect bool
- Whether to allow the router to initiate the connection.
- Disabled bool
- Hold
Time string - Specifies the BGP Hold Time value to use when negotiating with peers. According to the BGP specification, if the router does not receive successive KEEPALIVE and/or UPDATE and/or NOTIFICATION messages within the period specified in the Hold Time field of the OPEN message, then the BGP connection to the peer will be closed. The minimal hold-time value of both peers will be actually used (note that the special value 0 or 'infinity' is lower than any other value) infinity - never expire the connection and never send keepalive messages.
- Input
Routing
Bgp Connection Input - A group of parameters associated with BGP input.
- Keepalive
Time string - How long to keep the BGP session open after the last received 'keepalive' message.
- Listen bool
- Whether to listen for incoming connections.
- Local
Routing
Bgp Connection Local - A group of parameters associated with BGP input.
- Multihop bool
- Specifies whether the remote peer is more than one hop away. This option affects outgoing next-hop selection as described in RFC 4271 (for EBGP only, excluding EBGP peers local to the confederation). It also affects: whether to accept connections from peers that are not in the same network (the remote address of the connection is used for this check); whether to accept incoming routes with NEXT_HOP attribute that is not in the same network as the address used to establish the connection; the target-scope of the routes installed from this peer; routes from multi-hop or IBGP peers resolve their next-hops through IGP routes by default.
- Name string
- Name of the BGP connection.
- Nexthop
Choice string - Affects the outgoing NEXTHOP attribute selection. Note that next-hops set in filters always take precedence. Also note that the next-hop is not changed on route reflection, except when it's set in the filter. default - select the next-hop as described in RFC 4271 force-self - always use a local address of the interface that is used to connect to the peer as the next-hop; propagate - try to propagate further the next-hop received; i.e. if the route has BGP NEXTHOP attribute, then use it as the next-hop, otherwise, fall back to the default case.
- Output
Routing
Bgp Connection Output - A group of parameters associated with BGP output.
- Remote
Routing
Bgp Connection Remote - A group of parameters associated with BGP input.
- Router
Id string - BGP Router ID to be used. Use the ID from the /routing/router-id configuration by specifying the reference name, or set the ID directly by specifying IP. Equal router-ids are also used to group peers into one instance.
- Routing
Bgp stringConnection Id - The ID of this resource.
- Routing
Table string - Name of the routing table, to install routes in.
- Save
To string - Filename to be used to save BGP protocol-specific packet content (Exported PDU) into pcap file. This method allows much simpler peer-specific packet capturing for debugging purposes. Pcap files in this format can also be loaded to create virtual BGP peers to recreate conditions that happened at the time when packet capture was running.
- Tcp
Md5Key string - The key used to authenticate the connection with TCP MD5 signature as described in RFC 2385. If not specified, authentication is not used.
- Templates List<string>
- List of the template names, to inherit parameters from. Useful for dynamic BGP peers.
- Use
Bfd bool - Whether to use the BFD protocol for faster connection state detection.
- Vrf string
- The VRF table this resource operates on.
- ___
id_ double - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ string - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- As string
- 32-bit BGP autonomous system number. Value can be entered in AS-Plain and AS-Dot formats. The parameter is also used to set up the BGP confederation, in the following format: confederation_as/as . For example, if your AS is 34 and your confederation AS is 43, then as configuration should be as =43/34.
- Add
Path stringOut - Address
Families string - List of address families about which this peer will exchange routing information. The remote peer must support (they usually do) BGP capabilities optional parameter to negotiate any other families than IP.
- Cisco
Vpls stringNlri Len Fmt - VPLS NLRI length format type. Used for compatibility with Cisco VPLS.
- Cluster
Id string - In case this instance is a route reflector: the cluster ID of the router reflector cluster to this instance belongs. This attribute helps to recognize routing updates that come from another route reflector in this cluster and avoid routing information looping. Note that normally there is only one route reflector in a cluster; in this case, 'cluster-id' does not need to be configured and BGP router ID is used instead.
- Comment string
- Connect bool
- Whether to allow the router to initiate the connection.
- Disabled bool
- Hold
Time string - Specifies the BGP Hold Time value to use when negotiating with peers. According to the BGP specification, if the router does not receive successive KEEPALIVE and/or UPDATE and/or NOTIFICATION messages within the period specified in the Hold Time field of the OPEN message, then the BGP connection to the peer will be closed. The minimal hold-time value of both peers will be actually used (note that the special value 0 or 'infinity' is lower than any other value) infinity - never expire the connection and never send keepalive messages.
- Input
Routing
Bgp Connection Input Type Args - A group of parameters associated with BGP input.
- Keepalive
Time string - How long to keep the BGP session open after the last received 'keepalive' message.
- Listen bool
- Whether to listen for incoming connections.
- Local
Routing
Bgp Connection Local Args - A group of parameters associated with BGP input.
- Multihop bool
- Specifies whether the remote peer is more than one hop away. This option affects outgoing next-hop selection as described in RFC 4271 (for EBGP only, excluding EBGP peers local to the confederation). It also affects: whether to accept connections from peers that are not in the same network (the remote address of the connection is used for this check); whether to accept incoming routes with NEXT_HOP attribute that is not in the same network as the address used to establish the connection; the target-scope of the routes installed from this peer; routes from multi-hop or IBGP peers resolve their next-hops through IGP routes by default.
- Name string
- Name of the BGP connection.
- Nexthop
Choice string - Affects the outgoing NEXTHOP attribute selection. Note that next-hops set in filters always take precedence. Also note that the next-hop is not changed on route reflection, except when it's set in the filter. default - select the next-hop as described in RFC 4271 force-self - always use a local address of the interface that is used to connect to the peer as the next-hop; propagate - try to propagate further the next-hop received; i.e. if the route has BGP NEXTHOP attribute, then use it as the next-hop, otherwise, fall back to the default case.
- Output
Routing
Bgp Connection Output Type Args - A group of parameters associated with BGP output.
- Remote
Routing
Bgp Connection Remote Args - A group of parameters associated with BGP input.
- Router
Id string - BGP Router ID to be used. Use the ID from the /routing/router-id configuration by specifying the reference name, or set the ID directly by specifying IP. Equal router-ids are also used to group peers into one instance.
- Routing
Bgp stringConnection Id - The ID of this resource.
- Routing
Table string - Name of the routing table, to install routes in.
- Save
To string - Filename to be used to save BGP protocol-specific packet content (Exported PDU) into pcap file. This method allows much simpler peer-specific packet capturing for debugging purposes. Pcap files in this format can also be loaded to create virtual BGP peers to recreate conditions that happened at the time when packet capture was running.
- Tcp
Md5Key string - The key used to authenticate the connection with TCP MD5 signature as described in RFC 2385. If not specified, authentication is not used.
- Templates []string
- List of the template names, to inherit parameters from. Useful for dynamic BGP peers.
- Use
Bfd bool - Whether to use the BFD protocol for faster connection state detection.
- Vrf string
- The VRF table this resource operates on.
- ___
id_ float64 - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ string - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- as String
- 32-bit BGP autonomous system number. Value can be entered in AS-Plain and AS-Dot formats. The parameter is also used to set up the BGP confederation, in the following format: confederation_as/as . For example, if your AS is 34 and your confederation AS is 43, then as configuration should be as =43/34.
- ___
id_ Double - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ String - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- add
Path StringOut - address
Families String - List of address families about which this peer will exchange routing information. The remote peer must support (they usually do) BGP capabilities optional parameter to negotiate any other families than IP.
- cisco
Vpls StringNlri Len Fmt - VPLS NLRI length format type. Used for compatibility with Cisco VPLS.
- cluster
Id String - In case this instance is a route reflector: the cluster ID of the router reflector cluster to this instance belongs. This attribute helps to recognize routing updates that come from another route reflector in this cluster and avoid routing information looping. Note that normally there is only one route reflector in a cluster; in this case, 'cluster-id' does not need to be configured and BGP router ID is used instead.
- comment String
- connect Boolean
- Whether to allow the router to initiate the connection.
- disabled Boolean
- hold
Time String - Specifies the BGP Hold Time value to use when negotiating with peers. According to the BGP specification, if the router does not receive successive KEEPALIVE and/or UPDATE and/or NOTIFICATION messages within the period specified in the Hold Time field of the OPEN message, then the BGP connection to the peer will be closed. The minimal hold-time value of both peers will be actually used (note that the special value 0 or 'infinity' is lower than any other value) infinity - never expire the connection and never send keepalive messages.
- input
Routing
Bgp Connection Input - A group of parameters associated with BGP input.
- keepalive
Time String - How long to keep the BGP session open after the last received 'keepalive' message.
- listen Boolean
- Whether to listen for incoming connections.
- local
Routing
Bgp Connection Local - A group of parameters associated with BGP input.
- multihop Boolean
- Specifies whether the remote peer is more than one hop away. This option affects outgoing next-hop selection as described in RFC 4271 (for EBGP only, excluding EBGP peers local to the confederation). It also affects: whether to accept connections from peers that are not in the same network (the remote address of the connection is used for this check); whether to accept incoming routes with NEXT_HOP attribute that is not in the same network as the address used to establish the connection; the target-scope of the routes installed from this peer; routes from multi-hop or IBGP peers resolve their next-hops through IGP routes by default.
- name String
- Name of the BGP connection.
- nexthop
Choice String - Affects the outgoing NEXTHOP attribute selection. Note that next-hops set in filters always take precedence. Also note that the next-hop is not changed on route reflection, except when it's set in the filter. default - select the next-hop as described in RFC 4271 force-self - always use a local address of the interface that is used to connect to the peer as the next-hop; propagate - try to propagate further the next-hop received; i.e. if the route has BGP NEXTHOP attribute, then use it as the next-hop, otherwise, fall back to the default case.
- output
Routing
Bgp Connection Output - A group of parameters associated with BGP output.
- remote
Routing
Bgp Connection Remote - A group of parameters associated with BGP input.
- router
Id String - BGP Router ID to be used. Use the ID from the /routing/router-id configuration by specifying the reference name, or set the ID directly by specifying IP. Equal router-ids are also used to group peers into one instance.
- routing
Bgp StringConnection Id - The ID of this resource.
- routing
Table String - Name of the routing table, to install routes in.
- save
To String - Filename to be used to save BGP protocol-specific packet content (Exported PDU) into pcap file. This method allows much simpler peer-specific packet capturing for debugging purposes. Pcap files in this format can also be loaded to create virtual BGP peers to recreate conditions that happened at the time when packet capture was running.
- tcp
Md5Key String - The key used to authenticate the connection with TCP MD5 signature as described in RFC 2385. If not specified, authentication is not used.
- templates List<String>
- List of the template names, to inherit parameters from. Useful for dynamic BGP peers.
- use
Bfd Boolean - Whether to use the BFD protocol for faster connection state detection.
- vrf String
- The VRF table this resource operates on.
- as string
- 32-bit BGP autonomous system number. Value can be entered in AS-Plain and AS-Dot formats. The parameter is also used to set up the BGP confederation, in the following format: confederation_as/as . For example, if your AS is 34 and your confederation AS is 43, then as configuration should be as =43/34.
- ___
id_ number - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ string - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- add
Path stringOut - address
Families string - List of address families about which this peer will exchange routing information. The remote peer must support (they usually do) BGP capabilities optional parameter to negotiate any other families than IP.
- cisco
Vpls stringNlri Len Fmt - VPLS NLRI length format type. Used for compatibility with Cisco VPLS.
- cluster
Id string - In case this instance is a route reflector: the cluster ID of the router reflector cluster to this instance belongs. This attribute helps to recognize routing updates that come from another route reflector in this cluster and avoid routing information looping. Note that normally there is only one route reflector in a cluster; in this case, 'cluster-id' does not need to be configured and BGP router ID is used instead.
- comment string
- connect boolean
- Whether to allow the router to initiate the connection.
- disabled boolean
- hold
Time string - Specifies the BGP Hold Time value to use when negotiating with peers. According to the BGP specification, if the router does not receive successive KEEPALIVE and/or UPDATE and/or NOTIFICATION messages within the period specified in the Hold Time field of the OPEN message, then the BGP connection to the peer will be closed. The minimal hold-time value of both peers will be actually used (note that the special value 0 or 'infinity' is lower than any other value) infinity - never expire the connection and never send keepalive messages.
- input
Routing
Bgp Connection Input - A group of parameters associated with BGP input.
- keepalive
Time string - How long to keep the BGP session open after the last received 'keepalive' message.
- listen boolean
- Whether to listen for incoming connections.
- local
Routing
Bgp Connection Local - A group of parameters associated with BGP input.
- multihop boolean
- Specifies whether the remote peer is more than one hop away. This option affects outgoing next-hop selection as described in RFC 4271 (for EBGP only, excluding EBGP peers local to the confederation). It also affects: whether to accept connections from peers that are not in the same network (the remote address of the connection is used for this check); whether to accept incoming routes with NEXT_HOP attribute that is not in the same network as the address used to establish the connection; the target-scope of the routes installed from this peer; routes from multi-hop or IBGP peers resolve their next-hops through IGP routes by default.
- name string
- Name of the BGP connection.
- nexthop
Choice string - Affects the outgoing NEXTHOP attribute selection. Note that next-hops set in filters always take precedence. Also note that the next-hop is not changed on route reflection, except when it's set in the filter. default - select the next-hop as described in RFC 4271 force-self - always use a local address of the interface that is used to connect to the peer as the next-hop; propagate - try to propagate further the next-hop received; i.e. if the route has BGP NEXTHOP attribute, then use it as the next-hop, otherwise, fall back to the default case.
- output
Routing
Bgp Connection Output - A group of parameters associated with BGP output.
- remote
Routing
Bgp Connection Remote - A group of parameters associated with BGP input.
- router
Id string - BGP Router ID to be used. Use the ID from the /routing/router-id configuration by specifying the reference name, or set the ID directly by specifying IP. Equal router-ids are also used to group peers into one instance.
- routing
Bgp stringConnection Id - The ID of this resource.
- routing
Table string - Name of the routing table, to install routes in.
- save
To string - Filename to be used to save BGP protocol-specific packet content (Exported PDU) into pcap file. This method allows much simpler peer-specific packet capturing for debugging purposes. Pcap files in this format can also be loaded to create virtual BGP peers to recreate conditions that happened at the time when packet capture was running.
- tcp
Md5Key string - The key used to authenticate the connection with TCP MD5 signature as described in RFC 2385. If not specified, authentication is not used.
- templates string[]
- List of the template names, to inherit parameters from. Useful for dynamic BGP peers.
- use
Bfd boolean - Whether to use the BFD protocol for faster connection state detection.
- vrf string
- The VRF table this resource operates on.
- as_ str
- 32-bit BGP autonomous system number. Value can be entered in AS-Plain and AS-Dot formats. The parameter is also used to set up the BGP confederation, in the following format: confederation_as/as . For example, if your AS is 34 and your confederation AS is 43, then as configuration should be as =43/34.
- ___
id_ float - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ str - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- add_
path_ strout - address_
families str - List of address families about which this peer will exchange routing information. The remote peer must support (they usually do) BGP capabilities optional parameter to negotiate any other families than IP.
- cisco_
vpls_ strnlri_ len_ fmt - VPLS NLRI length format type. Used for compatibility with Cisco VPLS.
- cluster_
id str - In case this instance is a route reflector: the cluster ID of the router reflector cluster to this instance belongs. This attribute helps to recognize routing updates that come from another route reflector in this cluster and avoid routing information looping. Note that normally there is only one route reflector in a cluster; in this case, 'cluster-id' does not need to be configured and BGP router ID is used instead.
- comment str
- connect bool
- Whether to allow the router to initiate the connection.
- disabled bool
- hold_
time str - Specifies the BGP Hold Time value to use when negotiating with peers. According to the BGP specification, if the router does not receive successive KEEPALIVE and/or UPDATE and/or NOTIFICATION messages within the period specified in the Hold Time field of the OPEN message, then the BGP connection to the peer will be closed. The minimal hold-time value of both peers will be actually used (note that the special value 0 or 'infinity' is lower than any other value) infinity - never expire the connection and never send keepalive messages.
- input
Routing
Bgp Connection Input Args - A group of parameters associated with BGP input.
- keepalive_
time str - How long to keep the BGP session open after the last received 'keepalive' message.
- listen bool
- Whether to listen for incoming connections.
- local
Routing
Bgp Connection Local Args - A group of parameters associated with BGP input.
- multihop bool
- Specifies whether the remote peer is more than one hop away. This option affects outgoing next-hop selection as described in RFC 4271 (for EBGP only, excluding EBGP peers local to the confederation). It also affects: whether to accept connections from peers that are not in the same network (the remote address of the connection is used for this check); whether to accept incoming routes with NEXT_HOP attribute that is not in the same network as the address used to establish the connection; the target-scope of the routes installed from this peer; routes from multi-hop or IBGP peers resolve their next-hops through IGP routes by default.
- name str
- Name of the BGP connection.
- nexthop_
choice str - Affects the outgoing NEXTHOP attribute selection. Note that next-hops set in filters always take precedence. Also note that the next-hop is not changed on route reflection, except when it's set in the filter. default - select the next-hop as described in RFC 4271 force-self - always use a local address of the interface that is used to connect to the peer as the next-hop; propagate - try to propagate further the next-hop received; i.e. if the route has BGP NEXTHOP attribute, then use it as the next-hop, otherwise, fall back to the default case.
- output
Routing
Bgp Connection Output Args - A group of parameters associated with BGP output.
- remote
Routing
Bgp Connection Remote Args - A group of parameters associated with BGP input.
- router_
id str - BGP Router ID to be used. Use the ID from the /routing/router-id configuration by specifying the reference name, or set the ID directly by specifying IP. Equal router-ids are also used to group peers into one instance.
- routing_
bgp_ strconnection_ id - The ID of this resource.
- routing_
table str - Name of the routing table, to install routes in.
- save_
to str - Filename to be used to save BGP protocol-specific packet content (Exported PDU) into pcap file. This method allows much simpler peer-specific packet capturing for debugging purposes. Pcap files in this format can also be loaded to create virtual BGP peers to recreate conditions that happened at the time when packet capture was running.
- tcp_
md5_ strkey - The key used to authenticate the connection with TCP MD5 signature as described in RFC 2385. If not specified, authentication is not used.
- templates Sequence[str]
- List of the template names, to inherit parameters from. Useful for dynamic BGP peers.
- use_
bfd bool - Whether to use the BFD protocol for faster connection state detection.
- vrf str
- The VRF table this resource operates on.
- as String
- 32-bit BGP autonomous system number. Value can be entered in AS-Plain and AS-Dot formats. The parameter is also used to set up the BGP confederation, in the following format: confederation_as/as . For example, if your AS is 34 and your confederation AS is 43, then as configuration should be as =43/34.
- ___
id_ Number - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ String - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- add
Path StringOut - address
Families String - List of address families about which this peer will exchange routing information. The remote peer must support (they usually do) BGP capabilities optional parameter to negotiate any other families than IP.
- cisco
Vpls StringNlri Len Fmt - VPLS NLRI length format type. Used for compatibility with Cisco VPLS.
- cluster
Id String - In case this instance is a route reflector: the cluster ID of the router reflector cluster to this instance belongs. This attribute helps to recognize routing updates that come from another route reflector in this cluster and avoid routing information looping. Note that normally there is only one route reflector in a cluster; in this case, 'cluster-id' does not need to be configured and BGP router ID is used instead.
- comment String
- connect Boolean
- Whether to allow the router to initiate the connection.
- disabled Boolean
- hold
Time String - Specifies the BGP Hold Time value to use when negotiating with peers. According to the BGP specification, if the router does not receive successive KEEPALIVE and/or UPDATE and/or NOTIFICATION messages within the period specified in the Hold Time field of the OPEN message, then the BGP connection to the peer will be closed. The minimal hold-time value of both peers will be actually used (note that the special value 0 or 'infinity' is lower than any other value) infinity - never expire the connection and never send keepalive messages.
- input Property Map
- A group of parameters associated with BGP input.
- keepalive
Time String - How long to keep the BGP session open after the last received 'keepalive' message.
- listen Boolean
- Whether to listen for incoming connections.
- local Property Map
- A group of parameters associated with BGP input.
- multihop Boolean
- Specifies whether the remote peer is more than one hop away. This option affects outgoing next-hop selection as described in RFC 4271 (for EBGP only, excluding EBGP peers local to the confederation). It also affects: whether to accept connections from peers that are not in the same network (the remote address of the connection is used for this check); whether to accept incoming routes with NEXT_HOP attribute that is not in the same network as the address used to establish the connection; the target-scope of the routes installed from this peer; routes from multi-hop or IBGP peers resolve their next-hops through IGP routes by default.
- name String
- Name of the BGP connection.
- nexthop
Choice String - Affects the outgoing NEXTHOP attribute selection. Note that next-hops set in filters always take precedence. Also note that the next-hop is not changed on route reflection, except when it's set in the filter. default - select the next-hop as described in RFC 4271 force-self - always use a local address of the interface that is used to connect to the peer as the next-hop; propagate - try to propagate further the next-hop received; i.e. if the route has BGP NEXTHOP attribute, then use it as the next-hop, otherwise, fall back to the default case.
- output Property Map
- A group of parameters associated with BGP output.
- remote Property Map
- A group of parameters associated with BGP input.
- router
Id String - BGP Router ID to be used. Use the ID from the /routing/router-id configuration by specifying the reference name, or set the ID directly by specifying IP. Equal router-ids are also used to group peers into one instance.
- routing
Bgp StringConnection Id - The ID of this resource.
- routing
Table String - Name of the routing table, to install routes in.
- save
To String - Filename to be used to save BGP protocol-specific packet content (Exported PDU) into pcap file. This method allows much simpler peer-specific packet capturing for debugging purposes. Pcap files in this format can also be loaded to create virtual BGP peers to recreate conditions that happened at the time when packet capture was running.
- tcp
Md5Key String - The key used to authenticate the connection with TCP MD5 signature as described in RFC 2385. If not specified, authentication is not used.
- templates List<String>
- List of the template names, to inherit parameters from. Useful for dynamic BGP peers.
- use
Bfd Boolean - Whether to use the BFD protocol for faster connection state detection.
- vrf String
- The VRF table this resource operates on.
Outputs
All input properties are implicitly available as output properties. Additionally, the RoutingBgpConnection resource produces the following output properties:
Look up Existing RoutingBgpConnection Resource
Get an existing RoutingBgpConnection 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?: RoutingBgpConnectionState, opts?: CustomResourceOptions): RoutingBgpConnection
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
___id_: Optional[float] = None,
___path_: Optional[str] = None,
add_path_out: Optional[str] = None,
address_families: Optional[str] = None,
as_: Optional[str] = None,
cisco_vpls_nlri_len_fmt: Optional[str] = None,
cluster_id: Optional[str] = None,
comment: Optional[str] = None,
connect: Optional[bool] = None,
disabled: Optional[bool] = None,
hold_time: Optional[str] = None,
inactive: Optional[bool] = None,
input: Optional[RoutingBgpConnectionInputArgs] = None,
keepalive_time: Optional[str] = None,
listen: Optional[bool] = None,
local: Optional[RoutingBgpConnectionLocalArgs] = None,
multihop: Optional[bool] = None,
name: Optional[str] = None,
nexthop_choice: Optional[str] = None,
output: Optional[RoutingBgpConnectionOutputArgs] = None,
remote: Optional[RoutingBgpConnectionRemoteArgs] = None,
router_id: Optional[str] = None,
routing_bgp_connection_id: Optional[str] = None,
routing_table: Optional[str] = None,
save_to: Optional[str] = None,
tcp_md5_key: Optional[str] = None,
templates: Optional[Sequence[str]] = None,
use_bfd: Optional[bool] = None,
vrf: Optional[str] = None) -> RoutingBgpConnection
func GetRoutingBgpConnection(ctx *Context, name string, id IDInput, state *RoutingBgpConnectionState, opts ...ResourceOption) (*RoutingBgpConnection, error)
public static RoutingBgpConnection Get(string name, Input<string> id, RoutingBgpConnectionState? state, CustomResourceOptions? opts = null)
public static RoutingBgpConnection get(String name, Output<String> id, RoutingBgpConnectionState state, CustomResourceOptions options)
resources: _: type: routeros:RoutingBgpConnection 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.
- Add
Path stringOut - Address
Families string - List of address families about which this peer will exchange routing information. The remote peer must support (they usually do) BGP capabilities optional parameter to negotiate any other families than IP.
- As string
- 32-bit BGP autonomous system number. Value can be entered in AS-Plain and AS-Dot formats. The parameter is also used to set up the BGP confederation, in the following format: confederation_as/as . For example, if your AS is 34 and your confederation AS is 43, then as configuration should be as =43/34.
- Cisco
Vpls stringNlri Len Fmt - VPLS NLRI length format type. Used for compatibility with Cisco VPLS.
- Cluster
Id string - In case this instance is a route reflector: the cluster ID of the router reflector cluster to this instance belongs. This attribute helps to recognize routing updates that come from another route reflector in this cluster and avoid routing information looping. Note that normally there is only one route reflector in a cluster; in this case, 'cluster-id' does not need to be configured and BGP router ID is used instead.
- Comment string
- Connect bool
- Whether to allow the router to initiate the connection.
- Disabled bool
- Hold
Time string - Specifies the BGP Hold Time value to use when negotiating with peers. According to the BGP specification, if the router does not receive successive KEEPALIVE and/or UPDATE and/or NOTIFICATION messages within the period specified in the Hold Time field of the OPEN message, then the BGP connection to the peer will be closed. The minimal hold-time value of both peers will be actually used (note that the special value 0 or 'infinity' is lower than any other value) infinity - never expire the connection and never send keepalive messages.
- Inactive bool
- Input
Routing
Bgp Connection Input - A group of parameters associated with BGP input.
- Keepalive
Time string - How long to keep the BGP session open after the last received 'keepalive' message.
- Listen bool
- Whether to listen for incoming connections.
- Local
Routing
Bgp Connection Local - A group of parameters associated with BGP input.
- Multihop bool
- Specifies whether the remote peer is more than one hop away. This option affects outgoing next-hop selection as described in RFC 4271 (for EBGP only, excluding EBGP peers local to the confederation). It also affects: whether to accept connections from peers that are not in the same network (the remote address of the connection is used for this check); whether to accept incoming routes with NEXT_HOP attribute that is not in the same network as the address used to establish the connection; the target-scope of the routes installed from this peer; routes from multi-hop or IBGP peers resolve their next-hops through IGP routes by default.
- Name string
- Name of the BGP connection.
- Nexthop
Choice string - Affects the outgoing NEXTHOP attribute selection. Note that next-hops set in filters always take precedence. Also note that the next-hop is not changed on route reflection, except when it's set in the filter. default - select the next-hop as described in RFC 4271 force-self - always use a local address of the interface that is used to connect to the peer as the next-hop; propagate - try to propagate further the next-hop received; i.e. if the route has BGP NEXTHOP attribute, then use it as the next-hop, otherwise, fall back to the default case.
- Output
Routing
Bgp Connection Output - A group of parameters associated with BGP output.
- Remote
Routing
Bgp Connection Remote - A group of parameters associated with BGP input.
- Router
Id string - BGP Router ID to be used. Use the ID from the /routing/router-id configuration by specifying the reference name, or set the ID directly by specifying IP. Equal router-ids are also used to group peers into one instance.
- Routing
Bgp stringConnection Id - The ID of this resource.
- Routing
Table string - Name of the routing table, to install routes in.
- Save
To string - Filename to be used to save BGP protocol-specific packet content (Exported PDU) into pcap file. This method allows much simpler peer-specific packet capturing for debugging purposes. Pcap files in this format can also be loaded to create virtual BGP peers to recreate conditions that happened at the time when packet capture was running.
- Tcp
Md5Key string - The key used to authenticate the connection with TCP MD5 signature as described in RFC 2385. If not specified, authentication is not used.
- Templates List<string>
- List of the template names, to inherit parameters from. Useful for dynamic BGP peers.
- Use
Bfd bool - Whether to use the BFD protocol for faster connection state detection.
- Vrf string
- The VRF table this resource operates on.
- ___
id_ double - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ string - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- Add
Path stringOut - Address
Families string - List of address families about which this peer will exchange routing information. The remote peer must support (they usually do) BGP capabilities optional parameter to negotiate any other families than IP.
- As string
- 32-bit BGP autonomous system number. Value can be entered in AS-Plain and AS-Dot formats. The parameter is also used to set up the BGP confederation, in the following format: confederation_as/as . For example, if your AS is 34 and your confederation AS is 43, then as configuration should be as =43/34.
- Cisco
Vpls stringNlri Len Fmt - VPLS NLRI length format type. Used for compatibility with Cisco VPLS.
- Cluster
Id string - In case this instance is a route reflector: the cluster ID of the router reflector cluster to this instance belongs. This attribute helps to recognize routing updates that come from another route reflector in this cluster and avoid routing information looping. Note that normally there is only one route reflector in a cluster; in this case, 'cluster-id' does not need to be configured and BGP router ID is used instead.
- Comment string
- Connect bool
- Whether to allow the router to initiate the connection.
- Disabled bool
- Hold
Time string - Specifies the BGP Hold Time value to use when negotiating with peers. According to the BGP specification, if the router does not receive successive KEEPALIVE and/or UPDATE and/or NOTIFICATION messages within the period specified in the Hold Time field of the OPEN message, then the BGP connection to the peer will be closed. The minimal hold-time value of both peers will be actually used (note that the special value 0 or 'infinity' is lower than any other value) infinity - never expire the connection and never send keepalive messages.
- Inactive bool
- Input
Routing
Bgp Connection Input Type Args - A group of parameters associated with BGP input.
- Keepalive
Time string - How long to keep the BGP session open after the last received 'keepalive' message.
- Listen bool
- Whether to listen for incoming connections.
- Local
Routing
Bgp Connection Local Args - A group of parameters associated with BGP input.
- Multihop bool
- Specifies whether the remote peer is more than one hop away. This option affects outgoing next-hop selection as described in RFC 4271 (for EBGP only, excluding EBGP peers local to the confederation). It also affects: whether to accept connections from peers that are not in the same network (the remote address of the connection is used for this check); whether to accept incoming routes with NEXT_HOP attribute that is not in the same network as the address used to establish the connection; the target-scope of the routes installed from this peer; routes from multi-hop or IBGP peers resolve their next-hops through IGP routes by default.
- Name string
- Name of the BGP connection.
- Nexthop
Choice string - Affects the outgoing NEXTHOP attribute selection. Note that next-hops set in filters always take precedence. Also note that the next-hop is not changed on route reflection, except when it's set in the filter. default - select the next-hop as described in RFC 4271 force-self - always use a local address of the interface that is used to connect to the peer as the next-hop; propagate - try to propagate further the next-hop received; i.e. if the route has BGP NEXTHOP attribute, then use it as the next-hop, otherwise, fall back to the default case.
- Output
Routing
Bgp Connection Output Type Args - A group of parameters associated with BGP output.
- Remote
Routing
Bgp Connection Remote Args - A group of parameters associated with BGP input.
- Router
Id string - BGP Router ID to be used. Use the ID from the /routing/router-id configuration by specifying the reference name, or set the ID directly by specifying IP. Equal router-ids are also used to group peers into one instance.
- Routing
Bgp stringConnection Id - The ID of this resource.
- Routing
Table string - Name of the routing table, to install routes in.
- Save
To string - Filename to be used to save BGP protocol-specific packet content (Exported PDU) into pcap file. This method allows much simpler peer-specific packet capturing for debugging purposes. Pcap files in this format can also be loaded to create virtual BGP peers to recreate conditions that happened at the time when packet capture was running.
- Tcp
Md5Key string - The key used to authenticate the connection with TCP MD5 signature as described in RFC 2385. If not specified, authentication is not used.
- Templates []string
- List of the template names, to inherit parameters from. Useful for dynamic BGP peers.
- Use
Bfd bool - Whether to use the BFD protocol for faster connection state detection.
- Vrf string
- The VRF table this resource operates on.
- ___
id_ float64 - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ string - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- ___
id_ Double - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ String - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- add
Path StringOut - address
Families String - List of address families about which this peer will exchange routing information. The remote peer must support (they usually do) BGP capabilities optional parameter to negotiate any other families than IP.
- as String
- 32-bit BGP autonomous system number. Value can be entered in AS-Plain and AS-Dot formats. The parameter is also used to set up the BGP confederation, in the following format: confederation_as/as . For example, if your AS is 34 and your confederation AS is 43, then as configuration should be as =43/34.
- cisco
Vpls StringNlri Len Fmt - VPLS NLRI length format type. Used for compatibility with Cisco VPLS.
- cluster
Id String - In case this instance is a route reflector: the cluster ID of the router reflector cluster to this instance belongs. This attribute helps to recognize routing updates that come from another route reflector in this cluster and avoid routing information looping. Note that normally there is only one route reflector in a cluster; in this case, 'cluster-id' does not need to be configured and BGP router ID is used instead.
- comment String
- connect Boolean
- Whether to allow the router to initiate the connection.
- disabled Boolean
- hold
Time String - Specifies the BGP Hold Time value to use when negotiating with peers. According to the BGP specification, if the router does not receive successive KEEPALIVE and/or UPDATE and/or NOTIFICATION messages within the period specified in the Hold Time field of the OPEN message, then the BGP connection to the peer will be closed. The minimal hold-time value of both peers will be actually used (note that the special value 0 or 'infinity' is lower than any other value) infinity - never expire the connection and never send keepalive messages.
- inactive Boolean
- input
Routing
Bgp Connection Input - A group of parameters associated with BGP input.
- keepalive
Time String - How long to keep the BGP session open after the last received 'keepalive' message.
- listen Boolean
- Whether to listen for incoming connections.
- local
Routing
Bgp Connection Local - A group of parameters associated with BGP input.
- multihop Boolean
- Specifies whether the remote peer is more than one hop away. This option affects outgoing next-hop selection as described in RFC 4271 (for EBGP only, excluding EBGP peers local to the confederation). It also affects: whether to accept connections from peers that are not in the same network (the remote address of the connection is used for this check); whether to accept incoming routes with NEXT_HOP attribute that is not in the same network as the address used to establish the connection; the target-scope of the routes installed from this peer; routes from multi-hop or IBGP peers resolve their next-hops through IGP routes by default.
- name String
- Name of the BGP connection.
- nexthop
Choice String - Affects the outgoing NEXTHOP attribute selection. Note that next-hops set in filters always take precedence. Also note that the next-hop is not changed on route reflection, except when it's set in the filter. default - select the next-hop as described in RFC 4271 force-self - always use a local address of the interface that is used to connect to the peer as the next-hop; propagate - try to propagate further the next-hop received; i.e. if the route has BGP NEXTHOP attribute, then use it as the next-hop, otherwise, fall back to the default case.
- output
Routing
Bgp Connection Output - A group of parameters associated with BGP output.
- remote
Routing
Bgp Connection Remote - A group of parameters associated with BGP input.
- router
Id String - BGP Router ID to be used. Use the ID from the /routing/router-id configuration by specifying the reference name, or set the ID directly by specifying IP. Equal router-ids are also used to group peers into one instance.
- routing
Bgp StringConnection Id - The ID of this resource.
- routing
Table String - Name of the routing table, to install routes in.
- save
To String - Filename to be used to save BGP protocol-specific packet content (Exported PDU) into pcap file. This method allows much simpler peer-specific packet capturing for debugging purposes. Pcap files in this format can also be loaded to create virtual BGP peers to recreate conditions that happened at the time when packet capture was running.
- tcp
Md5Key String - The key used to authenticate the connection with TCP MD5 signature as described in RFC 2385. If not specified, authentication is not used.
- templates List<String>
- List of the template names, to inherit parameters from. Useful for dynamic BGP peers.
- use
Bfd Boolean - Whether to use the BFD protocol for faster connection state detection.
- vrf String
- The VRF table this resource operates on.
- ___
id_ number - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ string - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- add
Path stringOut - address
Families string - List of address families about which this peer will exchange routing information. The remote peer must support (they usually do) BGP capabilities optional parameter to negotiate any other families than IP.
- as string
- 32-bit BGP autonomous system number. Value can be entered in AS-Plain and AS-Dot formats. The parameter is also used to set up the BGP confederation, in the following format: confederation_as/as . For example, if your AS is 34 and your confederation AS is 43, then as configuration should be as =43/34.
- cisco
Vpls stringNlri Len Fmt - VPLS NLRI length format type. Used for compatibility with Cisco VPLS.
- cluster
Id string - In case this instance is a route reflector: the cluster ID of the router reflector cluster to this instance belongs. This attribute helps to recognize routing updates that come from another route reflector in this cluster and avoid routing information looping. Note that normally there is only one route reflector in a cluster; in this case, 'cluster-id' does not need to be configured and BGP router ID is used instead.
- comment string
- connect boolean
- Whether to allow the router to initiate the connection.
- disabled boolean
- hold
Time string - Specifies the BGP Hold Time value to use when negotiating with peers. According to the BGP specification, if the router does not receive successive KEEPALIVE and/or UPDATE and/or NOTIFICATION messages within the period specified in the Hold Time field of the OPEN message, then the BGP connection to the peer will be closed. The minimal hold-time value of both peers will be actually used (note that the special value 0 or 'infinity' is lower than any other value) infinity - never expire the connection and never send keepalive messages.
- inactive boolean
- input
Routing
Bgp Connection Input - A group of parameters associated with BGP input.
- keepalive
Time string - How long to keep the BGP session open after the last received 'keepalive' message.
- listen boolean
- Whether to listen for incoming connections.
- local
Routing
Bgp Connection Local - A group of parameters associated with BGP input.
- multihop boolean
- Specifies whether the remote peer is more than one hop away. This option affects outgoing next-hop selection as described in RFC 4271 (for EBGP only, excluding EBGP peers local to the confederation). It also affects: whether to accept connections from peers that are not in the same network (the remote address of the connection is used for this check); whether to accept incoming routes with NEXT_HOP attribute that is not in the same network as the address used to establish the connection; the target-scope of the routes installed from this peer; routes from multi-hop or IBGP peers resolve their next-hops through IGP routes by default.
- name string
- Name of the BGP connection.
- nexthop
Choice string - Affects the outgoing NEXTHOP attribute selection. Note that next-hops set in filters always take precedence. Also note that the next-hop is not changed on route reflection, except when it's set in the filter. default - select the next-hop as described in RFC 4271 force-self - always use a local address of the interface that is used to connect to the peer as the next-hop; propagate - try to propagate further the next-hop received; i.e. if the route has BGP NEXTHOP attribute, then use it as the next-hop, otherwise, fall back to the default case.
- output
Routing
Bgp Connection Output - A group of parameters associated with BGP output.
- remote
Routing
Bgp Connection Remote - A group of parameters associated with BGP input.
- router
Id string - BGP Router ID to be used. Use the ID from the /routing/router-id configuration by specifying the reference name, or set the ID directly by specifying IP. Equal router-ids are also used to group peers into one instance.
- routing
Bgp stringConnection Id - The ID of this resource.
- routing
Table string - Name of the routing table, to install routes in.
- save
To string - Filename to be used to save BGP protocol-specific packet content (Exported PDU) into pcap file. This method allows much simpler peer-specific packet capturing for debugging purposes. Pcap files in this format can also be loaded to create virtual BGP peers to recreate conditions that happened at the time when packet capture was running.
- tcp
Md5Key string - The key used to authenticate the connection with TCP MD5 signature as described in RFC 2385. If not specified, authentication is not used.
- templates string[]
- List of the template names, to inherit parameters from. Useful for dynamic BGP peers.
- use
Bfd boolean - Whether to use the BFD protocol for faster connection state detection.
- vrf string
- The VRF table this resource operates on.
- ___
id_ float - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ str - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- add_
path_ strout - address_
families str - List of address families about which this peer will exchange routing information. The remote peer must support (they usually do) BGP capabilities optional parameter to negotiate any other families than IP.
- as_ str
- 32-bit BGP autonomous system number. Value can be entered in AS-Plain and AS-Dot formats. The parameter is also used to set up the BGP confederation, in the following format: confederation_as/as . For example, if your AS is 34 and your confederation AS is 43, then as configuration should be as =43/34.
- cisco_
vpls_ strnlri_ len_ fmt - VPLS NLRI length format type. Used for compatibility with Cisco VPLS.
- cluster_
id str - In case this instance is a route reflector: the cluster ID of the router reflector cluster to this instance belongs. This attribute helps to recognize routing updates that come from another route reflector in this cluster and avoid routing information looping. Note that normally there is only one route reflector in a cluster; in this case, 'cluster-id' does not need to be configured and BGP router ID is used instead.
- comment str
- connect bool
- Whether to allow the router to initiate the connection.
- disabled bool
- hold_
time str - Specifies the BGP Hold Time value to use when negotiating with peers. According to the BGP specification, if the router does not receive successive KEEPALIVE and/or UPDATE and/or NOTIFICATION messages within the period specified in the Hold Time field of the OPEN message, then the BGP connection to the peer will be closed. The minimal hold-time value of both peers will be actually used (note that the special value 0 or 'infinity' is lower than any other value) infinity - never expire the connection and never send keepalive messages.
- inactive bool
- input
Routing
Bgp Connection Input Args - A group of parameters associated with BGP input.
- keepalive_
time str - How long to keep the BGP session open after the last received 'keepalive' message.
- listen bool
- Whether to listen for incoming connections.
- local
Routing
Bgp Connection Local Args - A group of parameters associated with BGP input.
- multihop bool
- Specifies whether the remote peer is more than one hop away. This option affects outgoing next-hop selection as described in RFC 4271 (for EBGP only, excluding EBGP peers local to the confederation). It also affects: whether to accept connections from peers that are not in the same network (the remote address of the connection is used for this check); whether to accept incoming routes with NEXT_HOP attribute that is not in the same network as the address used to establish the connection; the target-scope of the routes installed from this peer; routes from multi-hop or IBGP peers resolve their next-hops through IGP routes by default.
- name str
- Name of the BGP connection.
- nexthop_
choice str - Affects the outgoing NEXTHOP attribute selection. Note that next-hops set in filters always take precedence. Also note that the next-hop is not changed on route reflection, except when it's set in the filter. default - select the next-hop as described in RFC 4271 force-self - always use a local address of the interface that is used to connect to the peer as the next-hop; propagate - try to propagate further the next-hop received; i.e. if the route has BGP NEXTHOP attribute, then use it as the next-hop, otherwise, fall back to the default case.
- output
Routing
Bgp Connection Output Args - A group of parameters associated with BGP output.
- remote
Routing
Bgp Connection Remote Args - A group of parameters associated with BGP input.
- router_
id str - BGP Router ID to be used. Use the ID from the /routing/router-id configuration by specifying the reference name, or set the ID directly by specifying IP. Equal router-ids are also used to group peers into one instance.
- routing_
bgp_ strconnection_ id - The ID of this resource.
- routing_
table str - Name of the routing table, to install routes in.
- save_
to str - Filename to be used to save BGP protocol-specific packet content (Exported PDU) into pcap file. This method allows much simpler peer-specific packet capturing for debugging purposes. Pcap files in this format can also be loaded to create virtual BGP peers to recreate conditions that happened at the time when packet capture was running.
- tcp_
md5_ strkey - The key used to authenticate the connection with TCP MD5 signature as described in RFC 2385. If not specified, authentication is not used.
- templates Sequence[str]
- List of the template names, to inherit parameters from. Useful for dynamic BGP peers.
- use_
bfd bool - Whether to use the BFD protocol for faster connection state detection.
- vrf str
- The VRF table this resource operates on.
- ___
id_ Number - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ String - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- add
Path StringOut - address
Families String - List of address families about which this peer will exchange routing information. The remote peer must support (they usually do) BGP capabilities optional parameter to negotiate any other families than IP.
- as String
- 32-bit BGP autonomous system number. Value can be entered in AS-Plain and AS-Dot formats. The parameter is also used to set up the BGP confederation, in the following format: confederation_as/as . For example, if your AS is 34 and your confederation AS is 43, then as configuration should be as =43/34.
- cisco
Vpls StringNlri Len Fmt - VPLS NLRI length format type. Used for compatibility with Cisco VPLS.
- cluster
Id String - In case this instance is a route reflector: the cluster ID of the router reflector cluster to this instance belongs. This attribute helps to recognize routing updates that come from another route reflector in this cluster and avoid routing information looping. Note that normally there is only one route reflector in a cluster; in this case, 'cluster-id' does not need to be configured and BGP router ID is used instead.
- comment String
- connect Boolean
- Whether to allow the router to initiate the connection.
- disabled Boolean
- hold
Time String - Specifies the BGP Hold Time value to use when negotiating with peers. According to the BGP specification, if the router does not receive successive KEEPALIVE and/or UPDATE and/or NOTIFICATION messages within the period specified in the Hold Time field of the OPEN message, then the BGP connection to the peer will be closed. The minimal hold-time value of both peers will be actually used (note that the special value 0 or 'infinity' is lower than any other value) infinity - never expire the connection and never send keepalive messages.
- inactive Boolean
- input Property Map
- A group of parameters associated with BGP input.
- keepalive
Time String - How long to keep the BGP session open after the last received 'keepalive' message.
- listen Boolean
- Whether to listen for incoming connections.
- local Property Map
- A group of parameters associated with BGP input.
- multihop Boolean
- Specifies whether the remote peer is more than one hop away. This option affects outgoing next-hop selection as described in RFC 4271 (for EBGP only, excluding EBGP peers local to the confederation). It also affects: whether to accept connections from peers that are not in the same network (the remote address of the connection is used for this check); whether to accept incoming routes with NEXT_HOP attribute that is not in the same network as the address used to establish the connection; the target-scope of the routes installed from this peer; routes from multi-hop or IBGP peers resolve their next-hops through IGP routes by default.
- name String
- Name of the BGP connection.
- nexthop
Choice String - Affects the outgoing NEXTHOP attribute selection. Note that next-hops set in filters always take precedence. Also note that the next-hop is not changed on route reflection, except when it's set in the filter. default - select the next-hop as described in RFC 4271 force-self - always use a local address of the interface that is used to connect to the peer as the next-hop; propagate - try to propagate further the next-hop received; i.e. if the route has BGP NEXTHOP attribute, then use it as the next-hop, otherwise, fall back to the default case.
- output Property Map
- A group of parameters associated with BGP output.
- remote Property Map
- A group of parameters associated with BGP input.
- router
Id String - BGP Router ID to be used. Use the ID from the /routing/router-id configuration by specifying the reference name, or set the ID directly by specifying IP. Equal router-ids are also used to group peers into one instance.
- routing
Bgp StringConnection Id - The ID of this resource.
- routing
Table String - Name of the routing table, to install routes in.
- save
To String - Filename to be used to save BGP protocol-specific packet content (Exported PDU) into pcap file. This method allows much simpler peer-specific packet capturing for debugging purposes. Pcap files in this format can also be loaded to create virtual BGP peers to recreate conditions that happened at the time when packet capture was running.
- tcp
Md5Key String - The key used to authenticate the connection with TCP MD5 signature as described in RFC 2385. If not specified, authentication is not used.
- templates List<String>
- List of the template names, to inherit parameters from. Useful for dynamic BGP peers.
- use
Bfd Boolean - Whether to use the BFD protocol for faster connection state detection.
- vrf String
- The VRF table this resource operates on.
Supporting Types
RoutingBgpConnectionInput, RoutingBgpConnectionInputArgs
- Accept
Communities string - A quick way to filter incoming updates with specific communities. It allows filtering incoming messages directly before they are even parsed and stored in memory, that way significantly reducing memory usage. Regular input filter chain can only reject prefixes which means that it will still eat memory and will be visible in /routing route table as 'not active, filtered'. Changes to be applied required session refresh.
- Accept
Ext stringCommunities - A quick way to filter incoming updates with specific extended communities. It allows filtering incoming messages directly before they are even parsed and stored in memory, that way significantly reducing memory usage. Regular input filter chain can only reject prefixes which means that it will still eat memory and will be visible in /routing route table as 'not active, filtered'. Changes to be applied required session refresh.
- Accept
Large stringCommunities - A quick way to filter incoming updates with specific large communities. It allows filtering incoming messages directly before they are even parsed and stored in memory, that way significantly reducing memory usage. Regular input filter chain can only reject prefixes which means that it will still eat memory and will be visible in /routing route table as 'not active, filtered'. Changes to be applied required session refresh.
- Accept
Nlri string - Name of the ipv4/6 address-list. A quick way to filter incoming updates with specific NLRIs. It allows filtering incoming messages directly before they are even parsed and stored in memory, that way significantly reducing memory usage. Regular input filter chain can only reject prefixes which means that it will still eat memory and will be visible in /routing route table as 'not active, filtered'. Changes to be applied required session restart.
- Accept
Unknown string - A quick way to filter incoming updates with specific 'unknown' attributes. It allows filtering incoming messages directly before they are even parsed and stored in memory, that way significantly reducing memory usage. Regular input filter chain can only reject prefixes which means that it will still eat memory and will be visible in /routing route table as 'not active, filtered'. Changes to be applied required session refresh.
- Affinity string
- Configure input multi-core processing. Read more in Routing Protocol Multi-core Support article. alone - input and output of each session are processed in its own process, most likely the best option when there are a lot of cores and a lot of peers afi, instance, vrf, remote-as - try to run input/output of new session in process with similar parameters main - run input/output in the main process (could potentially increase performance on single-core even possibly on multi-core devices with a small amount of cores) input - run output in the same process as input (can be set only for output affinity)
- Allow
As double - Indicates how many times to allow your own AS number in AS-PATH, before discarding a prefix.
- Filter string
- Name of the routing filter chain to be used on input prefixes. This happens after NLRIs are processed. If the chain is not specified, then BGP by default accepts everything.
- Ignore
As boolPath Len - Whether to ignore the AS_PATH attribute in the BGP route selection algorithm
- Limit
Process doubleRoutes Ipv4 - Try to limit the amount of received IPv4 routes to the specified number. This number does not represent the exact number of routes going to be installed in the routing table by the peer. BGP session 'clear' command must be used to reset the flag if the limit is reached.
- Limit
Process doubleRoutes Ipv6 - Try to limit the amount of received IPv6 routes to the specified number. This number does not represent the exact number of routes going to be installed in the routing table by the peer. BGP session 'clear' command must be used to reset the flag if the limit is reached.
- Accept
Communities string - A quick way to filter incoming updates with specific communities. It allows filtering incoming messages directly before they are even parsed and stored in memory, that way significantly reducing memory usage. Regular input filter chain can only reject prefixes which means that it will still eat memory and will be visible in /routing route table as 'not active, filtered'. Changes to be applied required session refresh.
- Accept
Ext stringCommunities - A quick way to filter incoming updates with specific extended communities. It allows filtering incoming messages directly before they are even parsed and stored in memory, that way significantly reducing memory usage. Regular input filter chain can only reject prefixes which means that it will still eat memory and will be visible in /routing route table as 'not active, filtered'. Changes to be applied required session refresh.
- Accept
Large stringCommunities - A quick way to filter incoming updates with specific large communities. It allows filtering incoming messages directly before they are even parsed and stored in memory, that way significantly reducing memory usage. Regular input filter chain can only reject prefixes which means that it will still eat memory and will be visible in /routing route table as 'not active, filtered'. Changes to be applied required session refresh.
- Accept
Nlri string - Name of the ipv4/6 address-list. A quick way to filter incoming updates with specific NLRIs. It allows filtering incoming messages directly before they are even parsed and stored in memory, that way significantly reducing memory usage. Regular input filter chain can only reject prefixes which means that it will still eat memory and will be visible in /routing route table as 'not active, filtered'. Changes to be applied required session restart.
- Accept
Unknown string - A quick way to filter incoming updates with specific 'unknown' attributes. It allows filtering incoming messages directly before they are even parsed and stored in memory, that way significantly reducing memory usage. Regular input filter chain can only reject prefixes which means that it will still eat memory and will be visible in /routing route table as 'not active, filtered'. Changes to be applied required session refresh.
- Affinity string
- Configure input multi-core processing. Read more in Routing Protocol Multi-core Support article. alone - input and output of each session are processed in its own process, most likely the best option when there are a lot of cores and a lot of peers afi, instance, vrf, remote-as - try to run input/output of new session in process with similar parameters main - run input/output in the main process (could potentially increase performance on single-core even possibly on multi-core devices with a small amount of cores) input - run output in the same process as input (can be set only for output affinity)
- Allow
As float64 - Indicates how many times to allow your own AS number in AS-PATH, before discarding a prefix.
- Filter string
- Name of the routing filter chain to be used on input prefixes. This happens after NLRIs are processed. If the chain is not specified, then BGP by default accepts everything.
- Ignore
As boolPath Len - Whether to ignore the AS_PATH attribute in the BGP route selection algorithm
- Limit
Process float64Routes Ipv4 - Try to limit the amount of received IPv4 routes to the specified number. This number does not represent the exact number of routes going to be installed in the routing table by the peer. BGP session 'clear' command must be used to reset the flag if the limit is reached.
- Limit
Process float64Routes Ipv6 - Try to limit the amount of received IPv6 routes to the specified number. This number does not represent the exact number of routes going to be installed in the routing table by the peer. BGP session 'clear' command must be used to reset the flag if the limit is reached.
- accept
Communities String - A quick way to filter incoming updates with specific communities. It allows filtering incoming messages directly before they are even parsed and stored in memory, that way significantly reducing memory usage. Regular input filter chain can only reject prefixes which means that it will still eat memory and will be visible in /routing route table as 'not active, filtered'. Changes to be applied required session refresh.
- accept
Ext StringCommunities - A quick way to filter incoming updates with specific extended communities. It allows filtering incoming messages directly before they are even parsed and stored in memory, that way significantly reducing memory usage. Regular input filter chain can only reject prefixes which means that it will still eat memory and will be visible in /routing route table as 'not active, filtered'. Changes to be applied required session refresh.
- accept
Large StringCommunities - A quick way to filter incoming updates with specific large communities. It allows filtering incoming messages directly before they are even parsed and stored in memory, that way significantly reducing memory usage. Regular input filter chain can only reject prefixes which means that it will still eat memory and will be visible in /routing route table as 'not active, filtered'. Changes to be applied required session refresh.
- accept
Nlri String - Name of the ipv4/6 address-list. A quick way to filter incoming updates with specific NLRIs. It allows filtering incoming messages directly before they are even parsed and stored in memory, that way significantly reducing memory usage. Regular input filter chain can only reject prefixes which means that it will still eat memory and will be visible in /routing route table as 'not active, filtered'. Changes to be applied required session restart.
- accept
Unknown String - A quick way to filter incoming updates with specific 'unknown' attributes. It allows filtering incoming messages directly before they are even parsed and stored in memory, that way significantly reducing memory usage. Regular input filter chain can only reject prefixes which means that it will still eat memory and will be visible in /routing route table as 'not active, filtered'. Changes to be applied required session refresh.
- affinity String
- Configure input multi-core processing. Read more in Routing Protocol Multi-core Support article. alone - input and output of each session are processed in its own process, most likely the best option when there are a lot of cores and a lot of peers afi, instance, vrf, remote-as - try to run input/output of new session in process with similar parameters main - run input/output in the main process (could potentially increase performance on single-core even possibly on multi-core devices with a small amount of cores) input - run output in the same process as input (can be set only for output affinity)
- allow
As Double - Indicates how many times to allow your own AS number in AS-PATH, before discarding a prefix.
- filter String
- Name of the routing filter chain to be used on input prefixes. This happens after NLRIs are processed. If the chain is not specified, then BGP by default accepts everything.
- ignore
As BooleanPath Len - Whether to ignore the AS_PATH attribute in the BGP route selection algorithm
- limit
Process DoubleRoutes Ipv4 - Try to limit the amount of received IPv4 routes to the specified number. This number does not represent the exact number of routes going to be installed in the routing table by the peer. BGP session 'clear' command must be used to reset the flag if the limit is reached.
- limit
Process DoubleRoutes Ipv6 - Try to limit the amount of received IPv6 routes to the specified number. This number does not represent the exact number of routes going to be installed in the routing table by the peer. BGP session 'clear' command must be used to reset the flag if the limit is reached.
- accept
Communities string - A quick way to filter incoming updates with specific communities. It allows filtering incoming messages directly before they are even parsed and stored in memory, that way significantly reducing memory usage. Regular input filter chain can only reject prefixes which means that it will still eat memory and will be visible in /routing route table as 'not active, filtered'. Changes to be applied required session refresh.
- accept
Ext stringCommunities - A quick way to filter incoming updates with specific extended communities. It allows filtering incoming messages directly before they are even parsed and stored in memory, that way significantly reducing memory usage. Regular input filter chain can only reject prefixes which means that it will still eat memory and will be visible in /routing route table as 'not active, filtered'. Changes to be applied required session refresh.
- accept
Large stringCommunities - A quick way to filter incoming updates with specific large communities. It allows filtering incoming messages directly before they are even parsed and stored in memory, that way significantly reducing memory usage. Regular input filter chain can only reject prefixes which means that it will still eat memory and will be visible in /routing route table as 'not active, filtered'. Changes to be applied required session refresh.
- accept
Nlri string - Name of the ipv4/6 address-list. A quick way to filter incoming updates with specific NLRIs. It allows filtering incoming messages directly before they are even parsed and stored in memory, that way significantly reducing memory usage. Regular input filter chain can only reject prefixes which means that it will still eat memory and will be visible in /routing route table as 'not active, filtered'. Changes to be applied required session restart.
- accept
Unknown string - A quick way to filter incoming updates with specific 'unknown' attributes. It allows filtering incoming messages directly before they are even parsed and stored in memory, that way significantly reducing memory usage. Regular input filter chain can only reject prefixes which means that it will still eat memory and will be visible in /routing route table as 'not active, filtered'. Changes to be applied required session refresh.
- affinity string
- Configure input multi-core processing. Read more in Routing Protocol Multi-core Support article. alone - input and output of each session are processed in its own process, most likely the best option when there are a lot of cores and a lot of peers afi, instance, vrf, remote-as - try to run input/output of new session in process with similar parameters main - run input/output in the main process (could potentially increase performance on single-core even possibly on multi-core devices with a small amount of cores) input - run output in the same process as input (can be set only for output affinity)
- allow
As number - Indicates how many times to allow your own AS number in AS-PATH, before discarding a prefix.
- filter string
- Name of the routing filter chain to be used on input prefixes. This happens after NLRIs are processed. If the chain is not specified, then BGP by default accepts everything.
- ignore
As booleanPath Len - Whether to ignore the AS_PATH attribute in the BGP route selection algorithm
- limit
Process numberRoutes Ipv4 - Try to limit the amount of received IPv4 routes to the specified number. This number does not represent the exact number of routes going to be installed in the routing table by the peer. BGP session 'clear' command must be used to reset the flag if the limit is reached.
- limit
Process numberRoutes Ipv6 - Try to limit the amount of received IPv6 routes to the specified number. This number does not represent the exact number of routes going to be installed in the routing table by the peer. BGP session 'clear' command must be used to reset the flag if the limit is reached.
- accept_
communities str - A quick way to filter incoming updates with specific communities. It allows filtering incoming messages directly before they are even parsed and stored in memory, that way significantly reducing memory usage. Regular input filter chain can only reject prefixes which means that it will still eat memory and will be visible in /routing route table as 'not active, filtered'. Changes to be applied required session refresh.
- accept_
ext_ strcommunities - A quick way to filter incoming updates with specific extended communities. It allows filtering incoming messages directly before they are even parsed and stored in memory, that way significantly reducing memory usage. Regular input filter chain can only reject prefixes which means that it will still eat memory and will be visible in /routing route table as 'not active, filtered'. Changes to be applied required session refresh.
- accept_
large_ strcommunities - A quick way to filter incoming updates with specific large communities. It allows filtering incoming messages directly before they are even parsed and stored in memory, that way significantly reducing memory usage. Regular input filter chain can only reject prefixes which means that it will still eat memory and will be visible in /routing route table as 'not active, filtered'. Changes to be applied required session refresh.
- accept_
nlri str - Name of the ipv4/6 address-list. A quick way to filter incoming updates with specific NLRIs. It allows filtering incoming messages directly before they are even parsed and stored in memory, that way significantly reducing memory usage. Regular input filter chain can only reject prefixes which means that it will still eat memory and will be visible in /routing route table as 'not active, filtered'. Changes to be applied required session restart.
- accept_
unknown str - A quick way to filter incoming updates with specific 'unknown' attributes. It allows filtering incoming messages directly before they are even parsed and stored in memory, that way significantly reducing memory usage. Regular input filter chain can only reject prefixes which means that it will still eat memory and will be visible in /routing route table as 'not active, filtered'. Changes to be applied required session refresh.
- affinity str
- Configure input multi-core processing. Read more in Routing Protocol Multi-core Support article. alone - input and output of each session are processed in its own process, most likely the best option when there are a lot of cores and a lot of peers afi, instance, vrf, remote-as - try to run input/output of new session in process with similar parameters main - run input/output in the main process (could potentially increase performance on single-core even possibly on multi-core devices with a small amount of cores) input - run output in the same process as input (can be set only for output affinity)
- allow_
as float - Indicates how many times to allow your own AS number in AS-PATH, before discarding a prefix.
- filter str
- Name of the routing filter chain to be used on input prefixes. This happens after NLRIs are processed. If the chain is not specified, then BGP by default accepts everything.
- ignore_
as_ boolpath_ len - Whether to ignore the AS_PATH attribute in the BGP route selection algorithm
- limit_
process_ floatroutes_ ipv4 - Try to limit the amount of received IPv4 routes to the specified number. This number does not represent the exact number of routes going to be installed in the routing table by the peer. BGP session 'clear' command must be used to reset the flag if the limit is reached.
- limit_
process_ floatroutes_ ipv6 - Try to limit the amount of received IPv6 routes to the specified number. This number does not represent the exact number of routes going to be installed in the routing table by the peer. BGP session 'clear' command must be used to reset the flag if the limit is reached.
- accept
Communities String - A quick way to filter incoming updates with specific communities. It allows filtering incoming messages directly before they are even parsed and stored in memory, that way significantly reducing memory usage. Regular input filter chain can only reject prefixes which means that it will still eat memory and will be visible in /routing route table as 'not active, filtered'. Changes to be applied required session refresh.
- accept
Ext StringCommunities - A quick way to filter incoming updates with specific extended communities. It allows filtering incoming messages directly before they are even parsed and stored in memory, that way significantly reducing memory usage. Regular input filter chain can only reject prefixes which means that it will still eat memory and will be visible in /routing route table as 'not active, filtered'. Changes to be applied required session refresh.
- accept
Large StringCommunities - A quick way to filter incoming updates with specific large communities. It allows filtering incoming messages directly before they are even parsed and stored in memory, that way significantly reducing memory usage. Regular input filter chain can only reject prefixes which means that it will still eat memory and will be visible in /routing route table as 'not active, filtered'. Changes to be applied required session refresh.
- accept
Nlri String - Name of the ipv4/6 address-list. A quick way to filter incoming updates with specific NLRIs. It allows filtering incoming messages directly before they are even parsed and stored in memory, that way significantly reducing memory usage. Regular input filter chain can only reject prefixes which means that it will still eat memory and will be visible in /routing route table as 'not active, filtered'. Changes to be applied required session restart.
- accept
Unknown String - A quick way to filter incoming updates with specific 'unknown' attributes. It allows filtering incoming messages directly before they are even parsed and stored in memory, that way significantly reducing memory usage. Regular input filter chain can only reject prefixes which means that it will still eat memory and will be visible in /routing route table as 'not active, filtered'. Changes to be applied required session refresh.
- affinity String
- Configure input multi-core processing. Read more in Routing Protocol Multi-core Support article. alone - input and output of each session are processed in its own process, most likely the best option when there are a lot of cores and a lot of peers afi, instance, vrf, remote-as - try to run input/output of new session in process with similar parameters main - run input/output in the main process (could potentially increase performance on single-core even possibly on multi-core devices with a small amount of cores) input - run output in the same process as input (can be set only for output affinity)
- allow
As Number - Indicates how many times to allow your own AS number in AS-PATH, before discarding a prefix.
- filter String
- Name of the routing filter chain to be used on input prefixes. This happens after NLRIs are processed. If the chain is not specified, then BGP by default accepts everything.
- ignore
As BooleanPath Len - Whether to ignore the AS_PATH attribute in the BGP route selection algorithm
- limit
Process NumberRoutes Ipv4 - Try to limit the amount of received IPv4 routes to the specified number. This number does not represent the exact number of routes going to be installed in the routing table by the peer. BGP session 'clear' command must be used to reset the flag if the limit is reached.
- limit
Process NumberRoutes Ipv6 - Try to limit the amount of received IPv6 routes to the specified number. This number does not represent the exact number of routes going to be installed in the routing table by the peer. BGP session 'clear' command must be used to reset the flag if the limit is reached.
RoutingBgpConnectionLocal, RoutingBgpConnectionLocalArgs
- Role string
- BGP role, in most common scenarios it should be set to iBGP or eBGP. More information on BGP roles can be found in the corresponding RFC draft
- Address string
- Local connection IPv4/6 address.
- Default
Address string - Port double
- Local connection port.
- Ttl double
- Time To Live (hop limit) that will be recorded in sent TCP packets.
- Role string
- BGP role, in most common scenarios it should be set to iBGP or eBGP. More information on BGP roles can be found in the corresponding RFC draft
- Address string
- Local connection IPv4/6 address.
- Default
Address string - Port float64
- Local connection port.
- Ttl float64
- Time To Live (hop limit) that will be recorded in sent TCP packets.
- role String
- BGP role, in most common scenarios it should be set to iBGP or eBGP. More information on BGP roles can be found in the corresponding RFC draft
- address String
- Local connection IPv4/6 address.
- default
Address String - port Double
- Local connection port.
- ttl Double
- Time To Live (hop limit) that will be recorded in sent TCP packets.
- role string
- BGP role, in most common scenarios it should be set to iBGP or eBGP. More information on BGP roles can be found in the corresponding RFC draft
- address string
- Local connection IPv4/6 address.
- default
Address string - port number
- Local connection port.
- ttl number
- Time To Live (hop limit) that will be recorded in sent TCP packets.
- role str
- BGP role, in most common scenarios it should be set to iBGP or eBGP. More information on BGP roles can be found in the corresponding RFC draft
- address str
- Local connection IPv4/6 address.
- default_
address str - port float
- Local connection port.
- ttl float
- Time To Live (hop limit) that will be recorded in sent TCP packets.
- role String
- BGP role, in most common scenarios it should be set to iBGP or eBGP. More information on BGP roles can be found in the corresponding RFC draft
- address String
- Local connection IPv4/6 address.
- default
Address String - port Number
- Local connection port.
- ttl Number
- Time To Live (hop limit) that will be recorded in sent TCP packets.
RoutingBgpConnectionOutput, RoutingBgpConnectionOutputArgs
- Affinity string
- Configure output multicore processing. Read more in Routing Protocol Multi-core Support article. alone - input and output of each session is processed in its own process, the most likely best option when there are a lot of cores and a lot of peers afi, instance, vrf, remote-as - try to run input/output of new session in process with similar parameters main - run input/output in the main process (could potentially increase performance on single-core even possibly on multicore devices with small amount of cores) input - run output in the same process as input (can be set only for output affinity).
- As
Override bool - If set, then all instances of the remote peer's AS number in the BGP AS-PATH attribute are replaced with the local AS number before sending a route update to that peer. Happens before routing filters and prepending.
- Default
Originate string - Specifies default route (0.0.0.0/0) distribution method.
- Default
Prepend double - The count of AS prepended to the AS path.
- Filter
Chain string - Name of the routing filter chain to be used on the output prefixes. If the chain is not specified, then BGP by default accepts everything.
- Filter
Select string - Name of the routing select chain to be used for prefix selection. If not specified, then default selection is used.
- Keep
Sent boolAttributes - Store in memory sent prefix attributes, required for ' dump-saved-advertisements ' command to work. By default, sent-out prefixes are not stored to preserve the router's memory. An option should be enabled only for debugging purposes when necessary to see currently advertised prefixes.
- Network string
- Name of the address list used to send local networks. The network is sent only if a matching IGP route exists in the routing table.
- No
Client boolTo Client Reflection - Disable client-to-client route reflection in Route Reflector setups.
- No
Early boolCut - The early cut is the mechanism, to guess (based on default RFC behavior) what would happen with the sent NPLRI when received by the remote peer. If the algorithm determines that the NLRI is going to be dropped, a peer will not even try to send it. However such behavior may not be desired in specific scenarios, then then this option should be used to disable the early cut feature.
- Redistribute string
- Enable redistribution of specified route types.
- Remove
Private boolAs - If set, then the BGP AS-PATH attribute is removed before sending out route updates if the attribute contains only private AS numbers. The removal process happens before routing filters are applied and before the local, AS number is prepended to the AS path.
- Affinity string
- Configure output multicore processing. Read more in Routing Protocol Multi-core Support article. alone - input and output of each session is processed in its own process, the most likely best option when there are a lot of cores and a lot of peers afi, instance, vrf, remote-as - try to run input/output of new session in process with similar parameters main - run input/output in the main process (could potentially increase performance on single-core even possibly on multicore devices with small amount of cores) input - run output in the same process as input (can be set only for output affinity).
- As
Override bool - If set, then all instances of the remote peer's AS number in the BGP AS-PATH attribute are replaced with the local AS number before sending a route update to that peer. Happens before routing filters and prepending.
- Default
Originate string - Specifies default route (0.0.0.0/0) distribution method.
- Default
Prepend float64 - The count of AS prepended to the AS path.
- Filter
Chain string - Name of the routing filter chain to be used on the output prefixes. If the chain is not specified, then BGP by default accepts everything.
- Filter
Select string - Name of the routing select chain to be used for prefix selection. If not specified, then default selection is used.
- Keep
Sent boolAttributes - Store in memory sent prefix attributes, required for ' dump-saved-advertisements ' command to work. By default, sent-out prefixes are not stored to preserve the router's memory. An option should be enabled only for debugging purposes when necessary to see currently advertised prefixes.
- Network string
- Name of the address list used to send local networks. The network is sent only if a matching IGP route exists in the routing table.
- No
Client boolTo Client Reflection - Disable client-to-client route reflection in Route Reflector setups.
- No
Early boolCut - The early cut is the mechanism, to guess (based on default RFC behavior) what would happen with the sent NPLRI when received by the remote peer. If the algorithm determines that the NLRI is going to be dropped, a peer will not even try to send it. However such behavior may not be desired in specific scenarios, then then this option should be used to disable the early cut feature.
- Redistribute string
- Enable redistribution of specified route types.
- Remove
Private boolAs - If set, then the BGP AS-PATH attribute is removed before sending out route updates if the attribute contains only private AS numbers. The removal process happens before routing filters are applied and before the local, AS number is prepended to the AS path.
- affinity String
- Configure output multicore processing. Read more in Routing Protocol Multi-core Support article. alone - input and output of each session is processed in its own process, the most likely best option when there are a lot of cores and a lot of peers afi, instance, vrf, remote-as - try to run input/output of new session in process with similar parameters main - run input/output in the main process (could potentially increase performance on single-core even possibly on multicore devices with small amount of cores) input - run output in the same process as input (can be set only for output affinity).
- as
Override Boolean - If set, then all instances of the remote peer's AS number in the BGP AS-PATH attribute are replaced with the local AS number before sending a route update to that peer. Happens before routing filters and prepending.
- default
Originate String - Specifies default route (0.0.0.0/0) distribution method.
- default
Prepend Double - The count of AS prepended to the AS path.
- filter
Chain String - Name of the routing filter chain to be used on the output prefixes. If the chain is not specified, then BGP by default accepts everything.
- filter
Select String - Name of the routing select chain to be used for prefix selection. If not specified, then default selection is used.
- keep
Sent BooleanAttributes - Store in memory sent prefix attributes, required for ' dump-saved-advertisements ' command to work. By default, sent-out prefixes are not stored to preserve the router's memory. An option should be enabled only for debugging purposes when necessary to see currently advertised prefixes.
- network String
- Name of the address list used to send local networks. The network is sent only if a matching IGP route exists in the routing table.
- no
Client BooleanTo Client Reflection - Disable client-to-client route reflection in Route Reflector setups.
- no
Early BooleanCut - The early cut is the mechanism, to guess (based on default RFC behavior) what would happen with the sent NPLRI when received by the remote peer. If the algorithm determines that the NLRI is going to be dropped, a peer will not even try to send it. However such behavior may not be desired in specific scenarios, then then this option should be used to disable the early cut feature.
- redistribute String
- Enable redistribution of specified route types.
- remove
Private BooleanAs - If set, then the BGP AS-PATH attribute is removed before sending out route updates if the attribute contains only private AS numbers. The removal process happens before routing filters are applied and before the local, AS number is prepended to the AS path.
- affinity string
- Configure output multicore processing. Read more in Routing Protocol Multi-core Support article. alone - input and output of each session is processed in its own process, the most likely best option when there are a lot of cores and a lot of peers afi, instance, vrf, remote-as - try to run input/output of new session in process with similar parameters main - run input/output in the main process (could potentially increase performance on single-core even possibly on multicore devices with small amount of cores) input - run output in the same process as input (can be set only for output affinity).
- as
Override boolean - If set, then all instances of the remote peer's AS number in the BGP AS-PATH attribute are replaced with the local AS number before sending a route update to that peer. Happens before routing filters and prepending.
- default
Originate string - Specifies default route (0.0.0.0/0) distribution method.
- default
Prepend number - The count of AS prepended to the AS path.
- filter
Chain string - Name of the routing filter chain to be used on the output prefixes. If the chain is not specified, then BGP by default accepts everything.
- filter
Select string - Name of the routing select chain to be used for prefix selection. If not specified, then default selection is used.
- keep
Sent booleanAttributes - Store in memory sent prefix attributes, required for ' dump-saved-advertisements ' command to work. By default, sent-out prefixes are not stored to preserve the router's memory. An option should be enabled only for debugging purposes when necessary to see currently advertised prefixes.
- network string
- Name of the address list used to send local networks. The network is sent only if a matching IGP route exists in the routing table.
- no
Client booleanTo Client Reflection - Disable client-to-client route reflection in Route Reflector setups.
- no
Early booleanCut - The early cut is the mechanism, to guess (based on default RFC behavior) what would happen with the sent NPLRI when received by the remote peer. If the algorithm determines that the NLRI is going to be dropped, a peer will not even try to send it. However such behavior may not be desired in specific scenarios, then then this option should be used to disable the early cut feature.
- redistribute string
- Enable redistribution of specified route types.
- remove
Private booleanAs - If set, then the BGP AS-PATH attribute is removed before sending out route updates if the attribute contains only private AS numbers. The removal process happens before routing filters are applied and before the local, AS number is prepended to the AS path.
- affinity str
- Configure output multicore processing. Read more in Routing Protocol Multi-core Support article. alone - input and output of each session is processed in its own process, the most likely best option when there are a lot of cores and a lot of peers afi, instance, vrf, remote-as - try to run input/output of new session in process with similar parameters main - run input/output in the main process (could potentially increase performance on single-core even possibly on multicore devices with small amount of cores) input - run output in the same process as input (can be set only for output affinity).
- as_
override bool - If set, then all instances of the remote peer's AS number in the BGP AS-PATH attribute are replaced with the local AS number before sending a route update to that peer. Happens before routing filters and prepending.
- default_
originate str - Specifies default route (0.0.0.0/0) distribution method.
- default_
prepend float - The count of AS prepended to the AS path.
- filter_
chain str - Name of the routing filter chain to be used on the output prefixes. If the chain is not specified, then BGP by default accepts everything.
- filter_
select str - Name of the routing select chain to be used for prefix selection. If not specified, then default selection is used.
- keep_
sent_ boolattributes - Store in memory sent prefix attributes, required for ' dump-saved-advertisements ' command to work. By default, sent-out prefixes are not stored to preserve the router's memory. An option should be enabled only for debugging purposes when necessary to see currently advertised prefixes.
- network str
- Name of the address list used to send local networks. The network is sent only if a matching IGP route exists in the routing table.
- no_
client_ boolto_ client_ reflection - Disable client-to-client route reflection in Route Reflector setups.
- no_
early_ boolcut - The early cut is the mechanism, to guess (based on default RFC behavior) what would happen with the sent NPLRI when received by the remote peer. If the algorithm determines that the NLRI is going to be dropped, a peer will not even try to send it. However such behavior may not be desired in specific scenarios, then then this option should be used to disable the early cut feature.
- redistribute str
- Enable redistribution of specified route types.
- remove_
private_ boolas - If set, then the BGP AS-PATH attribute is removed before sending out route updates if the attribute contains only private AS numbers. The removal process happens before routing filters are applied and before the local, AS number is prepended to the AS path.
- affinity String
- Configure output multicore processing. Read more in Routing Protocol Multi-core Support article. alone - input and output of each session is processed in its own process, the most likely best option when there are a lot of cores and a lot of peers afi, instance, vrf, remote-as - try to run input/output of new session in process with similar parameters main - run input/output in the main process (could potentially increase performance on single-core even possibly on multicore devices with small amount of cores) input - run output in the same process as input (can be set only for output affinity).
- as
Override Boolean - If set, then all instances of the remote peer's AS number in the BGP AS-PATH attribute are replaced with the local AS number before sending a route update to that peer. Happens before routing filters and prepending.
- default
Originate String - Specifies default route (0.0.0.0/0) distribution method.
- default
Prepend Number - The count of AS prepended to the AS path.
- filter
Chain String - Name of the routing filter chain to be used on the output prefixes. If the chain is not specified, then BGP by default accepts everything.
- filter
Select String - Name of the routing select chain to be used for prefix selection. If not specified, then default selection is used.
- keep
Sent BooleanAttributes - Store in memory sent prefix attributes, required for ' dump-saved-advertisements ' command to work. By default, sent-out prefixes are not stored to preserve the router's memory. An option should be enabled only for debugging purposes when necessary to see currently advertised prefixes.
- network String
- Name of the address list used to send local networks. The network is sent only if a matching IGP route exists in the routing table.
- no
Client BooleanTo Client Reflection - Disable client-to-client route reflection in Route Reflector setups.
- no
Early BooleanCut - The early cut is the mechanism, to guess (based on default RFC behavior) what would happen with the sent NPLRI when received by the remote peer. If the algorithm determines that the NLRI is going to be dropped, a peer will not even try to send it. However such behavior may not be desired in specific scenarios, then then this option should be used to disable the early cut feature.
- redistribute String
- Enable redistribution of specified route types.
- remove
Private BooleanAs - If set, then the BGP AS-PATH attribute is removed before sending out route updates if the attribute contains only private AS numbers. The removal process happens before routing filters are applied and before the local, AS number is prepended to the AS path.
RoutingBgpConnectionRemote, RoutingBgpConnectionRemoteArgs
- Address string
- Remote IPv4/6 address used to connect and/or listen to.
- Allowed
As string - List of remote AS numbers that are allowed to connect. Useful for dynamic peer configuration.
- As string
- Remote AS number. If not specified BGP will determine remote AS automatically from the OPEN message.
- Port double
- Local connection port.
- Ttl double
- Acceptable minimum Time To Live, the hop limit for this TCP connection. For example, if 'ttl=255' then only single-hop neighbors will be able to establish the connection. This property only affects EBGP peers.
- Address string
- Remote IPv4/6 address used to connect and/or listen to.
- Allowed
As string - List of remote AS numbers that are allowed to connect. Useful for dynamic peer configuration.
- As string
- Remote AS number. If not specified BGP will determine remote AS automatically from the OPEN message.
- Port float64
- Local connection port.
- Ttl float64
- Acceptable minimum Time To Live, the hop limit for this TCP connection. For example, if 'ttl=255' then only single-hop neighbors will be able to establish the connection. This property only affects EBGP peers.
- address String
- Remote IPv4/6 address used to connect and/or listen to.
- allowed
As String - List of remote AS numbers that are allowed to connect. Useful for dynamic peer configuration.
- as String
- Remote AS number. If not specified BGP will determine remote AS automatically from the OPEN message.
- port Double
- Local connection port.
- ttl Double
- Acceptable minimum Time To Live, the hop limit for this TCP connection. For example, if 'ttl=255' then only single-hop neighbors will be able to establish the connection. This property only affects EBGP peers.
- address string
- Remote IPv4/6 address used to connect and/or listen to.
- allowed
As string - List of remote AS numbers that are allowed to connect. Useful for dynamic peer configuration.
- as string
- Remote AS number. If not specified BGP will determine remote AS automatically from the OPEN message.
- port number
- Local connection port.
- ttl number
- Acceptable minimum Time To Live, the hop limit for this TCP connection. For example, if 'ttl=255' then only single-hop neighbors will be able to establish the connection. This property only affects EBGP peers.
- address str
- Remote IPv4/6 address used to connect and/or listen to.
- allowed_
as str - List of remote AS numbers that are allowed to connect. Useful for dynamic peer configuration.
- as_ str
- Remote AS number. If not specified BGP will determine remote AS automatically from the OPEN message.
- port float
- Local connection port.
- ttl float
- Acceptable minimum Time To Live, the hop limit for this TCP connection. For example, if 'ttl=255' then only single-hop neighbors will be able to establish the connection. This property only affects EBGP peers.
- address String
- Remote IPv4/6 address used to connect and/or listen to.
- allowed
As String - List of remote AS numbers that are allowed to connect. Useful for dynamic peer configuration.
- as String
- Remote AS number. If not specified BGP will determine remote AS automatically from the OPEN message.
- port Number
- Local connection port.
- ttl Number
- Acceptable minimum Time To Live, the hop limit for this TCP connection. For example, if 'ttl=255' then only single-hop neighbors will be able to establish the connection. This property only affects EBGP peers.
Package Details
- Repository
- routeros terraform-routeros/terraform-provider-routeros
- License
- Notes
- This Pulumi package is based on the
routeros
Terraform Provider.