Change "senlin profile-create" to "openstack cluster profile create"

"senlin profile-create" is deprecated, so use "openstack cluster profile create"
instead.

Change-Id: I05d8f5e1e249221346e7ba99ab6c6ed430f84510
This commit is contained in:
chen.qiaomin@99cloud.net 2016-07-18 01:11:51 +00:00
parent 0d9e1ef774
commit 0c561d489f
2 changed files with 4 additions and 4 deletions

View File

@ -57,7 +57,7 @@ you can use the following command to create a profile object:
.. code-block:: console
$ cd $SENLIN_ROOT/examples/profiles/nova_server
$ senlin profile-create -s cirros_basic.yaml myserver
$ openstack cluster profile create --spec-file cirros_basic.yaml myserver
Check the :doc:`Profiles <../user/profiles>` section in the
:doc:`User References <../user/index>` documentation for more details.

View File

@ -7,16 +7,16 @@ Senlin profile using `senlin profile-create` command, for example:
To create a os.nova.server profile::
$ cd ./nova_server
$ senlin profile-create -s cirros_basic.yaml my_server
$ openstack cluster profile create --spec-file cirros_basic.yaml my_server
To create a os.heat.stack profile::
$ cd ./heat_stack/nova_server
$ senlin profile-create -s heat_stack_nova_server.yaml my_stack
$ openstack cluster profile create --spec-file heat_stack_nova_server.yaml my_stack
To get help on the command line options for creating profiles::
$ senlin help profile-create
$ openstack help cluster profile create
To show the profile created::