Ask Your Question
1

heat template and openstack commands execution in python

asked 2018-02-20 22:09:02 -0600

Navya gravatar image

I have to provide heat template as input in python and then launch 5 vms Can anyone please explain me how to do it in python? I have done it by using openstack cli.But I have to do it in python.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
3

answered 2018-02-20 23:34:07 -0600

Disclaimer: I am not a programmer.

You may want to look into the Python Heat Client, documented at https://docs.openstack.org/python-hea.... This way, you effectively use the CLI in your Python program.

Alternatively, the OpenStack SDK: https://docs.openstack.org/python-ope.... It has interfaces into the major OpenStack services, including Orchestration.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2018-02-20 22:09:02 -0600

Seen: 56 times

Last updated: Feb 20