Skip to content

2.31.0.0-b165

@satvik279 satvik279 tagged this 15 Jun 06:28
Summary: Follow up to adding OCI provider. this adds additional code for adding universe functionality for OCI

Test Plan:
create, delete, pause , resume universe

create universe call

```

curl -s -X POST "http://<HOST>/api/v1/customers/<cuuid>/universes/clusters" \
  -H "X-AUTH-YW-API-TOKEN: <API-token>" \
  -H "Content-Type: application/json" \
  -d '{
    "clusters": [{
      "clusterType": "PRIMARY",
      "userIntent": {
        "universeName": "oci-test-universe2",
        "provider": "<provider-uuid>",
        "providerType": "oci",
        "regionList": ["<oci-region-uuid>"],
        "numNodes": 1,
        "replicationFactor": 1,
        "instanceType": "VM.Standard.E2.4",
        "ybSoftwareVersion": "2.29.0.0-b461",
        "accessKeyCode": "<access-key-code>",
        "enableYSQL": true,
        "enableYCQL": true,
        "useSystemd": true,
        "deviceInfo": {"volumeSize": 100, "numVolumes": 1, "storageType": "OCI_Balanced"},
        "instanceTags": {"yb_task": "dev", "yb_owner": "<owner>", "yb_dept": "eng"}
      }
    }]
  }' | jq '.'
```

Reviewers: #yba-api-review, anijhawan, nbhatia, nsingh, yshchetinin, anabaria

Reviewed By: #yba-api-review, anijhawan, yshchetinin, anabaria

Subscribers: anabaria, yshchetinin, jmak, yugaware, nikhil

Differential Revision: https://phorge.dev.yugabyte.com/D53691
Assets 2
Loading