lp:~axwalk/gwacl/vnet-location-docalignment

Created by Andrew Wilkins and last modified
Get this branch:
bzr branch lp:~axwalk/gwacl/vnet-location-docalignment
Only Andrew Wilkins can upload to this branch. If you are Andrew Wilkins please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Andrew Wilkins
Project:
Go Windows Azure Client Library
Status:
Merged

Recent revisions

236. By Andrew Wilkins

Virtual networking changes

- Add Location field to NetworkConfiguration,
  so we can use that instead of AffinityGroup
  as the docs recommend.
- Use text/plain content-type in network config
  PUT, as specified in the docs.
- Use the most recent version for the network
  config APIs, which is actually older than what
  was in the code.
- Fix various "omitempty" tags.

235. By Andrew Wilkins

Update role sizes

- Add basic tier role sizes.
- Fix OS disk sizes.
- Separate cost from role sizes,
  record region-specific costs.

234. By Andrew Wilkins

[r=axwalk] [r=][bug=][author=axwalk] Pass ?comp=media to DeleteHostedService requests

As of the 2013-08-01 version of DeleteHostedService,
it is possible to pass a request parameter (comp=media)
to tell Azure to also delete associated disks and blobs.
We should use this instead of DestroyHostedService,
which does all of that in numerous API requests.

233. By Andrew Wilkins

[r=axwalk] [r=][bug=][author=axwalk] Introduce AddRole, DeleteRole; add missing Role fields

Two more management service API methods are added: AddRole
and DeleteRole (operating on deployments). These are
required when working with Availability Sets, where a role
must be added to an existing Cloud Service.

PersistentVMRole has been changed to be an alias for Role,
which has been expanded to include missing fields.
PersistentVMRole continues to have its own serialisation
methods, so it gets the correct XML tag name and namespace.

Roles can only have a single OS disk, so I've changed the
signature of NewRole to reflect this. Roles may have
additional data disks.

232. By Andrew Wilkins

[r=axwalk] [r=][bug=][author=axwalk] Rewind body when retrying POST/PUT/etc.

Azure may tell us to retry POST/PUT, which
may have a body. We must rewind the reader
if this happens.

231. By Andrew Wilkins

[r=][bug=1269835,1276019][author=axwalk] Add handling of temporary redirects in the management API.

230. By Jeroen T. Vermeulen

[r=rvb][author=jtv] Document the newly announced A8 and A9 machine sizes, update pricing, and correct some disk sizes that should have been 605 GB but were accidentally written as 65 GB.

229. By Ian Booth

[r=][bug=1246320][author=wallyworld] This branch tweaks an earlier fix for the Azure API change. It reverts part of that fix and puts a base64 encode operation in the correct place.

228. By Ian Booth

[r=wallyworld] [r=][bug=][author=wallyworld] The first fix for the request eof issue worked by setting
Close=true on the http request. This seemed to be not always
work so a different approach is used (same as for goose).
Set DisableKeepAlives=true on the http transport.

227. By Ian Booth

[r=wallyworld],[bug=1246320] [r=][bug=1246320][author=wallyworld] Azure now requires certain requests to the management api to have an updated version number in the header. Such changes are supposed to be backwards compatible but msft failed not to break existing applications. This branch includes the new api version. It also base64 encodes customdata sent with the request, as this also appears to have changed from underneath us.

With these changes, juju bootstrap now completes and the bootstrap instance spins up. Previously it would have errored part way through bootstrap. There still may be an issue with cloud-init completing properly but if this is the case, it appears to be a separate issue and I'd like to land this branch to allow others with Azure credentials to help debug.

Branch metadata

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

Subscribers