Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
emulab-devel
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Emmanuel Cecchet
emulab-devel
Commits
510448b7
Commit
510448b7
authored
20 years ago
by
Robert Ricci
Browse files
Options
Downloads
Patches
Plain Diff
Finish up the instructions for the last revision.
parent
81ca0334
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
sql/database-migrate.txt
+10
-3
10 additions, 3 deletions
sql/database-migrate.txt
with
10 additions
and
3 deletions
sql/database-migrate.txt
+
10
−
3
View file @
510448b7
...
...
@@ -2224,14 +2224,21 @@ last_net_act,last_cpu_act,last_ext_act);
Then, determine the name of the experimental net stack like so:
select distinct stack_id from nodes as n left join switch_stacks as \
s on n.node_id=s.node_id where n.role='
ctrl
switch';
s on n.node_id=s.node_id where n.role='
test
switch';
You can then set the name of the experimental stack like this
(substituting in the name of the stack you just found):
update switch_stacks set stack_id='
Control
' where \
update switch_stacks set stack_id='
Experiment
' where \
stack_id='<stackid>';
update switch_stack_types set stack_id='
Control
' where \
update switch_stack_types set stack_id='
Experiment
' where \
stack_id='<stackid>';
Then, do the same with the control net:
select distinct stack_id from nodes as n left join switch_stacks as \
s on n.node_id=s.node_id where n.role='ctrlswitch';
update switch_stacks set stack_id='Control' where \
stack_id='<stackid>';
update switch_stack_types set stack_id='Control' where \
stack_id='<stackid>';
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment