Commercial peer
Commercial Peer Product Blocks.
PassiveSessionStates = [SessionState.PROVISIONED, SessionState.DISABLED, SessionState.IMPORTED_ONLY]
module-attribute
The passive session states are used for pre-filling form pages that allow for modification of a BGP peer.
SessionState
Bases: strEnum
Session state of the Peering connection.
Source code in gso/products/product_blocks/commercial_peer.py
PROVISIONED = 'provisioning'
class-attribute
instance-attribute
Provisioning.
ACTIVE = 'active'
class-attribute
instance-attribute
Active.
DISABLED = 'disabled'
class-attribute
instance-attribute
Disabled.
DENY_ALL = 'deny_all'
class-attribute
instance-attribute
Deny all.
IMPORTED_ONLY = 'imported_only'
class-attribute
instance-attribute
Imported only.
PeeringConnectionInactive
Bases: ProductBlockModel
A Peering Connection that's currently inactive. See PeeringConnectionBlock.
Source code in gso/products/product_blocks/commercial_peer.py
PeeringConnectionProvisioning
Bases: PeeringConnectionInactive
A Peering Connection that's currently being provisioned. See PeeringConnectionBlock.
Source code in gso/products/product_blocks/commercial_peer.py
PeeringConnection
Bases: PeeringConnectionProvisioning
A Peering Connection that's currently active.
Source code in gso/products/product_blocks/commercial_peer.py
CommercialPeerBlockInactive
Bases: ProductBlockModel
A Commercial Peer that's not yet provisioned. See CommercialPeerBlock.
Source code in gso/products/product_blocks/commercial_peer.py
CommercialPeerBlockProvisioning
Bases: CommercialPeerBlockInactive
An CommercialPeer that's being provisioned. See CommercialPeerBlock.
Source code in gso/products/product_blocks/commercial_peer.py
CommercialPeerBlock
Bases: CommercialPeerBlockProvisioning
An Internet Exchange Port that's active.
Attributes:
| Name | Type | Description |
|---|---|---|
peering_connection_list |
list[PeeringConnection]
|
List of Peering Connections associated with this Commercial Peer |
prefix_limit_v4 |
NonNegativeInt | None
|
Maximum number of IPv4 prefixes allowed for this Commercial Peer |
prefix_limit_v6 |
NonNegativeInt | None
|
Maximum number of IPv6 prefixes allowed for this Commercial Peer |
partner_asn |
NonNegativeInt | None
|
ASN of the partner for this Commercial Peer |
partner_org_name |
str | None
|
Name of the partner organization for this Commercial Peer |