I have a heat template yaml file for creating a flavor named "flavor_one" on compute node placed at specific path /opt/config/template.yml
How can I create a flavor with the template file with openstack SDK in python. I tried with the below. But failed:
image = conn.create_flavor(
filename='/opt/config/template.yml' + flavor_one,
wait=True)
Any help ? I am a novice at openstack SDK. I have successfully established a connection with clouds.yaml file