Create imported commercial peer
A creation workflow that adds an existing Commercial Port to the DB.
PeeringConnectionModel
Bases: BaseModel
Peering connection model for import Commercial Peer workflows.
Source code in gso/workflows/commercial_peer/create_imported_commercial_peer.py
initial_input_form_generator()
Take all information passed to this workflow by the API endpoint that was called.
Source code in gso/workflows/commercial_peer/create_imported_commercial_peer.py
create_subscription(partner)
Create a new subscription object in the database.
Source code in gso/workflows/commercial_peer/create_imported_commercial_peer.py
initialize_subscription(subscription, peering_connection_list, partner, prefix_limit_v4=None, prefix_limit_v6=None, partner_asn=None, partner_org_name=None)
Initialize the subscription with the user input.
Source code in gso/workflows/commercial_peer/create_imported_commercial_peer.py
create_imported_commercial_peer()
Create an Imported Commercial Peer without provisioning it.