Skip to content

Divide VM memory by 1.024 to accomodate 'metric' interpretation by Netbox #400

@yaiqsa

Description

@yaiqsa

After the Netbox 4.0 upgrade, the web GUI started reporting VM memory in 'metric' units like GB, instead of 'binary' units like GiB, which it did prior to 4.0.

image

I opened an issue for this in the Netbox project, and was told that this is the way that its going to be.

However, Netbox-sync still sets the memory field in MiB (for a VM with 12 GiB RAM, netbox-sync sets the MB field to 12288, while Netbox 'expects' 12000).

Could you please reflect the changes that Netbox made? So the import divides the memory value by 1.024 somewhere in the process?

I think this is pretty a low-priority problem, but it would be nice if it could be fixed eventually 🌈

Metadata

Metadata

Assignees

No one assigned

    Labels

    awaiting replyAwaiting reply from issue owner

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions