Commit Graph

40 Commits (b041fb363e249ad395c52908b5875405178179be)

Author SHA1 Message Date
Clint Byrum a3a93a9130 Enable heat_local collector. 2013-07-03 17:29:04 -07:00
Clint Byrum c42f3e46a7 Add heat_local for locally injected metadata.
Functionality has been added, but it is not called in main.
2013-07-03 17:00:05 -07:00
Clint Byrum 24ffbf5356 Fix problems exposed by trying against heat-api-cfn. 2013-07-03 12:44:37 -07:00
Clint Byrum ffb503ed04 Use Ec2Signer from keystoneclient
Also refactor some tests for less confusing monkeypatching.
2013-07-02 15:27:03 -07:00
Clint Byrum d78808a9a8 Add handling of a failing source.
Also fix intermittent race with cfg.CONF
2013-07-02 13:28:15 -07:00
Clint Byrum 0c7f4dfb43 Switch to using isolated collect_all
Also Fix some niggles introduced in last patch.
2013-07-02 12:38:36 -07:00
Clint Byrum ec371c4421 isolate collect_all from main 2013-07-02 12:31:07 -07:00
Clint Byrum c56c63ddab Factor out generic call to main 2013-07-02 10:36:14 -07:00
Clint Byrum a13845a737 Run all collectors.
Also refactor internal API a bit to make code more generic.
2013-07-02 10:17:13 -07:00
Clint Byrum e10ce66791 Fix bugs and improve test coverage for cfn. 2013-07-02 00:47:02 -07:00
Clint Byrum 7efd87df87 Cover unconfigured cfn.metadata_url 2013-07-02 00:37:03 -07:00
Clint Byrum 3cf47cefd6 Actual implementation of CloudFormation 2013-07-01 23:52:55 -07:00
Clint Byrum d8f60687dc Refactor to avoid monkeypatching requests 2013-07-01 22:28:01 -07:00
Clint Byrum 9e1afa9d76 Skeleton implementation of cfn 2013-07-01 22:26:54 -07:00
Clint Byrum ea19fd8416 Use a session so only one connection is needed. 2013-06-28 13:04:27 -07:00
Clint Byrum 5d961341c0 Migrate from httplib2 to requests. 2013-06-28 12:47:30 -07:00
Clint Byrum 33d869975f Ensure full test coverage of cache. 2013-06-28 11:47:14 -07:00
Clint Byrum ccea45fc47 Rearrange cache to its own module. 2013-06-28 11:23:41 -07:00
Clint Byrum 312592d3db If no command is specified, print collected data as json 2013-06-28 09:16:10 -07:00
Clint Byrum 75d178083d Fix tests for shell argument 2013-06-28 09:07:20 -07:00
Clint Byrum 6e28cddc30 Use shell to execute --command. 2013-06-28 16:03:46 +00:00
Clint Byrum bfec47c769 Do not commit when creating .orig 2013-06-28 08:33:04 -07:00
Clint Byrum f6de46c259 Detect cache changes properly.
Also add explicit tests for caching.
2013-06-27 17:40:09 -07:00
Clint Byrum 48058f5a31 Fixing missed monkey patch 2013-06-27 16:38:36 -07:00
Clint Byrum 7983481bc3 Implement --command as documented in README.md 2013-06-27 16:29:30 -07:00
Clint Byrum b34e62abda using global CONF object 2013-06-27 11:04:36 -07:00
Clint Byrum 6bdc6d991a Add CLI options 2013-06-27 10:41:41 -07:00
Clint Byrum 21db93faba Add cachedir and command options 2013-06-27 09:41:02 -07:00
Clint Byrum ae75926f47 Move ec2 code into its own module. 2013-06-27 09:23:21 -07:00
Clint Byrum 7f2546ff26 Use oslo.config.
Also make sure __main__ is tested.
2013-06-27 09:01:02 -07:00
Clint Byrum e3c058618a Assert logging 2013-06-26 18:13:23 -07:00
Clint Byrum 9baa5cc879 Add logging 2013-06-26 17:53:59 -07:00
Clint Byrum c88ed2b577 Importing openstack-common using update.py and openstack-common.conf 2013-06-26 17:49:26 -07:00
Clint Byrum b6c2efaed6 Revert "import openstack.common from oslo-incubator"
This reverts commit f8d710517b.
2013-06-26 17:43:04 -07:00
Clint Byrum f8d710517b import openstack.common from oslo-incubator 2013-06-26 17:07:14 -07:00
Clint Byrum 4a568e4456 Add explicit os_collect_config exceptions. 2013-06-26 16:35:46 -07:00
Clint Byrum 98e6c25a39 Fixes from testing on HP Cloud Instances. 2013-06-26 16:17:17 -07:00
Clint Byrum 7208c42b55 Add copyright and license headers 2013-06-26 13:23:55 -07:00
Clint Byrum f260f92a49 Fix tests for rename. 2013-06-26 13:08:42 -07:00
Clint Byrum 05b667a977 Splitting os-collect-config into its own repo. 2013-06-26 12:40:25 -07:00