MACAddress claim_static_ips and set_static_ip should update the required hostmaps not the caller

Bug #1440102 reported by Blake Rouse on 2015-04-03
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
High
Blake Rouse

Bug Description

MACAddress.claim_static_ips and MACAddress.set_static_ip does not update the hostmaps on the required clusters. It requires the caller to perform this action. Now that this is used in the API, node model, and the devices handler this is just ugly and terrible to maintain.

This needs to be refactored, but needs QA to make sure that the refactor does not break all of the parts it touches, which is a lot.

Related branches

Changed in maas:
milestone: none → next
Changed in maas:
milestone: next → 1.9.0
assignee: nobody → Mike Pontillo (mpontillo)
Changed in maas:
status: Triaged → Fix Committed
assignee: Mike Pontillo (mpontillo) → Blake Rouse (blake-rouse)
Changed in maas:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers