Skip to content

Reference related object as custom field value #7006

@jeremystretch

Description

@jeremystretch

NetBox version

v2.11.11

Feature type

New functionality

Proposed functionality

Add a new type of custom field which enables referencing a related NetBox object. (This will largely replicate Django's generic foreign key mechanism.)

This was originally proposed by @tyler-8 in #4408.

Use case

Provides the ability to reference one NetBox object from another where no foreign key relation exists in the database.

Database changes

We might need to extend the CustomField model, but specific implementation details are yet to be determined.

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

Relationships

None yet

Development

No branches or pull requests

Issue actions