Adding new port types
The structure of ports are the following:
Inner interfaces (IIFs)
These are the types of connectivity, like
- transceiver type (SFP, SFP+, XFP, etc.)
All of them have inner ids. (IIF-id)
The IIF-ids are hardwired in the PortInnerInterface SQL table and cannot be edited by the user. They are listed at "Configuration : Enabled port types", but you need this patch to see the actual id's (as of 2013-3-7).
Outer interfaces (OIFs)
These specify the media and modulation standard, like
- 1000BaseT, 100BaseTX
Outer interface id's (OIF-id) are defined in the "Configuration : Dictionary : Chapter 'PortOuterInterface'" chapter.
Add new IIF
You can't. It's hardwired. Either you go on messing with the database itself or try to convince God (infrastation) to conjure one for you. :-)
However, by default not all IIFs are visible! You can enable visibility by going to "Configuration : User interface" and see the setting called Default port outer interface IDs. There you use the syntax:
- IIF=OIF; IIF=OIF; ...
- default is something like: "1=24; 3=1078; 4=1077; 5=1079; 6=1080; 8=1082; 9=1084; 10=1588; 11=1668"
The IIFs you omit will not be visible anywhere, and the OIF you specify will be the default when creating a new interface.
And you can set which IIF is the default by changing the Default port inner interface ID variable in the same page. (Defaults to "1", hardwired.)
Add new OIF
First, you create one in "Configuration : Port outer interfaces" menu.
Then assign OIFs to an IIF type: "Configuration : Enabled port types"
Define OIF - OIF compatibility
You have to define which media/modulation pairs are compatible, or which ones can be linked together. You do this in the "Configuration : Port compatibility" table.