unioslo/mreg

Extend the /hosts/ api endpoint to allow filtering on a mac address

Closed this issue · 1 comments

Extend the /hosts/ api endpoint to allow filtering on a mac address

Already there: /api/v1/hosts/?ipaddresses__macaddress=aa:bb:cc:dd:ee:ff
See e.g. https://github.com/unioslo/mreg-cli/blob/30e136eea0d13493dae9594d3d9e4a756a891518/mreg_cli/host.py#L528