Resolve name/id using translation rules for Server
This changes OS::Nova::Server resource to use
translation rules to resolve name_id properties.
As most of the tests in test_server.py and
test_rackspace_cloud_server.py are impacted by this
change, this also changes all the tests to use mock
library. Though the change is very big, it's mostly
mox to mock conversion for the tests.
This reduces the LOC drastically. Some of these test
modules have become very big to manage. We can split
them into smaller ones in the future.
Reviewed: https:/ /review. openstack. org/287834 /git.openstack. org/cgit/ openstack/ heat/commit/ ?id=93054781415 02f5eec289b30c9 363731a699948c
Committed: https:/
Submitter: Jenkins
Branch: master
commit 9305478141502f5 eec289b30c93637 31a699948c
Author: Rabi Mishra <email address hidden>
Date: Thu Jan 28 10:08:57 2016 +0530
Resolve name/id using translation rules for Server
This changes OS::Nova::Server resource to use
translation rules to resolve name_id properties.
As most of the tests in test_server.py and rackspace_ cloud_server. py are impacted by this
test_
change, this also changes all the tests to use mock
library. Though the change is very big, it's mostly
mox to mock conversion for the tests.
This reduces the LOC drastically. Some of these test
modules have become very big to manage. We can split
them into smaller ones in the future.
Change-Id: Iaa630ab3b013df b65e9131b1f265e 846c8274037 mock-conversion
Partial-Bug: #1514680
Blueprint: mox-to-