Merge lp:~abentley/juju-ci-tools/iter-new-machines-containers into lp:juju-ci-tools
Proposed by
Aaron Bentley
Status: | Merged |
---|---|
Merged at revision: | 1916 |
Proposed branch: | lp:~abentley/juju-ci-tools/iter-new-machines-containers |
Merge into: | lp:juju-ci-tools |
Diff against target: |
82 lines (+43/-5) 3 files modified
jujupy/client.py (+4/-3) jujupy/fake.py (+3/-2) jujupy/tests/test_client.py (+36/-0) |
To merge this branch: | bzr merge lp:~abentley/juju-ci-tools/iter-new-machines-containers |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Curtis Hovey (community) | code | Approve | |
Review via email: mp+318542@code.launchpad.net |
Commit message
Optionally include containers when iterating through new machines.
Description of the change
This branch adds the ability to list new containers.
It updates iter_new_machines with a 'containers' flag that is passed through to iter_machines. It also changes the way old machines are determined, so that it also uses iter_machines.
As a driveby, it improves the fake's handling of containers so that they have a 'juju-status' field, like normal machines do. This is sufficient to get client.
To post a comment you must log in.
Thank you.