From 72a0b0453cb0769a249b976f1a09bddcc9acdb5d Mon Sep 17 00:00:00 2001 From: Milan Fencik Date: Thu, 7 Nov 2024 17:23:37 +0000 Subject: [PATCH] fix prep_switch_interface url --- .../understack_workflows/main/undersync_device.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/understack-workflows/understack_workflows/main/undersync_device.py b/python/understack-workflows/understack_workflows/main/undersync_device.py index c56085cb0..e01f94cde 100644 --- a/python/understack-workflows/understack_workflows/main/undersync_device.py +++ b/python/understack-workflows/understack_workflows/main/undersync_device.py @@ -79,7 +79,7 @@ def update_nautobot_for_tenant( # Making this http request directly because it was not clear how to get # the pynautobot api client to call an arbitrary endpoint: - uri = f"{nb_url}/api/plugins/undercloud-vni/ucvni_jobs/prep_switch_interface" + uri = f"{nb_url}/api/plugins/undercloud-vni/prep_switch_interface" payload = { "ucvni_id": str(ucvni_id), "server_interface_mac": str(server_interface_mac),