Merge pull request #11977 from resmo/for-ansible

cloudstack: add more common returns
This commit is contained in:
Brian Coca 2015-08-17 12:32:44 -04:00
commit 4068598c15

View file

@ -48,14 +48,17 @@ class AnsibleCloudStack(object):
# Common returns, will be merged with self.returns # Common returns, will be merged with self.returns
# search_for_key: replace_with_key # search_for_key: replace_with_key
self.common_returns = { self.common_returns = {
'id': 'id', 'id': 'id',
'name': 'name', 'name': 'name',
'created': 'created', 'created': 'created',
'zonename': 'zone', 'zonename': 'zone',
'state': 'state', 'state': 'state',
'project': 'project', 'project': 'project',
'account': 'account', 'account': 'account',
'domain': 'domain', 'domain': 'domain',
'displaytext': 'displaytext',
'displayname': 'displayname',
'description': 'description',
} }
# Init returns dict for use in subclasses # Init returns dict for use in subclasses