nutanix / calm-dsl

Keep Calm and DSL On!
https://nutanix.github.io/calm-dsl/
Apache License 2.0
33 stars 51 forks source link

calm update cache is failing if project has more than 30 subnets whitelisted #207

Closed abhijeetkaurav1st closed 2 years ago

abhijeetkaurav1st commented 2 years ago

In DSL , we uses nutanix/v1/subnets/list api with filter as

filter_query = "(_entity_id_=={})".format(
                        ",_entity_id_==".join(subnet_uuids)
                    )

List API will fail, if there are more than 30 subnets failed. So DSL need to update functionality to avoid this API use in such cases.

abhijeetkaurav1st commented 2 years ago

Calm ticket for the same : https://jira.nutanix.com/browse/CALM-30050