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