Commit 49b3b319 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Initialize interface_capabilities table from interface_types table;

for now I am leaving max_speed slot of interface_types table in place.
parent 86155d03
......@@ -74,6 +74,14 @@ type: Name of the FreeBSD driver for the card (common ones are 'fxp' for Intel
max_speed: The maximum speed of the interface, in Kbps
full_duplex: 1 if the card can operate in full duplex, 0 otherwise
Once you have all of the interfaces specified, you should run the
following sql commands:
insert into interface_capabilities (type, capkey, capval) \
select type,"protocols","ethernet" from interface_types;
insert into interface_capabilities (type, capkey, capval) \
select type,"ethernet_defspeed",max_speed from interface_types;
##### Bringing up the first node
We'll start by bringing up the first node in the testbed, to make sure things
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment