Interface name length #1150

Closed
opened 2025-12-29 16:29:30 +01:00 by adam · 6 comments
Owner

Originally created by @Notum on GitHub (Aug 8, 2017).

Trying to add new Interface with PowerShell I get this error: Invoke-RestMethod : {"name":["Ensure this field has no more than 30 characters."]}
We have Network Interface Names in Windows with more then 30 characters.
Can you increase interface name length?

Ver. 2.1.2

Originally created by @Notum on GitHub (Aug 8, 2017). Trying to add new Interface with PowerShell I get this error: Invoke-RestMethod : {"name":["Ensure this field has no more than 30 characters."]} We have Network Interface Names in Windows with more then 30 characters. Can you increase interface name length? Ver. 2.1.2
adam added the type: feature label 2025-12-29 16:29:30 +01:00
adam closed this issue 2025-12-29 16:29:30 +01:00
Author
Owner

@jeremystretch commented on GitHub (Aug 8, 2017):

Can you provide a list of examples please?

@jeremystretch commented on GitHub (Aug 8, 2017): Can you provide a list of examples please?
Author
Owner

@Notum commented on GitHub (Aug 8, 2017):

You mean examples of long adapter names? Sure!
We have Hyper-V cluster which has a lot of virtual interfaces.
As an example: vEthernet (live-migration-network) (34 symbols)

@Notum commented on GitHub (Aug 8, 2017): You mean examples of long adapter names? Sure! We have Hyper-V cluster which has a lot of virtual interfaces. As an example: vEthernet (live-migration-network) (34 symbols)
Author
Owner

@lampwins commented on GitHub (Aug 8, 2017):

With the up coming virtualization feature, I will add here that in certain situations in VMware NSX, interface names are UUIDs. Specifically in some VTEP integrations.

@lampwins commented on GitHub (Aug 8, 2017): With the up coming virtualization feature, I will add here that in certain situations in VMware NSX, interface names are UUIDs. Specifically in some VTEP integrations.
Author
Owner

@jeremystretch commented on GitHub (Aug 8, 2017):

What is the field length being proposed?

@jeremystretch commented on GitHub (Aug 8, 2017): What is the field length being proposed?
Author
Owner

@Notum commented on GitHub (Aug 9, 2017):

50 symbols?

@Notum commented on GitHub (Aug 9, 2017): 50 symbols?
Author
Owner

@bellwood commented on GitHub (Aug 9, 2017):

64 characters should suffice.

That should cover most UUID and overly verbose labels.

@bellwood commented on GitHub (Aug 9, 2017): 64 characters should suffice. That should cover most UUID and overly verbose labels.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#1150