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

FR: Add option to set own interface names #426

Open
david-sieg opened this issue Nov 19, 2024 · 2 comments
Open

FR: Add option to set own interface names #426

david-sieg opened this issue Nov 19, 2024 · 2 comments

Comments

@david-sieg
Copy link

Hi,

we ran into problem with interface name length.
There're some interfaces which reach length over 80 characters, so they are displayed cutted:
(due to limitation of 64 Char in field)

"vNIC 1 (tn-xyz|xy-XYZ-business-intelligence|epg-XYZ-XXX-xyXYZq_b"

Is there any switch to set own interface names, like "vNIC 'interface_number'".
Sync should set automatically (increase) 'interface_number'.

David

@bb-Ricardo
Copy link
Owner

Hi,

Interesting issue. No there is currently no option to do that.

Do you have a more precise example? Or multiple?

Just typing to come up with a better approach of keeping some information and enumerating the interfaces.

@david-sieg
Copy link
Author

david-sieg commented Nov 25, 2024

Hi Ricardo,

during sync, interfaces are discovered by their real names.
We use ACI, so interface names are long due to name conventions.

examples:
"vNIC 1 (tn-xyz|xy-XYZ-business-intelligence|epg-XYZ-XXX-xyXYZq_b"
"vNIC 2 (tn-xyz|xy-XYZ-business-intelligence|epg-XYZ-XXX-xyXYZq_b"

We need an switch:
use_custom_interface_prefix: true
custom_interface_prefix: 'VM_INT'

So discovery should create following interfaces for discovered VMs:

"VM_INT 1"
"VM_INT 2"
"VM_INT ..."

1, 2 and so on is index of interfaces.

David

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

No branches or pull requests

2 participants