summaryrefslogtreecommitdiff
path: root/tools/mock-meta.py
AgeCommit message (Collapse)Author
2014-08-26further remove evidence of pylint.Scott Moser
This just removes comments '# pylint:' things and other code remnents of pylint.
2012-08-22fix pep8 complaints.Scott Moser
make pep8 now is silent on precise's pep8 ( 0.6.1-2ubuntu2).
2012-08-09stright forward pylint cleanups to tests/ and tools/Scott Moser
2012-07-03Remove the useless function printout.Joshua Harlow
2012-07-03When the hostname is also the ip (thus no hostname) just use 'localhost'Joshua Harlow
2012-07-031. Cleanup of some mock functionalityJoshua Harlow
2. Adding in returning the 'public-keys' to the metadata 'list' response 3. Adding in sending back the running users keys (useful for testing) along with 'brickies' 4. Add in a traverse function that can walk down a dictionary (if possible)
2012-07-031. Update the mock ec2 data with some of the pubkey code from smosers ec2 ↵Joshua Harlow
metadata server. 2. Allow the setting of the ip addr (not just to 0.0.0.0) 3. Add comment as to how to use this for the 169 'magic' addr
2012-07-02Add a check on the filename provided ensuring it actually exists.Joshua Harlow
2012-07-02Update the mock metadata server to return a file (or the default generated ↵Joshua Harlow
content) for the userdata blob.
2012-06-25Add warning when hitting a unknown api.Joshua Harlow
2012-06-20Return a empty json map as default instead of an empty string for unknown fieldsJoshua Harlow
2012-06-19Add a mock ec2 metadata server that can be used for testing withJoshua Harlow