|
Fix status provider interaction.
Status was processing each machine from the provider one by one instead of in
bulk. This caused spurious requests instead of usage of using the bulk api. The
existing bulk api was deficient for status usage in that it raised an error on a
missing machine instead of returning both found, missing sets.
This branch includes a change in the bulk api to allow for this and a
corresponding update to extant providers. Status now uses the bulk api resulting
in many less provider roundtrips (one for env).
https://code.launchpad.net/~hazmat/juju/big-oh-status-constant/+merge/116686
(do not edit description out of merge proposal)
Total comments: 10
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+155 lines, -99 lines) |
Patch |
|
A |
[revision details]
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
juju/agents/provision.py
|
View
|
|
1 chunk |
+1 line, -1 line |
1 comment
|
Download
|
|
M |
juju/agents/tests/test_provision.py
|
View
|
|
7 chunks |
+9 lines, -9 lines |
1 comment
|
Download
|
|
M |
juju/control/status.py
|
View
|
|
4 chunks |
+56 lines, -32 lines |
8 comments
|
Download
|
|
M |
juju/providers/common/base.py
|
View
|
|
3 chunks |
+11 lines, -2 lines |
0 comments
|
Download
|
|
M |
juju/providers/dummy.py
|
View
|
|
3 chunks |
+3 lines, -5 lines |
0 comments
|
Download
|
|
M |
juju/providers/ec2/__init__.py
|
View
|
|
3 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
juju/providers/ec2/tests/test_getmachines.py
|
View
|
|
7 chunks |
+16 lines, -6 lines |
0 comments
|
Download
|
|
M |
juju/providers/maas/provider.py
|
View
|
|
2 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
|
M |
juju/providers/maas/tests/test_provider.py
|
View
|
|
4 chunks |
+16 lines, -14 lines |
0 comments
|
Download
|
|
M |
juju/providers/openstack/provider.py
|
View
|
|
2 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
|
M |
juju/providers/openstack/tests/__init__.py
|
View
|
|
1 chunk |
+9 lines, -2 lines |
0 comments
|
Download
|
|
M |
juju/providers/openstack/tests/test_getmachines.py
|
View
|
|
6 chunks |
+8 lines, -7 lines |
0 comments
|
Download
|
|
M |
juju/providers/orchestra/__init__.py
|
View
|
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
juju/providers/orchestra/cobbler.py
|
View
|
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
juju/providers/tests/test_dummy.py
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
Total messages: 3
|