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
c47c44fd
Commit
c47c44fd
authored
21 years ago
by
Robert Ricci
Browse files
Options
Downloads
Patches
Plain Diff
Add information about where the interface is connected to the switch
to the new_interfaces table.
parent
48009b52
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
sql/database-create.sql
+3
-0
3 additions, 0 deletions
sql/database-create.sql
sql/database-migrate.txt
+7
-0
7 additions, 0 deletions
sql/database-migrate.txt
with
10 additions
and
0 deletions
sql/database-create.sql
+
3
−
0
View file @
c47c44fd
...
@@ -571,6 +571,9 @@ CREATE TABLE new_interfaces (
...
@@ -571,6 +571,9 @@ CREATE TABLE new_interfaces (
iface
varchar
(
10
)
NOT
NULL
default
''
,
iface
varchar
(
10
)
NOT
NULL
default
''
,
mac
varchar
(
12
)
NOT
NULL
default
''
,
mac
varchar
(
12
)
NOT
NULL
default
''
,
interface_type
varchar
(
15
)
default
NULL
,
interface_type
varchar
(
15
)
default
NULL
,
switch_id
varchar
(
10
)
default
NULL
,
switch_card
tinyint
(
3
)
default
NULL
,
switch_port
tinyint
(
3
)
default
NULL
,
PRIMARY
KEY
(
new_node_id
,
iface
)
PRIMARY
KEY
(
new_node_id
,
iface
)
)
TYPE
=
MyISAM
;
)
TYPE
=
MyISAM
;
...
...
This diff is collapsed.
Click to expand it.
sql/database-migrate.txt
+
7
−
0
View file @
c47c44fd
...
@@ -763,3 +763,10 @@ last_net_act,last_cpu_act,last_ext_act);
...
@@ -763,3 +763,10 @@ last_net_act,last_cpu_act,last_ext_act);
create table node_type_features (type varchar(30) not null,
create table node_type_features (type varchar(30) not null,
feature varchar(30) not null, weight float not null default 0.0,
feature varchar(30) not null, weight float not null default 0.0,
primary key (type,feature));
primary key (type,feature));
1.162: Add columns to the new_interfaces table indicating where the interface
is plugged into a switch:
alter table new_interfaces add column switch_id char(10);
alter table new_interfaces add column switch_card tinyint(3);
alter table new_interfaces add column switch_port tinyint(3);
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