Skip to content
GitLab
Menu
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-stable
Commits
cbe236c4
Commit
cbe236c4
authored
Jan 05, 2010
by
David Johnson
Browse files
Add os_submap to the goo dump; only send child OSes in the elabinelab
project, or shared ones.
parent
515bc0e7
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/elabinelab.in
View file @
cbe236c4
...
...
@@ -771,6 +771,15 @@ sub DumpDBGoo()
"
into outfile '
$statedir
/osidtoimageid'
")
or
die
("
*** $0:
\n
"
.
"
Could not dump table osidtoimageid
\n
");
# Subosids. Only take the mapping to parents for those children that
# are in the e-in-e pid or are in emulab-ops and are shared.
DBQueryWarn
("
select osm.* from os_submap as osm
"
.
"
left join os_info as osi on osm.osid=osi.osid
"
.
"
where osi.pid='
$pid
' or (osi.pid='
$TBOPSPID
' and osi.shared=1)
"
.
"
into outfile '
$statedir
/os_submap'
")
or
die
("
*** $0:
\n
"
.
"
Could not dump table os_submap
\n
");
#
# interfaces table. Need to tag the interfaces being used as the control
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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