Create edge port
A creation workflow for adding a new edge port to the network.
initial_input_form_generator(product_name)
Gather information to create a new Edge Port.
Source code in gso/workflows/edge_port/create_edge_port.py
40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 |
|
create_subscription(product, partner)
Create a new subscription object.
Source code in gso/workflows/edge_port/create_edge_port.py
initialize_subscription(subscription, node, service_type, speed, encapsulation, name, minimum_links, mac_address, partner, enable_lacp, ignore_if_down, generate_ga_id, ae_members, description=None, custom_service_name=None, ga_id=None)
Initialise the subscription object in the service database.
Source code in gso/workflows/edge_port/create_edge_port.py
reserve_interfaces_in_netbox(subscription)
Create the LAG interfaces in NetBox and attach the LAG interfaces to the physical interfaces.
Source code in gso/workflows/edge_port/create_edge_port.py
allocate_interfaces_in_netbox(subscription)
Allocate the interfaces in NetBox.
Source code in gso/workflows/edge_port/create_edge_port.py
create_edge_port_dry(subscription, tt_number, process_id, partner_name)
Create a new edge port in the network as a dry run.
Source code in gso/workflows/edge_port/create_edge_port.py
create_edge_port_real(subscription, tt_number, process_id, partner_name)
Create a new edge port in the network for real.
Source code in gso/workflows/edge_port/create_edge_port.py
create_edge_port()
Create a new edge port in the network.
- Create and initialise the subscription object in the service database
- Deploy configuration on the new edge port, first as a dry run
- allocate LAG and LAG members in the Netbox.