Replies: 1 comment 6 replies
-
If you're doing that, then you're using Netbox wrongly - although it's easy to understand why you are, and I did this myself initially until I realised what the right way was. See the note in the documentation here and here.
That's one of the bad consequences of doing it the wrong way. Another consequence is being unable to create a LAG across two ports on different line cards. The right way is to create:
However, as it stands, you can't put interfaces on inventory items, which means you have to add interfaces to the device itself. This is easily done using the bulk add function: literally put Don't define any ports on the device type itself, except for ports which are on the chassis (e.g. console ports, power ports).
I think that device bays will remain for their original purpose, which is for independently managed devices, such as blade servers. You should think of "device bay" as a physical space partition only: a way to install multiple independent devices in the same rack unit. For example, sometimes you get 1U half-width devices: those can be modelled as a parent device with two device bays, and then the two devices "fit" into those bays (even if in reality they're just screwed together side by side) What you describe as "slots" is basically what Inventory Items are. Perhaps one day inventory items will gain the ability to have ports. Personally, I'd be quite happy for the system mainboard to be an inventory item, and all ports move onto inventory items. Then all you need in the device type is the default set of inventory items it comes with. Doing this allows for all sorts of interesting stuff: LOM cards with their own ports, HBAs and NICs with their own ports, and so on. |
Beta Was this translation helpful? Give feedback.
-
Hey,
The current way of working with devices and bays is not very handy..
If I have a chassis with 2 routing engines and 6 slots, I have to create 9 separate devices !
I have to create a different template for each slot a module can be in.
This is, because the interface numbers are based on the slot port (xe-slot/mic/port)
So if I create a devicetemplate, and add the interfaces, I have to already select what the name of the interfaces will be (xe-0/0/0 to xe-0/0/9 for example). This will limit that template to only be usable on the slot0.
For slot1, I have to create another template with ports xe-1/0/0 - xe-1/0/9. and so on
And if you have 10 types of modules, it gets very crowded in the device templates...
If I want to connect 2 devices to eachother. I need to choose the 'bay' device, in stead of the 'chassis' device. that pretty confusing.
I've solved it for now, by creating templates for the bays without interfaces, and manually add the interfaces to my 'chassis' devices.
This still requires me to create devices for each bay. but I don't have to create device templates for each slot (interface numbering issue). I still get a lot of devices in my list that are cluttering the overview.
So I would like an option, that a 'bay' is not linked to a 'device', but only to a device template.
The bay would need some extra fields (like serial number).
Also maybe we could add an 'interface generation template'. for examle "xe-{bayid}/0/[0-9]". When the template is added to the bay, the interfaces are added to the chassis..
Its just a first thought, and I know, a big change to the way devices with bays are handled...
Or we could keep 'bays' and expand the model with 'slots' that have a different behaviour
Pieter
Beta Was this translation helpful? Give feedback.
All reactions