Modify connection strategy
Modify connection strategy workflow.
Run this workflow to change the way Ansible playbooks connect to a router. Either via OOB access, or directly to the loopback interface.
initial_input_form_generator(subscription_id)
Modify the connection strategy initial form.
Source code in gso/workflows/router/modify_connection_strategy.py
update_subscription_model(subscription, connection_strategy)
Update the database model to reflect the new connection strategy.
If the connection strategy is set to in-band, then access_via_ts should be set to False. Conversely, if the connection strategy is set to out-of-band, access_via_ts should be set to True.
Source code in gso/workflows/router/modify_connection_strategy.py
modify_connection_strategy()
Modify the connection strategy.