Skip to content
Snippets Groups Projects
Verified Commit 95805e02 authored by Karel van Klink's avatar Karel van Klink :smiley_cat:
Browse files

add verbs to playbook steps in iBGP workflow

parent 570e732c
Branches
Tags
1 merge request!126Add iBGP workflow and LibreNMS client
......@@ -82,6 +82,7 @@ def add_p_to_mesh_dry(
"dry_run": True,
"subscription": subscription,
"commit_comment": f"GSO_PROCESS_ID: {process_id} - TT_NUMBER: {tt_number} - Update iBGP mesh",
"verb": "add_p_to_pe",
}
provisioning_proxy.execute_playbook(
......@@ -101,6 +102,7 @@ def add_p_to_mesh_real(
"dry_run": False,
"subscription": subscription,
"commit_comment": f"GSO_PROCESS_ID: {process_id} - TT_NUMBER: {tt_number} - Update iBGP mesh",
"verb": "add_p_to_pe",
}
provisioning_proxy.execute_playbook(
......@@ -127,6 +129,7 @@ def add_all_pe_to_p_dry(
for router in pe_router_list
},
"commit_comment": f"GSO_PROCESS_ID: {process_id} - TT_NUMBER: {tt_number} - Update iBGP mesh",
"verb": "add_pe_to_p",
}
provisioning_proxy.execute_playbook(
......@@ -153,6 +156,7 @@ def add_all_pe_to_p_real(
for router in pe_router_list
},
"commit_comment": f"GSO_PROCESS_ID: {process_id} - TT_NUMBER: {tt_number} - Update iBGP mesh",
"verb": "add_pe_to_p",
}
provisioning_proxy.execute_playbook(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment