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-devel
Commits
a2f3f1bd
Commit
a2f3f1bd
authored
Jul 24, 2003
by
Leigh B. Stoller
Browse files
Kill max_ports/max_cards from node_types table, add max_interfaces.
parent
c47d0599
Changes
2
Hide whitespace changes
Inline
Side-by-side
sql/database-create.sql
View file @
a2f3f1bd
...
...
@@ -699,8 +699,7 @@ CREATE TABLE node_types (
speed
smallint
(
5
)
unsigned
default
NULL
,
RAM
smallint
(
5
)
unsigned
default
NULL
,
HD
float
(
10
,
2
)
default
NULL
,
max_cards
tinyint
(
3
)
unsigned
default
NULL
,
max_ports
tinyint
(
3
)
unsigned
default
NULL
,
max_interfaces
tinyint
(
3
)
unsigned
default
'0'
,
osid
varchar
(
35
)
NOT
NULL
default
''
,
control_net
tinyint
(
3
)
unsigned
default
NULL
,
power_time
smallint
(
5
)
unsigned
NOT
NULL
default
'60'
,
...
...
sql/database-migrate.txt
View file @
a2f3f1bd
...
...
@@ -784,3 +784,15 @@ last_net_act,last_cpu_act,last_ext_act);
the node was temporarily given while it's configuring:
alter table new_nodes add column temporary_IP varchar(15) after IP;
1.165: Kill max_ports and max_cards, replace with max_interfaces.
alter table node_types drop max_ports;
alter table node_types drop max_cards;
alter table node_types add max_interfaces tinyint(3) \
unsigned default '0' after HD;
update node_types set max_interfaces=5 where type='pc600';
update node_types set max_interfaces=5 where type='pc850';
update node_types set max_interfaces=3 where type='pcL440GX';
\ No newline at end of file
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