Added config section for compute deployment details

* Added compute section for hypervisor confg. Will need this
  section to define other specifics about environment shortly
* Added compute section to reference configs

Change-Id: I668d5c3cfb2fe1db07b6de7e582c175478fad813
This commit is contained in:
Daryl Walleck
2013-05-15 00:12:42 -05:00
parent 7daaea942a
commit 50bbb1590d
5 changed files with 21 additions and 0 deletions

View File

@@ -17,6 +17,15 @@ limitations under the License.
from cloudcafe.common.models.configuration import ConfigSectionInterface
class ComputeConfig(ConfigSectionInterface):
SECTION_NAME = 'compute'
@property
def hypervisor(self):
return self.get("hypervisor")
class ComputeEndpointConfig(ConfigSectionInterface):
SECTION_NAME = 'compute_endpoint'