Closed syyna closed 3 years ago
Sorry, when I mean Fail, it means I get an automated check fail of " 1 is not of type string" error message.
From CONTRIBUTING.md
Use the complete form of interface names where applicable. For example, use TenGigabitEthernet1/2/3 instead of Te1/2/3.
Names should be descriptive. Numeric values are counterintuitive and should be avoided
I understand that but if that's how the interface is named out of the box, we should follow the manufacturers naming convention no? Otherwise when you automate against it you have at the very least, write a filter, if not rename back to what the device recognizes. It'd be the same as saying we should just spell something fully out even if the device cannot accept that.
In any case, I'm fine with living with it, but it does mean extra work for folks importing into netbox
I'm also fed up with this. In netbox there is a field called label where the 'readable' name is present and the real interface name is preserved. But rules are clear. And till maintainers don't change them we shall either fork project and change it, or obey them (rules)
Some devices literally have integers for their names. Raritans for example have their power outlets be named 1,2,3 etc instead of Outlet1, Outlet2. Currently, if I submit the template as
It will fail. Instead I have to submit as:
This means its giong to be double work to change it back to what it is. Netbox by itself is fine accepting only integers as names, but the devicetype-library isn't.
Thanks.