-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
Description
Directory structure
|_ kubera-api-testing/
|_ scenarios/
|_ openebs-install-basic/
|_ TCID-DIR-OP-INSTALL-OPENEBS/
|_ rest.go
Request Details
Projects --
Method - GET
URL - {{ director_url }}/v3/groups/{{ group_id }}/project
Status Code - 200
OpenEBS template --
Method - GET
URL - {{ director_url }}/v3/groups/{{ group_id }}/openebstemplates
Status Code - 200
Active openebses --
Method - GET
URL - {{ director_url }}/v3/groups/{{ group_id }}/openebses?state=active&clusterId={{ cluster_id}}
Status Code - 200
Create openebses --
Method - POST
URL - {{ director_url }}/v3/groups/{{ group_id }}/openebses
Status Code - 201
Body -
{
"clusterId": "{{ cluster_id }}",
"creatorId": "{{ group_id }}",
"projectId": "{{ project_id }}",
"templateId": "{{ template_id }}",
"namespace": "{{ namespace }}",
"defaultDirectory": "{{ default_directory }}",
"dockerRegistry": "{{ docker_registry }}",
"includeDeviceFilters": "{{ include_device_filters }}",
"excludeDeviceFilters": "{{ exclude_device_filters }}",
"cpuResourceLimit": "{{ cpu_resource_limit }}",
"memoryResourceLimit": " {{ memory_resource_limit }}",
"installationMode": "{{ installation_mode }}"
}
Install OpenEBS --
Method - POST
URL - {{ director_url }}/v3/groups/{{ group_id }}/openebses/{{ openebs_id }}/?action=openebsinstall
Status Code - 200
Body -
{
"yaml": <openebs installation manifest>
}
OpenEBS jobs --
Method - GET
URL - {{ director_url }}/v3/groups/{{ group_id}}/openebsjobs/{{ openebs_job_id }}
Status Code - 200
Reactions are currently unavailable