Skip to content

Custom field multiple selection #5451

@TomGrozev

Description

@TomGrozev

Environment

  • Python version: 3.8.6
  • NetBox version: 2.10

Proposed Functionality

The ability to be able to select multiple values in custom fields of type "Selection". This is similar to how tags work but the ability to do it for custom selection fields. A new option to allow multiple options to be selected for custom selection fields would be added and using the Django multiple selection form, this can be added.

Use Case

We use ansible to deploy configurations and NetBox as the source of truth. We need to be able to select multiple applications for a virtual machine and then ansible can use that to deploy the application. In order to do this and install multiple applications, we need to be able to select multiple values from a custom field of type "Selection".

Database Changes

A new multiple selection field would be added to the custom field model. Since the changes in version 2.10
store custom field data as JSON, storing a list of values is simple.

External Dependencies

None

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