BgpPeerProps
Properties for defining a BgpPeer.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-vpc-bgppeer
Initializer
import ros_cdk_vpc
ros_cdk_vpc.BgpPeerProps(
bgp_group_id: typing.Union[str, IResolvable],
bfd_multi_hop: typing.Union[typing.Union[int, float], IResolvable] = None,
enable_bfd: typing.Union[bool, IResolvable] = None,
ip_version: typing.Union[str, IResolvable] = None,
peer_ip_address: typing.Union[str, IResolvable] = None
)
Properties
| Name | Type | Description |
|---|---|---|
bgp_group_id | typing.Union[str, ros_cdk_core.IResolvable] | Property bgpGroupId: The ID of the BGP group. |
bfd_multi_hop | typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] | Property bfdMultiHop: The BFD hop count. |
enable_bfd | typing.Union[bool, ros_cdk_core.IResolvable] | Property enableBfd: Specifies whether to enable the Bidirectional Forwarding Detection (BFD) feature. |
ip_version | typing.Union[str, ros_cdk_core.IResolvable] | Property ipVersion: The IP version. |
peer_ip_address | typing.Union[str, ros_cdk_core.IResolvable] | Property peerIpAddress: The IP address of the BGP peer. |
bgp_group_idRequired
bgp_group_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property bgpGroupId: The ID of the BGP group.
bfd_multi_hopOptional
bfd_multi_hop: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property bfdMultiHop: The BFD hop count.
Valid values: 1 to 255. When enabling BFD, this parameter must be configured. It specifies the maximum number of hops that a packet can traverse from source to destination. You can set different hop counts based on actual physical link conditions. When using BFD in a multi-cloud environment or direct fiber connection without intermediate bridging devices, change the default BFD hop count from 255 to 1.
enable_bfdOptional
enable_bfd: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, ros_cdk_core.IResolvable]
Property enableBfd: Specifies whether to enable the Bidirectional Forwarding Detection (BFD) feature.
Valid values: true: enables BFD. false: disables BFD.
ip_versionOptional
ip_version: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property ipVersion: The IP version.
Valid values:
- IPv4 (default): IPv4 version.
- IPv6: IPv6 version. IPv6 is supported only when the VBR associated with the BGP group has IPv6 enabled.
peer_ip_addressOptional
peer_ip_address: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property peerIpAddress: The IP address of the BGP peer.