Skip to content

Updating custom_fields for e.g. the VirtualMachine Record does not work #101

Description

@silvermind

Custom Fields can be displayed but not updated. Not sure if this is already implemented in the gem.

netbox_identifier = 999
netbox_record= NetboxClientRuby.virtualization.virtual_machines.find_by(id: netbox_identifier)
puts netbox_record.custom_fields
netbox_record.custom_fields['my_field'] = "New Value"
netbox_record.save

completes without any error, but does not update the custom fields in netbox. Updating the name or description however works perfectly.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions