Updated documentation for fuel-plugin-midonet

Mostly fix some wrong data

Change-Id: Idf5884d9f955debb4623e38331d6004acc755b14
This commit is contained in:
Carmela Rubinos 2016-01-25 13:08:26 +01:00
parent fa839fba72
commit 0bc35ebcb4
3 changed files with 64 additions and 35 deletions

View File

@ -1,4 +1,20 @@
MidoNet Mirantis Fuel MidoNet plugin
======= ============================
Compatible versions:
- Mirantis Fuel 7.0
- MidoNet v2015.6
- Midokura Enterprise MidoNet 1.9
How to build the plugin:
- Install fuel plugin builder (fpb)
- Clone the plugin repo and run fpb there:
git clone https://github.com/openstack/fuel-plugin-midonet
cd fuel-plugin-midonet/
fpb --build .
- Check if file midonet-fuel-plugin-3.0-3.0.0-1.noarch.rpm was created.
Please refer to `Plugin Guide <./doc/user-guide.rst>`_ for documentation Please refer to `Plugin Guide <./doc/user-guide.rst>`_ for documentation

View File

@ -1,20 +1,20 @@
MidoNet Fuel Plugin User Guide MidoNet Fuel Plugin User Guide
============================== ==============================
Once the Fuel MidoNet plugin has been installed (following `Installation Guide`_), you can Once the Fuel MidoNet plugin has been installed (following
create *OpenStack* environments that use MidoNet SDN controller as a Neutron `Installation Guide`_), you can create *OpenStack* environments that use
Backend. MidoNet SDN controller as a Neutron backend.
MidoNet Networks MidoNet Networks
---------------- ----------------
MidoNet changes the behaviour of Neutron MidoNet changes the behaviour of Neutron deployments and understanding what
deployments and understanding what MidoNet plugin does (especially on Public MidoNet plugin does (especially on Public Network Ranges) is essential to
Network Ranges) is essential to configure the Fuel plugin properly. configure the Fuel plugin properly.
MidoNet plugin is compatible with **Neutron + GRE** environment, so let's focus MidoNet plugin is compatible with both **Neutron + GRE** and **Neutron + VxLAN**
on the deployment with ML2 first, to introduce the differences that MidoNet environment, so let's focus on the deployment with ML2 first, to introduce the
plugin has. differences that MidoNet plugin has.
Without MidoNet plugin Without MidoNet plugin
`````````````````````` ``````````````````````

View File

