Skip to content
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

Increasing max. field lengths #1817

Closed
taka-psba opened this issue Jan 11, 2018 · 1 comment
Closed

Increasing max. field lengths #1817

taka-psba opened this issue Jan 11, 2018 · 1 comment

Comments

@taka-psba
Copy link

taka-psba commented Jan 11, 2018

Issue type

[x] Feature request
[ ] Bug report
[ ] Documentation

Environment

  • Python version: 2.7.5
  • NetBox version: 2.2.7

Hi

I see here that you're generally happy with 64 character field limits, but we have things like:

  • tenants (curr. max. 30):
    • "Department of Science Information Technology and Innovation" (59 chars)
    • "Department of Justice and Attorney General (42 chars)
  • sites (curr. max. 50):
    • "Rockhampton Central Region Police Communications Centre and Police Station" (74 chars)
    • "Moa Island - St Pauls Community - Torres Strait Island Police Support Office" (76 chars)
  • interfaces (curr. max. 64):

I'm importing stuff from an existing NMS, and since I can't really make changes to the source data, I've put in a translation layer for problematic values, but things like "Department of Science Information Technology and Innovation" had to be compressed down to "Dept. of Sci.Info.Tech.Innov.", which is not really acceptable to the client :-)

Any chance of these field lengths being increased?

Thanks

@jeremystretch
Copy link
Member

The field lengths will not be increased. These values are included in object tables, and it would be ridiculous to have such long descriptors mangling the rendering of tables. I suggest using abbreviations for the names and including the long form, if necessary, in the object description or comments.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants