mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Add origins, destinations properties on CablePath
This commit is contained in:
@ -64,5 +64,4 @@ def rebuild_paths(terminations):
|
||||
with transaction.atomic():
|
||||
for cp in cable_paths:
|
||||
cp.delete()
|
||||
origins = [path_node_to_object(node) for node in cp.path[0]]
|
||||
create_cablepath(origins)
|
||||
create_cablepath(cp.origins)
|
||||
|
Reference in New Issue
Block a user