1. Packages
  2. Routeros Provider
  3. API Docs
  4. RoutingBgpConnection
routeros 1.83.1 published on Monday, Apr 28, 2025 by terraform-routeros

routeros.RoutingBgpConnection

Explore with Pulumi AI

routeros logo
routeros 1.83.1 published on Monday, Apr 28, 2025 by terraform-routeros

    # 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.
    AddPathOut string
    AddressFamilies 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.
    CiscoVplsNlriLenFmt string
    VPLS NLRI length format type. Used for compatibility with Cisco VPLS.
    ClusterId 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
    HoldTime 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 RoutingBgpConnectionInput
    A group of parameters associated with BGP input.
    KeepaliveTime string
    How long to keep the BGP session open after the last received 'keepalive' message.
    Listen bool
    Whether to listen for incoming connections.
    Local RoutingBgpConnectionLocal
    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.
    NexthopChoice 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 RoutingBgpConnectionOutput
    A group of parameters associated with BGP output.
    Remote RoutingBgpConnectionRemote
    A group of parameters associated with BGP input.
    RouterId 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.
    RoutingBgpConnectionId string
    The ID of this resource.
    RoutingTable string
    Name of the routing table, to install routes in.
    SaveTo 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.
    TcpMd5Key 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.
    UseBfd 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.
    AddPathOut string
    AddressFamilies 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.
    CiscoVplsNlriLenFmt string
    VPLS NLRI length format type. Used for compatibility with Cisco VPLS.
    ClusterId 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
    HoldTime 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 RoutingBgpConnectionInputTypeArgs
    A group of parameters associated with BGP input.
    KeepaliveTime string
    How long to keep the BGP session open after the last received 'keepalive' message.
    Listen bool
    Whether to listen for incoming connections.
    Local RoutingBgpConnectionLocalArgs
    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.
    NexthopChoice 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 RoutingBgpConnectionOutputTypeArgs
    A group of parameters associated with BGP output.
    Remote RoutingBgpConnectionRemoteArgs
    A group of parameters associated with BGP input.
    RouterId 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.
    RoutingBgpConnectionId string
    The ID of this resource.
    RoutingTable string
    Name of the routing table, to install routes in.
    SaveTo 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.
    TcpMd5Key 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.
    UseBfd 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.
    addPathOut String
    addressFamilies 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.
    ciscoVplsNlriLenFmt String
    VPLS NLRI length format type. Used for compatibility with Cisco VPLS.
    clusterId 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
    holdTime 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 RoutingBgpConnectionInput
    A group of parameters associated with BGP input.
    keepaliveTime String
    How long to keep the BGP session open after the last received 'keepalive' message.
    listen Boolean
    Whether to listen for incoming connections.
    local RoutingBgpConnectionLocal
    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.
    nexthopChoice 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 RoutingBgpConnectionOutput
    A group of parameters associated with BGP output.
    remote RoutingBgpConnectionRemote
    A group of parameters associated with BGP input.
    routerId 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.
    routingBgpConnectionId String
    The ID of this resource.
    routingTable String
    Name of the routing table, to install routes in.
    saveTo 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.
    tcpMd5Key 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.
    useBfd 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.
    addPathOut string
    addressFamilies 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.
    ciscoVplsNlriLenFmt string
    VPLS NLRI length format type. Used for compatibility with Cisco VPLS.
    clusterId 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
    holdTime 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 RoutingBgpConnectionInput
    A group of parameters associated with BGP input.
    keepaliveTime string
    How long to keep the BGP session open after the last received 'keepalive' message.
    listen boolean
    Whether to listen for incoming connections.
    local RoutingBgpConnectionLocal
    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.
    nexthopChoice 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 RoutingBgpConnectionOutput
    A group of parameters associated with BGP output.
    remote RoutingBgpConnectionRemote
    A group of parameters associated with BGP input.
    routerId 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.
    routingBgpConnectionId string
    The ID of this resource.
    routingTable string
    Name of the routing table, to install routes in.
    saveTo 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.
    tcpMd5Key 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.
    useBfd 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_out str
    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_nlri_len_fmt str
    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 RoutingBgpConnectionInputArgs
    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 RoutingBgpConnectionLocalArgs
    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 RoutingBgpConnectionOutputArgs
    A group of parameters associated with BGP output.
    remote RoutingBgpConnectionRemoteArgs
    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_connection_id str
    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_key str
    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.
    addPathOut String
    addressFamilies 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.
    ciscoVplsNlriLenFmt String
    VPLS NLRI length format type. Used for compatibility with Cisco VPLS.
    clusterId 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
    holdTime 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.
    keepaliveTime 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.
    nexthopChoice 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.
    routerId 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.
    routingBgpConnectionId String
    The ID of this resource.
    routingTable String
    Name of the routing table, to install routes in.
    saveTo 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.
    tcpMd5Key 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.
    useBfd 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:

    Id string
    The provider-assigned unique ID for this managed resource.
    Inactive bool
    Id string
    The provider-assigned unique ID for this managed resource.
    Inactive bool
    id String
    The provider-assigned unique ID for this managed resource.
    inactive Boolean
    id string
    The provider-assigned unique ID for this managed resource.
    inactive boolean
    id str
    The provider-assigned unique ID for this managed resource.
    inactive bool
    id String
    The provider-assigned unique ID for this managed resource.
    inactive Boolean

    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.
    The following state arguments are supported:
    AddPathOut string
    AddressFamilies 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.
    CiscoVplsNlriLenFmt string
    VPLS NLRI length format type. Used for compatibility with Cisco VPLS.
    ClusterId 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
    HoldTime 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 RoutingBgpConnectionInput
    A group of parameters associated with BGP input.
    KeepaliveTime string
    How long to keep the BGP session open after the last received 'keepalive' message.
    Listen bool
    Whether to listen for incoming connections.
    Local RoutingBgpConnectionLocal
    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.
    NexthopChoice 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 RoutingBgpConnectionOutput
    A group of parameters associated with BGP output.
    Remote RoutingBgpConnectionRemote
    A group of parameters associated with BGP input.
    RouterId 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.
    RoutingBgpConnectionId string
    The ID of this resource.
    RoutingTable string
    Name of the routing table, to install routes in.
    SaveTo 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.
    TcpMd5Key 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.
    UseBfd 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.
    AddPathOut string
    AddressFamilies 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.
    CiscoVplsNlriLenFmt string
    VPLS NLRI length format type. Used for compatibility with Cisco VPLS.
    ClusterId 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
    HoldTime 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 RoutingBgpConnectionInputTypeArgs
    A group of parameters associated with BGP input.
    KeepaliveTime string
    How long to keep the BGP session open after the last received 'keepalive' message.
    Listen bool
    Whether to listen for incoming connections.
    Local RoutingBgpConnectionLocalArgs
    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.
    NexthopChoice 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 RoutingBgpConnectionOutputTypeArgs
    A group of parameters associated with BGP output.
    Remote RoutingBgpConnectionRemoteArgs
    A group of parameters associated with BGP input.
    RouterId 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.
    RoutingBgpConnectionId string
    The ID of this resource.
    RoutingTable string
    Name of the routing table, to install routes in.
    SaveTo 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.
    TcpMd5Key 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.
    UseBfd 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.
    addPathOut String
    addressFamilies 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.
    ciscoVplsNlriLenFmt String
    VPLS NLRI length format type. Used for compatibility with Cisco VPLS.
    clusterId 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
    holdTime 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 RoutingBgpConnectionInput
    A group of parameters associated with BGP input.
    keepaliveTime String
    How long to keep the BGP session open after the last received 'keepalive' message.
    listen Boolean
    Whether to listen for incoming connections.
    local RoutingBgpConnectionLocal
    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.
    nexthopChoice 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 RoutingBgpConnectionOutput
    A group of parameters associated with BGP output.
    remote RoutingBgpConnectionRemote
    A group of parameters associated with BGP input.
    routerId 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.
    routingBgpConnectionId String
    The ID of this resource.
    routingTable String
    Name of the routing table, to install routes in.
    saveTo 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.
    tcpMd5Key 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.
    useBfd 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.
    addPathOut string
    addressFamilies 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.
    ciscoVplsNlriLenFmt string
    VPLS NLRI length format type. Used for compatibility with Cisco VPLS.
    clusterId 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
    holdTime 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 RoutingBgpConnectionInput
    A group of parameters associated with BGP input.
    keepaliveTime string
    How long to keep the BGP session open after the last received 'keepalive' message.
    listen boolean
    Whether to listen for incoming connections.
    local RoutingBgpConnectionLocal
    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.
    nexthopChoice 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 RoutingBgpConnectionOutput
    A group of parameters associated with BGP output.
    remote RoutingBgpConnectionRemote
    A group of parameters associated with BGP input.
    routerId 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.
    routingBgpConnectionId string
    The ID of this resource.
    routingTable string
    Name of the routing table, to install routes in.
    saveTo 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.
    tcpMd5Key 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.
    useBfd 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_out str
    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_nlri_len_fmt str
    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 RoutingBgpConnectionInputArgs
    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 RoutingBgpConnectionLocalArgs
    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 RoutingBgpConnectionOutputArgs
    A group of parameters associated with BGP output.
    remote RoutingBgpConnectionRemoteArgs
    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_connection_id str
    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_key str
    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.
    addPathOut String
    addressFamilies 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.
    ciscoVplsNlriLenFmt String
    VPLS NLRI length format type. Used for compatibility with Cisco VPLS.
    clusterId 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
    holdTime 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.
    keepaliveTime 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.
    nexthopChoice 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.
    routerId 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.
    routingBgpConnectionId String
    The ID of this resource.
    routingTable String
    Name of the routing table, to install routes in.
    saveTo 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.
    tcpMd5Key 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.
    useBfd 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

    AcceptCommunities 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.
    AcceptExtCommunities string
    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.
    AcceptLargeCommunities string
    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.
    AcceptNlri 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.
    AcceptUnknown 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)
    AllowAs 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.
    IgnoreAsPathLen bool
    Whether to ignore the AS_PATH attribute in the BGP route selection algorithm
    LimitProcessRoutesIpv4 double
    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.
    LimitProcessRoutesIpv6 double
    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.
    AcceptCommunities 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.
    AcceptExtCommunities string
    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.
    AcceptLargeCommunities string
    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.
    AcceptNlri 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.
    AcceptUnknown 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)
    AllowAs 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.
    IgnoreAsPathLen bool
    Whether to ignore the AS_PATH attribute in the BGP route selection algorithm
    LimitProcessRoutesIpv4 float64
    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.
    LimitProcessRoutesIpv6 float64
    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.
    acceptCommunities 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.
    acceptExtCommunities String
    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.
    acceptLargeCommunities String
    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.
    acceptNlri 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.
    acceptUnknown 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)
    allowAs 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.
    ignoreAsPathLen Boolean
    Whether to ignore the AS_PATH attribute in the BGP route selection algorithm
    limitProcessRoutesIpv4 Double
    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.
    limitProcessRoutesIpv6 Double
    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.
    acceptCommunities 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.
    acceptExtCommunities string
    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.
    acceptLargeCommunities string
    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.
    acceptNlri 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.
    acceptUnknown 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)
    allowAs 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.
    ignoreAsPathLen boolean
    Whether to ignore the AS_PATH attribute in the BGP route selection algorithm
    limitProcessRoutesIpv4 number
    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.
    limitProcessRoutesIpv6 number
    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_communities str
    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_communities str
    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_path_len bool
    Whether to ignore the AS_PATH attribute in the BGP route selection algorithm
    limit_process_routes_ipv4 float
    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_routes_ipv6 float
    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.
    acceptCommunities 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.
    acceptExtCommunities String
    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.
    acceptLargeCommunities String
    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.
    acceptNlri 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.
    acceptUnknown 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)
    allowAs 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.
    ignoreAsPathLen Boolean
    Whether to ignore the AS_PATH attribute in the BGP route selection algorithm
    limitProcessRoutesIpv4 Number
    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.
    limitProcessRoutesIpv6 Number
    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.
    DefaultAddress 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.
    DefaultAddress 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.
    defaultAddress 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.
    defaultAddress 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.
    defaultAddress 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).
    AsOverride 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.
    DefaultOriginate string
    Specifies default route (0.0.0.0/0) distribution method.
    DefaultPrepend double
    The count of AS prepended to the AS path.
    FilterChain 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.
    FilterSelect string
    Name of the routing select chain to be used for prefix selection. If not specified, then default selection is used.
    KeepSentAttributes bool
    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.
    NoClientToClientReflection bool
    Disable client-to-client route reflection in Route Reflector setups.
    NoEarlyCut bool
    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.
    RemovePrivateAs bool
    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).
    AsOverride 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.
    DefaultOriginate string
    Specifies default route (0.0.0.0/0) distribution method.
    DefaultPrepend float64
    The count of AS prepended to the AS path.
    FilterChain 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.
    FilterSelect string
    Name of the routing select chain to be used for prefix selection. If not specified, then default selection is used.
    KeepSentAttributes bool
    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.
    NoClientToClientReflection bool
    Disable client-to-client route reflection in Route Reflector setups.
    NoEarlyCut bool
    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.
    RemovePrivateAs bool
    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).
    asOverride 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.
    defaultOriginate String
    Specifies default route (0.0.0.0/0) distribution method.
    defaultPrepend Double
    The count of AS prepended to the AS path.
    filterChain 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.
    filterSelect String
    Name of the routing select chain to be used for prefix selection. If not specified, then default selection is used.
    keepSentAttributes Boolean
    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.
    noClientToClientReflection Boolean
    Disable client-to-client route reflection in Route Reflector setups.
    noEarlyCut Boolean
    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.
    removePrivateAs Boolean
    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).
    asOverride 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.
    defaultOriginate string
    Specifies default route (0.0.0.0/0) distribution method.
    defaultPrepend number
    The count of AS prepended to the AS path.
    filterChain 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.
    filterSelect string
    Name of the routing select chain to be used for prefix selection. If not specified, then default selection is used.
    keepSentAttributes boolean
    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.
    noClientToClientReflection boolean
    Disable client-to-client route reflection in Route Reflector setups.
    noEarlyCut boolean
    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.
    removePrivateAs boolean
    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_attributes bool
    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_to_client_reflection bool
    Disable client-to-client route reflection in Route Reflector setups.
    no_early_cut bool
    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_as bool
    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).
    asOverride 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.
    defaultOriginate String
    Specifies default route (0.0.0.0/0) distribution method.
    defaultPrepend Number
    The count of AS prepended to the AS path.
    filterChain 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.
    filterSelect String
    Name of the routing select chain to be used for prefix selection. If not specified, then default selection is used.
    keepSentAttributes Boolean
    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.
    noClientToClientReflection Boolean
    Disable client-to-client route reflection in Route Reflector setups.
    noEarlyCut Boolean
    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.
    removePrivateAs Boolean
    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.
    AllowedAs 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.
    AllowedAs 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.
    allowedAs 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.
    allowedAs 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.
    allowedAs 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.
    routeros logo
    routeros 1.83.1 published on Monday, Apr 28, 2025 by terraform-routeros