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:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user