Skip to content

better update facts #368

@gillos

Description

@gillos

Is your feature request related to a problem? Please describe.
When issuing update facts, like:

 curl https://localhost/api/v1.0/device_update_facts -d '{"hostname": "eosdist1"}' -X POST -H "Content-Type: application/json"

the ztp_mac field is left untouched. This causes ztp to not work if you like to resue a switch where the value of ztp_mac is on the wrong switch.
Describe the solution you'd like
Please update the field ztp_mac when doing a device_update_facts

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