Merge "doc change default vim registration via CLI"
This commit is contained in:
commit
bbdc59edd7
@ -68,10 +68,9 @@ remote OpenStack site.
|
|||||||
Default VIM configuration
|
Default VIM configuration
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
The default vim needs to be registered and added to tacker.conf under
|
The default vim needs to be registered. This is required when the optional
|
||||||
'nfvo_vim' section. This is required when the optional argument -vim-id
|
argument -vim-id is not provided during vnf-create. Refer to steps described in
|
||||||
is not provided during vnf-create. Refer to steps described in
|
`manual installation`_ to register default vim.
|
||||||
`manual installation`_ to add it into tacker.conf.
|
|
||||||
|
|
||||||
.. _manual installation: http://docs.openstack.org/developer/tacker/install/manual_installation.html#registering-default-vim
|
.. _manual installation: http://docs.openstack.org/developer/tacker/install/manual_installation.html#registering-default-vim
|
||||||
|
|
||||||
@ -98,8 +97,9 @@ Deploying a new VNF on registered VIM
|
|||||||
+----------------+--------------------------------------+
|
+----------------+--------------------------------------+
|
||||||
|
|
||||||
The --vim-id/--vim-name argument is optional during vnf-create. If
|
The --vim-id/--vim-name argument is optional during vnf-create. If
|
||||||
--vim-id/--vim-name is not specified, the 'default_vim' key in tacker.conf will
|
--vim-id/--vim-name is not specified, the default vim will
|
||||||
be used to deploy VNF on the default site.
|
be used to deploy VNF on the default site. We can create default vim
|
||||||
|
by specifying --is-default option with vim-register command.
|
||||||
|
|
||||||
User can optionally provide --vim-region-name during vnf-create to deploy the
|
User can optionally provide --vim-region-name during vnf-create to deploy the
|
||||||
VNF in a specify region within that VIM.
|
VNF in a specify region within that VIM.
|
||||||
|
@ -305,34 +305,32 @@ required because the console will be locked by a running process.
|
|||||||
|
|
||||||
Registering default VIM
|
Registering default VIM
|
||||||
=======================
|
=======================
|
||||||
1). Register the VIM that will be used as a default VIM for VNF deployments.
|
Register the VIM that will be used as a default VIM for VNF deployments.
|
||||||
This will be required when the optional argument --vim-id is not provided by
|
This will be required when the optional argument --vim-id is not provided by
|
||||||
the user during vnf-create.
|
the user during vnf-create.
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
tacker vim-register --config-file config.yaml --name <Default VIM name>
|
tacker vim-register --is-default --config-file config.yaml \
|
||||||
--description <Default VIM description>
|
--name <Default VIM name> --description <Default VIM description>
|
||||||
..
|
..
|
||||||
|
|
||||||
config.yaml will contain VIM specific parameters as below:
|
config.yaml will contain VIM specific parameters as below:
|
||||||
|
|
||||||
.. code-block:: ini
|
.. code-block:: ini
|
||||||
|
|
||||||
auth_url: http://<keystone ip>:5000
|
auth_url: http://<keystone_public_endpoint_url>:5000
|
||||||
username: <username>
|
username: <username>
|
||||||
password: <password>
|
password: <password>
|
||||||
project_name: <project_name>
|
project_name: <project_name>
|
||||||
|
|
||||||
.. note::
|
Add following parameters to config.yaml if VIM is using keystone v3:
|
||||||
Here username must point to the user having 'admin' and 'advsvc' role on the
|
|
||||||
project that will be used for deploying VNFs.
|
|
||||||
|
|
||||||
2). Add the VIM name registered in step 1 in /etc/tacker/tacker.conf under
|
|
||||||
[nfvo_vim] section:
|
|
||||||
|
|
||||||
.. code-block:: ini
|
.. code-block:: ini
|
||||||
|
|
||||||
default_vim = <Default VIM Name>
|
project_domain_name: <domain>
|
||||||
|
user_domain_name: <domain>
|
||||||
|
|
||||||
3). Restart tacker server
|
.. note::
|
||||||
|
Here username must point to the user having 'admin' and 'advsvc' role on the
|
||||||
|
project that will be used for deploying VNFs.
|
||||||
|
Loading…
Reference in New Issue
Block a user