Merge lp:~axwalk/gomaasapi/maas-testserver-zones into lp:gomaasapi
Proposed by
Andrew Wilkins
Status: | Merged |
---|---|
Approved by: | Andrew Wilkins |
Approved revision: | 56 |
Merged at revision: | 56 |
Proposed branch: | lp:~axwalk/gomaasapi/maas-testserver-zones |
Merge into: | lp:gomaasapi |
Diff against target: |
286 lines (+174/-14) 2 files modified
testservice.go (+93/-14) testservice_test.go (+81/-0) |
To merge this branch: | bzr merge lp:~axwalk/gomaasapi/maas-testserver-zones |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ian Booth | Approve | ||
Juju Engineering | Pending | ||
Review via email: mp+236447@code.launchpad.net |
Commit message
Add "zones" handler to test service, so we can simulate MAAS installations with and without support for physical zones. This will be used in Juju to test zone placement and distribution.
Also, filter nodes when acquiring (by name, or by zone).
Description of the change
Add "zones" handler to test service, so we can simulate MAAS installations with and without support for physical zones. This will be used in Juju to test zone placement and distribution.
Also, filter nodes when acquiring (by name, or by zone).
To post a comment you must log in.
There needs to be tests added to testservice_test.go for the new zones functionality.
I also don't understand how the agent_name filtering works.