← Back to team overview

cloud-init-dev team mailing list archive

[Merge] lp:~smoser/cloud-init/trunk.joyent-cleanup into lp:cloud-init


The proposal to merge lp:~smoser/cloud-init/trunk.joyent-cleanup into lp:cloud-init has been updated.

Commit Message changed to:

smartos: separate client out of datasource and support network config

This does:
 * support reading 'sdc:nics' and converting it to internal
   'network-config' format.
 * change the datasource to be a local datasource (which is required
   to apply networking configuration).
   This change requires some rework of init to allow a datasource
   to be found locally but not resolve all userdata/metadata until
   networking is up. (that is coming)
 * support 'list', 'put', and 'delete' in the metadata client.
 * add 'get_json' to get known values that have json content.
 * add a simple main to datasource demonstrating how to read.
 * separate out the "legacy" behavior of having optionally
   base64 encoded data into JoyentMetadataLegacySerialClient.

Note, tests have been dropped that expected datasource.md[key] to be
base64 encoded.  Now, the client takes care of decoding that.  There
is not any real reason to store the base64 values in the datasource.

For more details, see:
Your team cloud init development team is requested to review the proposed merge of lp:~smoser/cloud-init/trunk.joyent-cleanup into lp:cloud-init.