| Age | Commit message (Collapse) | Author | 
|---|
|  | UrlResponse: biggest change... make readurl return bytes, making user
             know what to do with it.
util: add load_tfile_or_url for loading text file or url
      as  read_file_or_url now returns bytes
ec2_utils: all meta-data is text, remove non-obvious string translations
DigitalOcean: adjust for ec2_utils
DataSourceGCE, DataSourceMAAS: user-data is binary other fields are text.
openstack.py: read paths without decoding to text.  This is ok as paths
              other than user-data are json, and load_json will handle
load_file still returns text, and that is what most things use. | 
|  | to be behind trunk.
`tox -e py27` passes full test suite.  Now to work on replacing mocker. | 
|  |  | 
|  | For now, this vendor data handling is just added to openstack.
However, in an effort to allow sanely handling of multi-part vendor-data
that is namespaced, we add openstack.convert_vendordata_json .
That basically takes whatever was loaded from vendordata and takes
the 'cloud-init' key if it is a dict.  This way the author can
namespace cloud-init, basically telling it to ignore everything else. | 
|  | instead of taking a version that they should look for,
the readers now just select the highest supported version.
definitely a use case later for having version= but nothing 
is using it now. | 
|  |  | 
|  |  | 
|  |  | 
|  | using tuple for _versions was just not necessary.
fix reference to undefined os_versions. | 
|  | If something is broken as in a built in config, or code
just broken, then logging warning during search for metadata
is ok. | 
|  | make pyflakes now passes. | 
|  | Updated read_config_drive: removed the unused version kwarg, used the
OS_VERSIONS tuple from the openstack helper to avoid hardcoding
versions.
Added a comment to the tuple in helpers/openstack.py asking for it to
be kept in chronological order. | 
|  |  | 
|  |  | 
|  |  | 
|  |  | 
|  |  | 
|  |  | 
|  |  | 
|  |  | 
|  |  | 
|  |  | 
|  |  | 
|  |  | 
|  |  |