~darkmuggle-deactivatedaccount/cloud-init/+git/cloud-init:digitalocean_networking

Last commit made on 2016-09-14
Get this branch:
git clone -b digitalocean_networking https://git.launchpad.net/~darkmuggle-deactivatedaccount/cloud-init/+git/cloud-init
Only Ben Howard can upload to this branch. If you are Ben Howard please log in for upload directions.

Branch merges

Branch information

Name:
digitalocean_networking
Repository:
lp:~darkmuggle-deactivatedaccount/cloud-init/+git/cloud-init

Recent commits

f274cfc... by Ben Howard

updated patch from MP for pylint/pep8 compliance

a9d8221... by Ben Howard

explicitly test actual JSON for expected types and values

528541a... by Ben Howard

updated test cases to not use httpretty

de8b146... by Ben Howard

Applied proposed patches from Scott Moser in MP

4d78b9f... by Ben Howard

DigitalOcean: add test cases for networking config

739d113... by Ben Howard

Minors changes per the MP.
- fixed function names
- changed scope of some messages

179a912... by Ben Howard

DigitalOcean: use meta-data for network configruation

On DigitalOcean, Network information is provided via Meta-data. This commit
changes the DigitalOcean data-source to bring up the first NIC, assigns an
IPv4LL address, and then queries the meta-data service for the networking
information.

28e8ac7... by Ben Howard

tests/unittests/test_datasource/test_digitalocean.py: update testcase

Update for the DigtialOcean testcase to use real example JSON response.

bc2c326... by Ben Howard

DigitalOcean: use the v1.json endpoint

Per [1], DigitalOcean provides the metadata in multiple formats. The JSON
document is the preferred endpoint.

Changes:
- Switch to the v1.json meta-data endpoint
- Identify droplet identity from SMBIOS
- Only poll for metadata when the instance is confirmed to be a droplet
- Removal of hard-coded mirrors

Additionally, centralize the gates on running 'dmidecode' on arm arches,
and update tests to address.

[1] https://developers.digitalocean.com/documentation/metadata/

d9537aa... by Scott Moser

MAAS: add vendor-data support

Add vendor-data support to maas which will behave like the openstack
vendor-data does. Data returned from maas must be yaml loadable.

Also update the main in DataSourceMAAS to "just work" on a maas
deployed system.

LP: #1612313