Update doc 'functional-test.rst'

Change-Id: I16a23e754d44219a6b245514da18dd3257342d0b
This commit is contained in:
coldmoment 2017-05-16 15:40:59 +08:00
parent 833933dc24
commit aef6ec9018
1 changed files with 6 additions and 6 deletions

View File

@ -12,7 +12,7 @@ You need to have a Magnum instance running somewhere. If you are using
devstack, follow the developer quickstart guide to deploy Magnum in a devstack devstack, follow the developer quickstart guide to deploy Magnum in a devstack
environment environment
`<http://docs.openstack.org/developer/magnum/dev/quickstart.html>`_ `<https://docs.openstack.org/developer/magnum/dev/quickstart.html>`_
Configuration Configuration
============= =============
@ -48,12 +48,12 @@ Set the DNS name server to be used by your cluster nodes (e.g. 8.8.8.8)::
Create the necessary keypair and flavor:: Create the necessary keypair and flavor::
source /opt/stack/devstack/openrc admin admin source /opt/stack/devstack/openrc admin admin
nova keypair-add --pub-key ~/.ssh/id_rsa.pub default openstack keypair create --public-key ~/.ssh/id_rsa.pub default
nova flavor-create m1.magnum 100 1024 10 1 openstack flavor create --id 100 --ram 1024 --disk 10 --vcpus 1 m1.magnum
nova flavor-create s1.magnum 200 512 10 1 openstack flavor create --id 200 --ram 512 --disk 10 --vcpus 1 s1.magnum
source /opt/stack/devstack/openrc demo demo source /opt/stack/devstack/openrc demo demo
nova keypair-add --pub-key ~/.ssh/id_rsa.pub default openstack keypair create --public-key ~/.ssh/id_rsa.pub default
You may need to explicitly upgrade required packages if you've installed them You may need to explicitly upgrade required packages if you've installed them
before and their versions become too old:: before and their versions become too old::
@ -66,7 +66,7 @@ Outside of devstack
If you are not using devstack, you'll need to create the configuration files. If you are not using devstack, you'll need to create the configuration files.
The /etc/tempest.conf configuration file is documented here The /etc/tempest.conf configuration file is documented here
`<http://docs.openstack.org/developer/tempest/configuration.html#tempest-configuration>`_ `<https://docs.openstack.org/developer/tempest/configuration.html#tempest-configuration>`_
Here's a reasonable sample of tempest.conf settings you might need:: Here's a reasonable sample of tempest.conf settings you might need::