Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
bb567947
Commit
bb567947
authored
Apr 08, 2004
by
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
db/nfree.in
View file @
bb567947
...
...
@@ -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.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment