-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Increase "name" field maxmimum length from 50 characters #894
Comments
Can you provide an example of a name that's too long? I'm curious. |
As an example, we chose to make use of a router hostname that contains identifying information. Due to the vast number of devices, sites and tenants we have, it helps locate the device across databases, monitoring and the like. Below is an example CPE hostname that we may use. Example: As you can imagine this can quite easily become a name larger than 50 characters. Just the above vanilla example is 49 characters. We are in the process of importing all our disparate technical information (1st Tier ISP) in to Netbox and have so far over 3500+ sites, 1500+ tenants which is easily expected to double once we get closer to completing the import. Each site could have more than 10 devices at times. Great product btw! |
I see this problem all too often. Why do we need that much information from one name? All of the info can be easily gathered by digging just a little deeper. We have gotten so lazy, we expect to look at one name and identify location, business unit, site, building, floor, closet, cage, rack, serial number, IP address, MAC address, fqdn,... Sorry, I got carried away. I needed to vent. |
I've personally not had this problem as we've always kept identifying information on interface descriptions or in the snmp sections on configs, but this shouldn't really be a problem to change can it? I can't come up with any dependencies that would break and would give the greater community more flexibility. I can see some old-school phone companies who use a CLEI code struggling with the character limit as well. |
Even if we widened the field, we'd have to implement truncation in many places when displaying the device name (such as in the device list) to keep the layout readable. Interestingly, RFC 1035 suggests a limit of 63 characters for host names, and my Ubuntu-based system seems to enforce a 64-character limit:
|
@InsaneSplash how do you feel about a 64-character limit? |
higher is better |
64 characters should be more than sufficient. This is the maximum hostname length for many platforms. |
Thanks for the increase in characters! |
The current limit for characters in the name of a tenant,site,rack, device is set to a maximum of 50 characters. Can this be increased to say 100?
Example Import:
The text was updated successfully, but these errors were encountered: