summaryrefslogtreecommitdiffstats
path: root/docs/setupservicevm/3-ipv6-configguide-os-compute.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/setupservicevm/3-ipv6-configguide-os-compute.rst')
-rw-r--r--docs/setupservicevm/3-ipv6-configguide-os-compute.rst55
1 files changed, 35 insertions, 20 deletions
diff --git a/docs/setupservicevm/3-ipv6-configguide-os-compute.rst b/docs/setupservicevm/3-ipv6-configguide-os-compute.rst
index d4208bc..6bc0dd9 100644
--- a/docs/setupservicevm/3-ipv6-configguide-os-compute.rst
+++ b/docs/setupservicevm/3-ipv6-configguide-os-compute.rst
@@ -13,32 +13,43 @@ For exemplary purpose, we assume:
**OS-M-2**: Update the packages and install git
- ``sudo apt-get update -y``
+.. code-block:: bash
- ``sudo apt-get install -y git``
+ sudo apt-get update -y
+ sudo apt-get install -y git
**OS-M-3**: Download devstack and switch to stable/kilo branch
- ``git clone https://github.com/openstack-dev/devstack.git -b stable/kilo``
+.. code-block:: bash
+
+ git clone https://github.com/openstack-dev/devstack.git -b stable/kilo
**OS-M-4**: Start a new terminal, and change directory to where OpenStack is installed.
- ``cd ~/devstack``
+.. code-block:: bash
+
+ cd ~/devstack
**OS-M-5**: Create a ``local.conf`` file with the contents from the following URL.
- ``http://fpaste.org/276958/44395955/``
+.. code-block:: bash
+
+ http://fpaste.org/276958/44395955/
+
+Please Note:
*Note 1: you need to change the IP address of ``SERVICE_HOST`` to point to your actual IP address
-of OpenStack Controller.
+ of OpenStack Controller.
*Note 2: you need to change the IP address of ``ODL_MGR_IP`` to point to your actual IP address
-of Open Daylight Controller.
+ of Open Daylight Controller.
*Note 3: You may have to change the value of ``ODL_PROVIDER_MAPPINGS`` and ``PUBLIC_INTERFACE``
-to match your actual network interface.
+ to match your actual network interface.
**OS-M-6**: Initiate Openstack setup by invoking ``stack.sh``
- ``./stack.sh``
+.. code-block:: bash
+
+ ./stack.sh
**OS-M-7**: Assuming that all goes well, you can set ``OFFLINE=True`` and ``RECLONE=no`` in ``local.conf``
to lock the codebase. Devstack uses these configuration parameters to determine if it has to run with
@@ -46,19 +57,23 @@ the existing codebase or update to the latest copy.
**OS-M-8**: Source the credentials.
- ``opnfv@opnfv-os-controller:~/devstack$ source openrc admin demo``
+.. code-block:: bash
+
+ opnfv@opnfv-os-controller:~/devstack$ source openrc admin demo
**OS-M-9**: Verify some commands to check if setup is working fine.
- ``opnfv@opnfv-os-controller:~/devstack$ nova flavor-list``
-| +----+-----------+-----------+------+-----------+------+-------+-------------+-----------+
-| | ID | Name | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public |
-| +----+-----------+-----------+------+-----------+------+-------+-------------+-----------+
-| | 1 | m1.tiny | 512 | 1 | 0 | | 1 | 1.0 | True |
-| | 2 | m1.small | 2048 | 20 | 0 | | 1 | 1.0 | True |
-| | 3 | m1.medium | 4096 | 40 | 0 | | 2 | 1.0 | True |
-| | 4 | m1.large | 8192 | 80 | 0 | | 4 | 1.0 | True |
-| | 5 | m1.xlarge | 16384 | 160 | 0 | | 8 | 1.0 | True |
-| +----+-----------+-----------+------+-----------+------+-------+-------------+-----------+
+.. code-block:: bash
+
+ opnfv@opnfv-os-controller:~/devstack$ nova flavor-list
+ +----+-----------+-----------+------+-----------+------+-------+-------------+-----------+
+ | ID | Name | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public |
+ +----+-----------+-----------+------+-----------+------+-------+-------------+-----------+
+ | 1 | m1.tiny | 512 | 1 | 0 | | 1 | 1.0 | True |
+ | 2 | m1.small | 2048 | 20 | 0 | | 1 | 1.0 | True |
+ | 3 | m1.medium | 4096 | 40 | 0 | | 2 | 1.0 | True |
+ | 4 | m1.large | 8192 | 80 | 0 | | 4 | 1.0 | True |
+ | 5 | m1.xlarge | 16384 | 160 | 0 | | 8 | 1.0 | True |
+ +----+-----------+-----------+------+-----------+------+-------+-------------+-----------+
Now you can start to set up the service VM as an IPv6 vRouter in the environment of OpenStack and Open Daylight.