Skip to content

Commit

Permalink
fix: PATCH VNI on associate_subnet_with_network
Browse files Browse the repository at this point in the history
Otherwise Nautobot expects full object definition (i.e. including the
UCVNI Group).
  • Loading branch information
skrobul committed Feb 10, 2025
1 parent e19a680 commit 3404acf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/neutron-understack/neutron_understack/nautobot.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,8 @@ def associate_subnet_with_network(
},
},
}
self.make_api_request(url, "put", payload)
# test
self.make_api_request(url, "patch", payload)

def subnet_delete(self, subnet_uuid: str) -> dict:
url = f"/api/ipam/prefixes/{subnet_uuid}/"
Expand Down

0 comments on commit 3404acf

Please sign in to comment.