Skip to content

Allow float value for VM cpu #5975

@maximebrun

Description

@maximebrun

NetBox version

v2.9.11

Feature type

Data model extension

Proposed functionality

Allow to set cpu in float format for virtual machine.

Use case

We use virtual machine and set cpu less than 1. For example, 0.5.

Database changes

Change PositiveSmallIntegerField to DecimalField for vcpus in VirtualMachine model.

External dependencies

Unknown

Metadata

Metadata

Assignees

No one assigned

    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