Created by William Reade on 2013-11-11 and last modified on 2013-11-12
Get this branch:
bzr branch lp:~fwereade/juju-core/api-force-destroy-machines
Only William Reade can upload to this branch. If you are William Reade please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

William Reade

Recent revisions

2049. By William Reade on 2013-11-12

address review

2048. By William Reade on 2013-11-11

merge parent

2047. By William Reade on 2013-11-11

hook up --force flag

2046. By William Reade on 2013-11-11

merge parent

2045. By William Reade on 2013-11-11

address review

2044. By William Reade on 2013-11-11

merge reparent

2043. By William Reade on 2013-11-08

merge reparent that actually departs relation scopes on unit removal

2042. By William Reade on 2013-11-08

add State.ForceDestroyMachines

2041. By Ian Booth on 2013-11-08

[r=wallyworld] Migrate manual provisioning to API

Manual provisioning now works using the API.
Two new client endpoints are provided:

The MachineConfig API is similar to the ContainerConfig
used by the local provider, however more information
is required in order to handle provisioning bootstrap
as well as normal host nodes.

Some refactoring of the ProvisionManchine method was also
done to split it into smaller chunks.


2040. By Andrew Wilkins on 2013-11-08

[r=axwalk] Migrate ssh-based CLI commands to API

Two new client API methods are introduced:
  - ServiceCharmRelations
  - PublicAddress

ServiceCharmRelations returns the names of
all charm relations for the given service.
This method is used to validate hook names
for debug-hooks.

PublicAddress takes a string, which must be
either a machine ID or unit ID. The call will
return the machine or unit's public address,
or an error if the entity does not have one.

The ssh-based commands (ssh, scp, debug-log
and debug-hooks) now use these methods instead
of going directly to state. The one major
change is that, previously, they used the
instance.Instance.WaitDNSName method to get
a host address. We now use PublicAddress,
which is populated by the machine-agent's
address updater.

Note that debug-log does not use any new
log-specific API; that is a much larger task,
and out of scope here.


Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
This branch contains Public information 
Everyone can see this information.