~rogpeppe/juju-core/azure

[r=jtv] Skip the service-label dance in Azure.

We're still working out how we're supposed to determine an instance's DNS name
in Azure. We may have been chasing a red herring early on: on the one hand
the documentation hinted that a service's name also formed the hostname part
of its DNS name, but on the other, we were getting what looked like a randomly
generated DNS name assigned by Azure. And a little dance was orchestrated
around that: get the instance URL from the Deployment object, store it in the
Service's label field, use the label field as the source of the DNS name.

As we understand it now, the weird randomly assigned hostnames only happen in
Staging deployments, and the instance URLs don't even resolve when we deploy
to Production (as we must do in Juju).

And so this branch does away with the little dance, uses the service name as
the instance's DNS name, and rips out all code that I could find that was only
there to support the dance. The service label is now a mere courtesy; it's
required but we may as well set it to be identical to the service name.
Filename Latest Rev Last Changed Committer Comment Size
..
agent.go 1384.2.20 11 years ago John Arbash Meinel Merge trunk, resolve conflicts. Logical conflict 6.6 KB Diff Download File
agent_test.go 1409.2.2 11 years ago John Arbash Meinel Turn environs/agent into a top level agent/ packag 10 KB Diff Download File
diskmanager.go 1409.2.2 11 years ago John Arbash Meinel Turn environs/agent into a top level agent/ packag 945 bytes Diff Download File
diskmanager_test.go 1409.2.2 11 years ago John Arbash Meinel Turn environs/agent into a top level agent/ packag 2.7 KB Diff Download File
interfaces.go 1409.2.2 11 years ago John Arbash Meinel Turn environs/agent into a top level agent/ packag 695 bytes Diff Download File
tools.go 1206.2.1 11 years ago Martin Packman Add copyright statement at the top of all go files 4.4 KB Diff Download File
tools_compat_test.go 1409.2.4 11 years ago John Arbash Meinel Respond to jtv's review. 1013 bytes Diff Download File
tools_test.go 1409.2.2 11 years ago John Arbash Meinel Turn environs/agent into a top level agent/ packag 6.6 KB Diff Download File