Commit bb567947 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Clear new interface_settings table when releasing a node (this is

where we do other interface table cleanup).
parent fd59b7f8
......@@ -293,6 +293,9 @@ foreach my $n (@freed_nodes) {
# Clean the veth_interfaces table for this node.
DBQueryWarn("delete from veth_interfaces where node_id='$n'") || $error++;
# Clean the interface_settings table for this node.
DBQueryWarn("delete from interface_settings where node_id='$n'") || $error++;
# Now its safe to change the reservation.
# If the node has a next_reserve entry, change the reservation.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment