unique interface names in devices? #14462
-
I've enabled ENFORCE_GLOBAL_UNIQUE, but that doesn't prevent duplicate interfaces from being inserted - in which cases is it desirable to have duplicate interfaces for a device? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
The NetBox requires that all interfaces (and other components) assigned to a device have a unique name. |
Beta Was this translation helpful? Give feedback.
-
Can you give a specific, step-by-step way to reproduce what you're seeing? And please say what version of Netbox you're using. AFAIK, all versions of Netbox in living memory have enforced a requirement that the interface name on a device is unique across that device. Of course, different devices can have interfaces with the same name, like "eth0" |
Beta Was this translation helpful? Give feedback.
-
That may be technically correct but from a user perspective it's not always true, stacked Virtual Chassis devices can have different members with the same interface names such that when the primary device is viewed show dup interface names, eg. when you have a workflow dependent on renaming interfaces on stacked devices after creating them that goes awry. In the DB the uniqueness constraint may be satisfied, but in the UI it might not be.
—
Mark Tinberg ***@***.***>
Division of Information Technology-Network Services
University of Wisconsin-Madison
…________________________________
From: Brian Candler ***@***.***>
Sent: Thursday, December 7, 2023 10:52 AM
To: netbox-community/netbox ***@***.***>
Cc: Subscribed ***@***.***>
Subject: Re: [netbox-community/netbox] unique interface names in devices? (Discussion #14462)
doesn't prevent duplicate interfaces from being inserted
Can you give a specific, step-by-step way to reproduce what you're seeing? And please say what version of Netbox you're using.
AFAIK, all versions of Netbox in living memory have enforced a requirement that the interface name on a device is unique across that device. Of course, different devices can have interfaces with the same name, like "eth0"
—
Reply to this email directly, view it on GitHub<#14462 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAS7UMYRCIOH2OPVATVAAPDYIHX3PAVCNFSM6AAAAABALJNKCOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TOOJRGE3TA>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
The
ENFORCE_GLOBAL_UNIQUE
parameter applies to IP addressing; it has nothing to do with devices or interfaces.NetBox requires that all interfaces (and other components) assigned to a device have a unique name.