senlin/examples/profiles
chen.qiaomin@99cloud.net 0c561d489f Change "senlin profile-create" to "openstack cluster profile create"
"senlin profile-create" is deprecated, so use "openstack cluster profile create"
instead.

Change-Id: I05d8f5e1e249221346e7ba99ab6c6ed430f84510
2016-07-18 01:20:50 +00:00
..
heat_stack Add a profile example 2016-04-14 23:08:18 -04:00
nova_server Revise nova server profile spec example 2016-07-11 05:15:59 -04:00
README.rst Change "senlin profile-create" to "openstack cluster profile create" 2016-07-18 01:20:50 +00:00

How To Use the Sample Spec File

This directory contains sample spec files that can be used to create a Senlin profile using senlin profile-create command, for example:

To create a os.nova.server profile:

$ cd ./nova_server
$ openstack cluster profile create --spec-file cirros_basic.yaml my_server

To create a os.heat.stack profile:

$ cd ./heat_stack/nova_server
$ openstack cluster profile create --spec-file heat_stack_nova_server.yaml my_stack

To get help on the command line options for creating profiles:

$ openstack help cluster profile create

To show the profile created:

$ senlin profile-show <profile_id>