calm-dsl
calm-dsl copied to clipboard
Showing the runtime variables into the .py file for blueprint using command.
`The customer would like to use command line approach to launch the marketplace item without user intervention. The current approach was to define as per in tests/cli/runtime_helpers/ahv/editable_params.py ** The user was a consumer and not an automation designer who knew the blueprint inside out. It was overwhelming for a customer who simply want to run it as command line to create the file.
calm launch marketplace item -a "Create K8S Cluster - mo-test" -pj "Matthew Project" -e "Default Environment" -p "Single Master" "Request for Karbon Kubernetes Cluster"
I propose to add in a parameter to output the runtime variables into the .py. The user can edit the value in the eitable_params.py and run the following command again.
calm launch marketplace item -a "Create K8S Cluster - mo-test" -pj "Matthew Project" -e "Default Environment" -p "Single Master" -l /karbon/editable_params.py "Request for Karbon Kubernetes Cluster"`
Pls refer to this jira ticket: https://jira.nutanix.com/browse/CALM-25372