Included openstack inventory script from core + changes from some open PRs, fixes to be able to use without custom changes for tower.

This commit is contained in:
Chris Church
2015-06-12 00:58:33 -04:00
parent dfe4e0c694
commit 4607972135
5 changed files with 97 additions and 41 deletions
+1
View File
@@ -2000,6 +2000,7 @@ class InventoryUpdatesTest(BaseTransactionTest):
project=api_project)
inventory_source = self.update_inventory_source(self.group, source='openstack', credential=credential)
self.check_inventory_source(inventory_source)
self.assertFalse(self.group.all_hosts.filter(instance_id='').exists())
def test_update_from_azure(self):
source_username = getattr(settings, 'TEST_AZURE_USERNAME', '')