Skip to content. | Skip to navigation

Personal tools

Navigation

You are here: Home / Wiki / Kb197

Kb197

Emulab FAQ: Testbed Operations: How is experimental switch trunk port bandwidth determined?

Emulab FAQ: Testbed Operations: How is experimental switch trunk port bandwidth determined?

> There must be a place in the tbdb that specifies the bandwidth of
> trunk between the experimental switches so that assign knows how much
> it can handle.

We get that information from the wires table and interfaces table - a wire can be designated with type "Trunk". We look at the interfaces table for both sides of the trunk to find out what type of interface is being used, then look in interface_types to see what speed they run at.

Determining the "in use" bandwidth from swapped in experiments is trickier. See the code in ptopgen that starts with "$TRACK_INTERSWITCH_BANDWIDTH".