calm-dsl icon indicating copy to clipboard operation
calm-dsl copied to clipboard

Showing the runtime variables into the .py file for blueprint using command.

Open abhijeetkaurav1st opened this issue 3 years ago • 0 comments

`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

abhijeetkaurav1st avatar May 19 '21 05:05 abhijeetkaurav1st