diff options
author | Sean Smith <ssmith@iol.unh.edu> | 2021-03-08 16:21:56 -0500 |
---|---|---|
committer | Sean Smith <ssmith@iol.unh.edu> | 2021-03-08 16:21:56 -0500 |
commit | 8a902d357fa6eca07384d25fac32a6e0521a63e5 (patch) | |
tree | 9f6b70e20c254d4fe75f47537c434fe2f8b671f9 /src/dashboard/tasks.py | |
parent | a320df5bf04978fc1e73a2e49d1a4bed5b82b849 (diff) |
Release VLAN on booking end
Signed-off-by: Sean Smith <ssmith@iol.unh.edu>
Change-Id: Ib17fd871501a2af46bb78bbdfc68112a66e763c0
Diffstat (limited to 'src/dashboard/tasks.py')
-rw-r--r-- | src/dashboard/tasks.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dashboard/tasks.py b/src/dashboard/tasks.py index fec8384..3f88449 100644 --- a/src/dashboard/tasks.py +++ b/src/dashboard/tasks.py @@ -83,6 +83,7 @@ def free_hosts(): job__complete=True, resource__isnull=False ) + for booking in bookings: ResourceManager.getInstance().releaseResourceBundle(booking.resource) |