diff --git a/senlinclient/v1/models.py b/senlinclient/v1/models.py index dd00c320..f89b2493 100644 --- a/senlinclient/v1/models.py +++ b/senlinclient/v1/models.py @@ -14,6 +14,22 @@ from senlinclient.common import sdk as resource from senlinclient.openstack.clustering import clustering_service +class Version(resource.Resource): + resource_key = 'version' + resources_key = 'versions' + base_path = '/' + service = orchestration_service.OrchestrationService( + version=orchestration_service.OrchestrationService.UNVERSIONED + ) + + # capabilities + allow_list = True + + # Properties + links = resource.prop('links') + status = resource.prop('status') + + class BuildInfo(resource.Resource): base_path = '/build_info' service = clustering_service.ClusteringService()