summaryrefslogtreecommitdiff
path: root/cloudinit/DataSourceMaaS.py
AgeCommit message (Collapse)Author
2012-03-16rename DataSourceMaaS to DataSourceMAAS, generally use MAAS everywhereScott Moser
instead of MaaS or Maas, use MAAS consistently. The only non 'MAAS' left are all lower case.
2012-03-09fix copyright and author on cloudinit/DataSourceMaaS.pyScott Moser
2012-03-08DataSourceMaaS: some fixes found in testingScott Moser
2012-03-08remove debug statementScott Moser
2012-03-08remove debug statementScott Moser
2012-03-08better 'main()', add and use version in api, do not require user-dataScott Moser
main now is more useful for debugging. now it does: * get: just dump contents of a url provided after oauth * crawl: walk through using indexes, dumping content * check-seed: validate the seed is good uses MD_VERSION in the url, and appends that to the metadata url in the config file. (previously it assumed the url in the config was the full url) does not require user-data in the http seed. if the user did not specify user-data, it wont be there, so do not fail on that case.
2012-03-07pylint/pep8 cleanupScott Moser
2012-03-07DataSourceMaaS: add test code for the oauth pathScott Moser
This adds to the 'main' in cloudinit/DataSourceMaaS.py a method for testing oauth_headers.
2012-03-07fix pylint and pep8 warningsScott Moser
2012-03-06no need to check explicitly for user-dataScott Moser
2012-03-06file for user-data should be 'user-data' (including the '-')Scott Moser
2012-03-06functional read_maas_seed_urlScott Moser
This commits a generally functional read_maas_seed_url, and re-works how the content is checked, to share between read_maas_seed{url,dir}.
2012-03-06move wait_for_metadata_service for util, rename to wait_for_urlScott Moser
Also, add in the headers_cb which will be required for oauth.
2012-03-06Add initial DataSourceMaaS.Scott Moser
Tests at this point seem to indicate that seed-dir would work.