29 | | }}} |
30 | | |
31 | | === Creating switch node and interface types === |
32 | | |
33 | | In order to add our switch to the database, we need to setup node and interface types for them. |
34 | | |
35 | | We provide some SQL to make this easy. The script switch-types-create defines the following: |
36 | | |
37 | | * Node types for hp5412 (which included hp5406), hp2810, and nortel5510 switch types. |
38 | | * Interfaces for generic inter-switch trunks (if your site has more than one switch) named "trunk_100MbE", "trunk_1GbE", and "trunk_10GbE". |
39 | | |
40 | | For other switch types, please refer to the [https://users.emulab.net/trac/emulab/wiki/install/switches-db.html Emulab Documentation]. |
41 | | |
42 | | These are '''loaded by boss-install''' script, but if you need to load them by hand: |
43 | | |
44 | | {{{ |
45 | | mysql tbdb < ~<builduser>/testbed/sql/interface-types-create.sql |
46 | | mysql tbdb < ~<builduser>/testbed/sql/node-types-create.sql |