BgpGroupProps
Properties for defining a BgpGroup.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-vpc-bgpgroup
Initializer
import ros_cdk_vpc
ros_cdk_vpc.BgpGroupProps(
peer_asn: typing.Union[typing.Union[int, float], IResolvable],
router_id: typing.Union[str, IResolvable],
auth_key: typing.Union[str, IResolvable] = None,
description: typing.Union[str, IResolvable] = None,
ip_version: typing.Union[str, IResolvable] = None,
is_fake_asn: typing.Union[bool, IResolvable] = None,
local_asn: typing.Union[typing.Union[int, float], IResolvable] = None,
name: typing.Union[str, IResolvable] = None,
route_quota: typing.Union[typing.Union[int, float], IResolvable] = None
)
Properties
| Name | Type | Description |
|---|---|---|
peer_asn | typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] | Property peerAsn: The AS number of the BGP peer. |
router_id | typing.Union[str, ros_cdk_core.IResolvable] | Property routerId: The ID of the VBR. |
auth_key | typing.Union[str, ros_cdk_core.IResolvable] | Property authKey: The authentication key of the BGP group. |
description | typing.Union[str, ros_cdk_core.IResolvable] | Property description: The description of the BGP group. |
ip_version | typing.Union[str, ros_cdk_core.IResolvable] | Property ipVersion: The IP version. |
is_fake_asn | typing.Union[bool, ros_cdk_core.IResolvable] | Property isFakeAsn: Specifies whether to use a fake ASN. |
local_asn | typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] | Property localAsn: The custom ASN on the cloud side. |
name | typing.Union[str, ros_cdk_core.IResolvable] | Property name: The name of the BGP group. |
route_quota | typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] | Property routeQuota: The upper limit of the BGP neighbor's route entries. |
peer_asnRequired
peer_asn: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property peerAsn: The AS number of the BGP peer.
router_idRequired
router_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property routerId: The ID of the VBR.
auth_keyOptional
auth_key: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property authKey: The authentication key of the BGP group.
descriptionOptional
description: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property description: The description of the BGP group.
The description must be 2 to 256 characters in length. It must start with a letter but cannot start with http:// or https://.
ip_versionOptional
ip_version: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property ipVersion: The IP version.
Valid values:
- IPv4: This is the default value.
- IPv6: IPv6 is supported only if the VBR for which you want to create the BGP group has IPv6 enabled.
is_fake_asnOptional
is_fake_asn: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, ros_cdk_core.IResolvable]
Property isFakeAsn: Specifies whether to use a fake ASN.
Valid values:
- false (default)
- true
A router that runs BGP typically belongs to only one AS. If you need to replace an existing AS with a new AS and you cannot immediately modify BGP configurations, you can use fake ASNs to ensure service continuity.
local_asnOptional
local_asn: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property localAsn: The custom ASN on the cloud side.
Valid values:
- 45104
- 64512~65534
- 4200000000~4294967294
65025 is reserved by the cloud platform. By default, the system uses 45104 as LocalAsn. If you use custom LocalAsn in multi-line access scenarios, loops in BGP may occur.
nameOptional
name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property name: The name of the BGP group.
The name must be 2 to 128 characters in length and can contain digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter but cannot start with http:// or https://.
route_quotaOptional
route_quota: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property routeQuota: The upper limit of the BGP neighbor's route entries.
Unit: entries, default value: 110.