Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(267)

Issue 5845061: juju/control should be aware of subordinates

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 1 month ago by bcsaller
Modified:
12 years ago
Reviewers:
hazmat, mp+98088
Visibility:
Public.

Description

juju/control should be aware of subordinates This includes support for deploy, add-unit, remove-unit and status. https://code.launchpad.net/~bcsaller/juju/subordinate-control-status/+merge/100486 Requires: https://code.launchpad.net/~bcsaller/juju/subordinate-relation-type/+merge/95717 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 16

Patch Set 2 : juju/control should be aware of subordinates #

Patch Set 3 : juju/control should be aware of subordinates #

Patch Set 4 : juju/control should be aware of subordinates #

Patch Set 5 : juju/control should be aware of subordinates #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3449 lines, -1829 lines) Patch
A [revision details] View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
A docs/source/internals/constraints-notes.rst View 1 1 chunk +78 lines, -0 lines 0 comments Download
M juju/agents/provision.py View 1 2 chunks +3 lines, -2 lines 0 comments Download
M juju/agents/tests/common.py View 1 2 chunks +3 lines, -19 lines 0 comments Download
M juju/agents/tests/test_machine.py View 1 5 chunks +6 lines, -14 lines 0 comments Download
M juju/agents/tests/test_provision.py View 1 9 chunks +33 lines, -48 lines 0 comments Download
M juju/control/__init__.py View 1 2 4 chunks +8 lines, -3 lines 0 comments Download
M juju/control/add_unit.py View 1 2 chunks +11 lines, -1 line 0 comments Download
M juju/control/bootstrap.py View 1 3 chunks +16 lines, -2 lines 0 comments Download
A juju/control/constraints_get.py View 1 1 chunk +75 lines, -0 lines 0 comments Download
M juju/control/constraints_set.py View 1 3 chunks +41 lines, -28 lines 0 comments Download
M juju/control/deploy.py View 1 5 chunks +21 lines, -22 lines 0 comments Download
M juju/control/initialize.py View 1 3 chunks +7 lines, -1 line 0 comments Download
A juju/control/legacy.py View 1 1 chunk +41 lines, -0 lines 0 comments Download
M juju/control/remove_unit.py View 1 2 chunks +5 lines, -0 lines 0 comments Download
M juju/control/status.py View 1 7 chunks +322 lines, -152 lines 0 comments Download
M juju/control/terminate_machine.py View 1 2 chunks +2 lines, -0 lines 0 comments Download
M juju/control/tests/test_add_relation.py View 1 2 chunks +0 lines, -7 lines 0 comments Download
M juju/control/tests/test_add_unit.py View 1 7 chunks +58 lines, -9 lines 0 comments Download
M juju/control/tests/test_bootstrap.py View 1 2 chunks +33 lines, -14 lines 0 comments Download
M juju/control/tests/test_config_get.py View 1 1 chunk +0 lines, -4 lines 0 comments Download
M juju/control/tests/test_config_set.py View 1 1 chunk +0 lines, -4 lines 0 comments Download
A juju/control/tests/test_constraints_get.py View 1 1 chunk +116 lines, -0 lines 0 comments Download
M juju/control/tests/test_constraints_set.py View 1 4 chunks +28 lines, -17 lines 0 comments Download
M juju/control/tests/test_control.py View 1 2 3 chunks +6 lines, -11 lines 0 comments Download
M juju/control/tests/test_debug_hooks.py View 1 2 chunks +0 lines, -9 lines 0 comments Download
M juju/control/tests/test_debug_log.py View 1 2 chunks +1 line, -7 lines 0 comments Download
M juju/control/tests/test_deploy.py View 1 5 chunks +93 lines, -7 lines 0 comments Download
M juju/control/tests/test_destroy_service.py View 1 2 chunks +0 lines, -5 lines 0 comments Download
M juju/control/tests/test_initialize.py View 1 2 chunks +26 lines, -3 lines 0 comments Download
M juju/control/tests/test_remove_unit.py View 1 3 chunks +12 lines, -6 lines 0 comments Download
M juju/control/tests/test_resolved.py View 1 3 chunks +2 lines, -8 lines 0 comments Download
M juju/control/tests/test_scp.py View 1 5 chunks +2 lines, -20 lines 0 comments Download
M juju/control/tests/test_ssh.py View 1 3 chunks +0 lines, -16 lines 0 comments Download
M juju/control/tests/test_status.py View 1 10 chunks +93 lines, -37 lines 0 comments Download
M juju/control/tests/test_terminate_machine.py View 1 4 chunks +9 lines, -7 lines 0 comments Download
M juju/control/tests/test_upgrade_charm.py View 1 2 chunks +0 lines, -10 lines 0 comments Download
M juju/control/tests/test_utils.py View 1 1 chunk +0 lines, -6 lines 0 comments Download
M juju/control/utils.py View 1 3 chunks +27 lines, -0 lines 0 comments Download
M juju/environment/config.py View 1 2 chunks +49 lines, -55 lines 0 comments Download
M juju/environment/tests/test_config.py View 1 8 chunks +93 lines, -12 lines 0 comments Download
M juju/hooks/scheduler.py View 1 3 chunks +4 lines, -3 lines 0 comments Download
M juju/hooks/tests/test_invoker.py View 1 32 chunks +86 lines, -66 lines 0 comments Download
M juju/machine/constraints.py View 1 6 chunks +241 lines, -252 lines 0 comments Download
M juju/machine/tests/test_constraints.py View 1 2 chunks +284 lines, -243 lines 0 comments Download
M juju/machine/unit.py View 1 1 chunk +0 lines, -1 line 0 comments Download
M juju/providers/common/base.py View 1 4 chunks +17 lines, -8 lines 0 comments Download
M juju/providers/common/bootstrap.py View 1 3 chunks +8 lines, -2 lines 0 comments Download
M juju/providers/common/cloudinit.py View 1 6 chunks +15 lines, -2 lines 0 comments Download
M juju/providers/common/launch.py View 1 3 chunks +23 lines, -3 lines 0 comments Download
M juju/providers/common/tests/data/cloud_init_bootstrap View 1 1 chunk +2 lines, -2 lines 0 comments Download
M juju/providers/common/tests/data/cloud_init_bootstrap_zookeepers View 1 1 chunk +2 lines, -2 lines 0 comments Download
M juju/providers/common/tests/data/cloud_init_distro View 1 1 chunk +4 lines, -3 lines 0 comments Download
M juju/providers/common/tests/data/cloud_init_ppa View 1 1 chunk +4 lines, -3 lines 0 comments Download
M juju/providers/common/tests/test_base.py View 1 1 chunk +4 lines, -0 lines 0 comments Download
M juju/providers/common/tests/test_bootstrap.py View 1 5 chunks +27 lines, -12 lines 0 comments Download
M juju/providers/common/tests/test_cloudinit.py View 1 3 chunks +4 lines, -1 line 0 comments Download
M juju/providers/common/tests/test_launch.py View 1 3 chunks +56 lines, -35 lines 0 comments Download
M juju/providers/dummy.py View 1 4 chunks +10 lines, -1 line 0 comments Download
M juju/providers/ec2/__init__.py View 1 5 chunks +28 lines, -9 lines 0 comments Download
M juju/providers/ec2/launch.py View 1 2 chunks +10 lines, -6 lines 0 comments Download
M juju/providers/ec2/tests/common.py View 1 5 chunks +15 lines, -11 lines 0 comments Download
M juju/providers/ec2/tests/data/bootstrap_cloud_init View 1 1 chunk +4 lines, -4 lines 0 comments Download
M juju/providers/ec2/tests/test_bootstrap.py View 1 7 chunks +32 lines, -36 lines 0 comments Download
M juju/providers/ec2/tests/test_launch.py View 1 14 chunks +103 lines, -79 lines 0 comments Download
M juju/providers/ec2/tests/test_provider.py View 1 2 chunks +89 lines, -1 line 0 comments Download
M juju/providers/ec2/tests/test_utils.py View 1 5 chunks +173 lines, -70 lines 0 comments Download
M juju/providers/ec2/utils.py View 1 2 chunks +122 lines, -47 lines 0 comments Download
M juju/providers/local/__init__.py View 1 2 chunks +3 lines, -2 lines 0 comments Download
M juju/providers/local/tests/test_provider.py View 1 5 chunks +7 lines, -4 lines 0 comments Download
M juju/providers/maas/launch.py View 1 1 chunk +1 line, -1 line 0 comments Download
M juju/providers/maas/maas.py View 1 1 chunk +5 lines, -1 line 0 comments Download
M juju/providers/maas/provider.py View 1 3 chunks +17 lines, -7 lines 0 comments Download
M juju/providers/maas/tests/test_launch.py View 1 6 chunks +38 lines, -5 lines 0 comments Download
M juju/providers/maas/tests/test_maas.py View 1 2 chunks +38 lines, -1 line 0 comments Download
M juju/providers/maas/tests/test_provider.py View 1 2 chunks +39 lines, -1 line 0 comments Download
M juju/providers/maas/tests/testing.py View 1 1 chunk +8 lines, -1 line 0 comments Download
M juju/providers/orchestra/__init__.py View 1 3 chunks +12 lines, -6 lines 0 comments Download
M juju/providers/orchestra/cobbler.py View 1 2 chunks +17 lines, -7 lines 0 comments Download
M juju/providers/orchestra/launch.py View 1 1 chunk +2 lines, -1 line 0 comments Download
M juju/providers/orchestra/tests/common.py View 1 2 chunks +7 lines, -4 lines 0 comments Download
M juju/providers/orchestra/tests/data/bootstrap_user_data View 1 1 chunk +3 lines, -2 lines 0 comments Download
M juju/providers/orchestra/tests/test_bootstrap.py View 1 5 chunks +23 lines, -14 lines 0 comments Download
M juju/providers/orchestra/tests/test_cobbler.py View 1 14 chunks +22 lines, -19 lines 0 comments Download
M juju/providers/orchestra/tests/test_launch.py View 1 6 chunks +29 lines, -10 lines 0 comments Download
M juju/providers/orchestra/tests/test_provider.py View 1 1 chunk +32 lines, -0 lines 0 comments Download
M juju/providers/tests/test_dummy.py View 1 3 chunks +3 lines, -3 lines 0 comments Download
M juju/state/environment.py View 1 2 chunks +41 lines, -18 lines 0 comments Download
M juju/state/hook.py View 1 1 chunk +7 lines, -3 lines 0 comments Download
M juju/state/initialize.py View 1 2 chunks +19 lines, -24 lines 0 comments Download
M juju/state/machine.py View 1 2 chunks +9 lines, -5 lines 0 comments Download
M juju/state/relation.py View 1 3 chunks +25 lines, -2 lines 0 comments Download
M juju/state/service.py View 1 9 chunks +55 lines, -19 lines 0 comments Download
M juju/state/tests/common.py View 1 1 chunk +2 lines, -2 lines 0 comments Download
M juju/state/tests/test_charm.py View 1 2 chunks +19 lines, -3 lines 0 comments Download
M juju/state/tests/test_environment.py View 1 2 chunks +49 lines, -44 lines 0 comments Download
M juju/state/tests/test_firewall.py View 1 4 chunks +5 lines, -23 lines 0 comments Download
M juju/state/tests/test_hook.py View 1 3 chunks +5 lines, -3 lines 0 comments Download
M juju/state/tests/test_initialize.py View 1 3 chunks +35 lines, -16 lines 0 comments Download
M juju/state/tests/test_machine.py View 1 2 chunks +17 lines, -4 lines 0 comments Download
M juju/state/tests/test_placement.py View 1 3 chunks +9 lines, -10 lines 0 comments Download
M juju/state/tests/test_relation.py View 1 7 chunks +49 lines, -8 lines 0 comments Download
M juju/state/tests/test_service.py View 1 11 chunks +65 lines, -20 lines 0 comments Download
M juju/unit/lifecycle.py View 1 10 chunks +17 lines, -15 lines 0 comments Download
M juju/unit/tests/test_charm.py View 1 2 chunks +2 lines, -26 lines 0 comments Download
M juju/unit/tests/test_deploy.py View 1 5 chunks +5 lines, -20 lines 0 comments Download
M juju/unit/tests/test_lifecycle.py View 1 7 chunks +17 lines, -6 lines 0 comments Download
M juju/unit/tests/test_workflow.py View 1 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 7
bcsaller
Please take a look.
12 years, 1 month ago (2012-03-18 07:47:23 UTC) #1
hazmat
This should probably be get rebased off the status branch https://codereview.appspot.com/5845061/diff/1/juju/control/add_unit.py File juju/control/add_unit.py (right): https://codereview.appspot.com/5845061/diff/1/juju/control/add_unit.py#newcode52 ...
12 years, 1 month ago (2012-03-25 21:23:33 UTC) #2
bcsaller
https://codereview.appspot.com/5845061/diff/1/juju/control/add_unit.py File juju/control/add_unit.py (right): https://codereview.appspot.com/5845061/diff/1/juju/control/add_unit.py#newcode52 juju/control/add_unit.py:52: raise JujuError("Subordinate services acquire units with their principal service.") ...
12 years, 1 month ago (2012-04-01 03:51:18 UTC) #3
bcsaller
Please take a look.
12 years, 1 month ago (2012-04-01 03:58:32 UTC) #4
bcsaller
Please take a look.
12 years ago (2012-04-02 17:15:58 UTC) #5
bcsaller
Please take a look.
12 years ago (2012-04-02 17:26:08 UTC) #6
bcsaller
12 years ago (2012-04-02 17:31:14 UTC) #7
Please take a look.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b