Create switch
A creation workflow for adding a new switch to the subscription database.
_initial_input_form_generator(product_name)
Input form for creating a new Switch.
Source code in gso/workflows/switch/create_switch.py
create_subscription(product, partner)
Create a new subscription object.
Source code in gso/workflows/switch/create_switch.py
initialize_subscription(subscription, switch_site, ts_port, vendor, model, hostname)
Initialize the subscription with user input.
Source code in gso/workflows/switch/create_switch.py
deploy_base_config_dry(subscription, tt_number, process_id)
Perform a dry run of provisioning base config on a switch.
Source code in gso/workflows/switch/create_switch.py
deploy_base_config_real(subscription, tt_number, process_id)
Provision base config on a switch.
Source code in gso/workflows/switch/create_switch.py
prompt_console_login()
Wait for confirmation from an operator that console login is possible.
Source code in gso/workflows/switch/create_switch.py
prompt_insert_in_ims()
Wait for confirmation from an operator that the switch has been inserted in IMS.
Source code in gso/workflows/switch/create_switch.py
create_netbox_device()
run_post_deploy_checks(subscription)
Workflow step for running checks after installing base config.
Source code in gso/workflows/switch/create_switch.py
create_new_sharepoint_checklist(subscription, tt_number, process_id)
Create a new checklist in SharePoint for approving this router.
Source code in gso/workflows/switch/create_switch.py
create_switch()
Create a new Switch.
- Create a subscription object in the service database
- Deploy base configuration on the switch
- Add the switch to Netbox
- Run a check playbook after deploying base configuration
- Create a new checklist in SharePoint