Create lan switch interconnect
A creation workflow for creating a new interconnect between a switch and a router.
create_subscription(product, partner)
Create a new subscription object in the database.
Source code in gso/workflows/lan_switch_interconnect/create_lan_switch_interconnect.py
initialize_subscription(subscription, description, minimum_link_count, router_side, router_side_iface, router_side_ae_members, switch_side, switch_side_iface, switch_side_ae_members)
Update the product model with all input from the operator.
Source code in gso/workflows/lan_switch_interconnect/create_lan_switch_interconnect.py
register_dns_records_v4_network(subscription)
Add DNS records in IPAM.
Source code in gso/workflows/lan_switch_interconnect/create_lan_switch_interconnect.py
register_dns_records_v4_devices(subscription, subscription_id, ipam_registrations)
Register DNS records for both switch and router side in IPAM.
Source code in gso/workflows/lan_switch_interconnect/create_lan_switch_interconnect.py
register_dns_records_v6_network(subscription)
Add DNS records in IPAM.
Source code in gso/workflows/lan_switch_interconnect/create_lan_switch_interconnect.py
register_dns_records_v6_devices(subscription, subscription_id, ipam_registrations)
Register DNS records for both switch and router side in IPAM.
Source code in gso/workflows/lan_switch_interconnect/create_lan_switch_interconnect.py
create_lan_switch_interconnect()
Create a new LAN interconnect between a Switch and a Router.