Skip to content

Allow filtering of L2VPN based on slug #11119

@wouterdb

Description

@wouterdb

NetBox version

3.3.9

Feature type

Change to existing functionality

Proposed functionality

  1. Currently, is seems to be impossible to query L2VPNs by slug.
  2. However, for the L2VPNTermination the slug if the primary ID to refer to an L2VPN

This inconsistent handling of ID's makes automated handling of the API very difficult.

References

https://github.com/netbox-community/netbox/blob/develop/netbox/ipam/filtersets.py#L933
https://github.com/netbox-community/netbox/blob/develop/netbox/ipam/filtersets.py#L981

Use case

Consistently using the same field as ID for the same object simplifies integration with this API

Database changes

No response

External dependencies

No response

Metadata

Metadata

Assignees

Labels

status: acceptedThis issue has been accepted for implementationtype: 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