opentelekomcloud / ansible-collection-cloud

Ansible modules for using with OTC (addition to the native OpenStack modules)
Apache License 2.0
21 stars 13 forks source link

update of the DDS module: opentelekomcloud.cloud.dds_instance #347

Open lboka opened 2 months ago

lboka commented 2 months ago

I would like to request update of the module: opentelekomcloud.cloud.dds_instance https://docs.otc-service.com/ansible-collection-cloud/dds_instance_module.html

Update needs to be done in Documentation page as well in the code as I can see that some values are placed there as assertion.

1. We are currently having more versions available not just 3.2 and 3.4 like currently possible to use. Version: Versions 4.4, 4.2, 4.0, 3.4 and 3.2 are supported.

2. Also there is different storage engine for different versions, so it cannot be set as constant. storage_engine: "rocksDB" for versions 4.4 and 4.2 "wiredTiger" for versions 4.0, 3.4 or 3.2

3. And we are having 3 different mode time
mode: Sharding ReplicaSet Single

4. Also flavor.type had more options For a cluster instance, the value can be mongos, shard, or config. For a replica set instance, the value is replica. For a single node instance, the value is single.

API DOcumentation for DDS link in OTC Helpcenter: https://docs.otc.t-systems.com/document-database-service/api-ref/apis_v3.0_recommended/db_instance_management/creating_a_db_instance.html#dds-api-0020

I can see in Terraform it was already updated: https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/latest/docs/resources/dds_instance_v3

anton-sidelnikov commented 1 month ago

Depends-on: https://github.com/opentelekomcloud/python-otcextensions/issues/456

lboka commented 1 month ago

Hi @anton-sidelnikov and @RusselSand do we have any progress here?
Could you please provide some ETA when this could be done ?
Thanks

RusselSand commented 1 month ago

@lboka I'm implementing new methods now. Will let you know when I`ll finish