@ -36,14 +36,16 @@ To install the MidoNet Fuel plugin:
#. Copy the *rpm* file to the Fuel Master node: #. Copy the *rpm* file to the Fuel Master node:
:: ::
[root@home ~]# scp midonet-fuel-plugin-3.0-3.0.0-1.noarch.rpm root@fuel-master:/tmp [root@home ~]# scp midonet-fuel-plugin-3.0-3.0.0-1.noarch.rpm \
root@fuel-master:/tmp
#. Log into Fuel Master node and install the plugin using the #. Log into Fuel Master node and install the plugin using the
`Fuel CLI <https://docs.mirantis.com/openstack/fuel/fuel-7.0/user-guide.html#using-fuel-cli>`_: `Fuel CLI <https://docs.mirantis.com/openstack/fuel/fuel-7.0/user-guide.html#using-fuel-cli>`_:
:: ::
[root@fuel-master ~]# fuel plugins --install midonet-fuel-plugin-3.0-3.0.0-1.noarch.rpm [root@fuel-master ~]# fuel plugins --install \
midonet-fuel-plugin-3.0-3.0.0-1.noarch.rpm
#. Verify that the plugin is installed correctly: #. Verify that the plugin is installed correctly:
:: ::
@ -51,7 +53,7 @@ To install the MidoNet Fuel plugin:
[root@fuel-master ~]# fuel plugins [root@fuel-master ~]# fuel plugins
id | name | version | package_version id | name | version | package_version
---|---------|---------|---------------- ---|---------|---------|----------------
9 | midonet | 4.0.0 | 3.0.0 9 | midonet | 3.0.0 | 3.0.0
Create the MidoNet roles Create the MidoNet roles
@ -88,8 +90,14 @@ NSDB role
:: ::
$ fuel role --create --rel 1 --file nsdb.yaml $ fuel release
$ fuel role --create --rel 2 --file nsdb.yaml ---|----------------------|-------------|------------------|-------------
2 | Kilo on Ubuntu 14.04 | available | Ubuntu | 2015.1.0-7.0
1 | Kilo on CentOS 6.5 | unavailable | CentOS | 2015.1.0-7.0
::
$ fuel role --create --release 2 --file nsdb.yaml
Gateway role Gateway role
@ -108,14 +116,19 @@ Gateway role
- allocate_size: min - allocate_size: min
id: os id: os
#. Create the role for the environment #. Create the role for the environment (``Ubuntu 2015.1.0-7.0``) using the
(`Ubuntu 2015.1.0-7.0`) using the `Fuel CLI <https://docs.mirantis.com/openstack/fuel/fuel-7.0/user-guide.html#using-fuel-cli>`_:
`Fuel CLI <https://docs.mirantis.com/openstack/fuel/fuel-7.0/user-guide.html#using-fuel-cli>`_
:: ::
$ fuel role --create --rel 1 --file gateway.yaml $ fuel release
$ fuel role --create --rel 2 --file gateway.yaml ---|----------------------|-------------|------------------|-------------
2 | Kilo on Ubuntu 14.04 | available | Ubuntu | 2015.1.0-7.0
1 | Kilo on CentOS 6.5 | unavailable | CentOS | 2015.1.0-7.0
::
$ fuel role --create --release 2 --file nsdb.yaml
Edit the Fuel deployment graph dependency cycle Edit the Fuel deployment graph dependency cycle
@ -164,35 +177,35 @@ tasks related to the recently created roles on the Fuel Deployment Graph.
type: group type: group
#. Download the deployment tasks for the release 1: #. Download the deployment tasks for the **release 2** (``Ubuntu 2015.1.0-7.0``):
:: ::
fuel rel --rel 1 --deployment-tasks --download $ fuel release
---|----------------------|-------------|------------------|-------------
2 | Kilo on Ubuntu 14.04 | available | Ubuntu | 2015.1.0-7.0
1 | Kilo on CentOS 6.5 | unavailable | CentOS | 2015.1.0-7.0
#. A file ``./release_1/deployment_tasks.yaml`` will be downloaded. ::
fuel rel --rel 2 --deployment-tasks --download
#. A file ``./release_2/deployment_tasks.yaml`` will be downloaded.
#. Without moving from your current directory, append the #. Without moving from your current directory, append the
``/tmp/midonet_groups.yaml`` file into the ``deployment_tasks.yaml``: ``/tmp/midonet_groups.yaml`` file into the ``deployment_tasks.yaml``:
:: ::
cat /tmp/midonet_groups.yaml >> ./release_1/deployment_tasks.yaml cat /tmp/midonet_groups.yaml >> ./release_2/deployment_tasks.yaml
#. Upload the edited ``deployment-tasks`` file to the release 1: #. Upload the edited ``deployment-tasks`` file to the ``release 2``:
:: ::
fuel rel --rel 1 --deployment-tasks --upload
#. Do the same for **release 2**:
::
fuel rel --rel 2 --deployment-tasks --download
cat /tmp/midonet_groups.yaml >> ./release_2/deployment_tasks.yaml
fuel rel --rel 2 --deployment-tasks --upload fuel rel --rel 2 --deployment-tasks --upload
#. Though current Fuel Plugins Framework only allows to apply tasks on #. Though current Fuel Plugins Framework only allows to apply tasks on
*pre_deployment* and *post_deployment* stages for 7.0 Fuel release, *pre_deployment* and *post_deployment* stages for 7.0 Fuel release,
adding these groups and these tasks into the main graph will allow **NSDB** adding these groups and these tasks into the main graph will allow **NSDB**