Skip to content

Make L2VPN identifier required and unique and add it to search index #13927

@dejantep

Description

@dejantep

NetBox version

v3.5.7

Feature type

Change to existing functionality

Proposed functionality

IMHO "identifier" is the field that should enforce uniqueness because of its nature. "Identifier" field is already limited to numbers and it fits the purpose.

Apply similar functionality as to VLAN. It could be globally unique or with option to assing it to site or region depending on implementation strategy.

Add it to search index

Use case

When creating L2VPNs field "slug" is used to enforce uniqueness. It derives from human friendly field for "Name".
It's not suitable for enforcing uniqueness.

IMHO "identifier" is the field that should enforce uniqueness since all l2vpn services have an ID. It could be globally unique or with option to assing it to site or region depending on your naming strategy. Similar functionality to VLAN.

"Identifier" field is already limited to numbers and it fits the purpose.

Database changes

dont know

External dependencies

dont know

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: featureIntroduction of new functionality to the application

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions