Commit dca12fb0 authored by Leigh B Stoller's avatar Leigh B Stoller

Add a "generic" interface type for use in the cooked mode proxy nodes,

rather then a specific interface that no testbed is going to have in
their DB.
parent ecd89038
......@@ -324,7 +324,7 @@ sub CreatePhysNode($)
"role" => $ref->{'role'},
"MAC" => $MAC,
"IP" => $IIP,
"type" => "fxp",
"type" => "generic",
};
push(@ifaces, $ifaceargs);
......@@ -383,7 +383,7 @@ sub CreatePhysNode($)
"role" => $role,
"MAC" => $MAC,
"IP" => '',
"type" => "fxp",
"type" => "generic",
};
push(@ifaces, $ifaceargs);
......
......@@ -26,3 +26,7 @@ INSERT IGNORE INTO emulab_indicies (name,idx) VALUES ('cur_log_seq', 1);
INSERT IGNORE INTO emulab_indicies (name,idx) VALUES ('frisbee_index', 1);
INSERT IGNORE INTO emulab_indicies (name,idx) VALUES ('next_osid', 10000);
INSERT IGNORE INTO emulab_locks (name,value) VALUES ('pool_daemon', 0);
INSERT IGNORE INTO `interface_capabilities` VALUES ('generic','protocols','ethernet');
INSERT IGNORE INTO `interface_capabilities` VALUES ('generic','ethernet_defspeed','100000');
INSERT IGNORE INTO `interface_types` VALUES ('generic',100000,1,'Generic','Generic',1,'RJ45');
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