You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by hu...@apache.org on 2013/01/15 17:53:54 UTC

git commit: Summary: Add documentation for the KVM support for OpenVswitch

Updated Branches:
  refs/heads/cloud-agent-with-openvswitch 2d69a1855 -> 6237e59f9


Summary: Add documentation for the KVM support for OpenVswitch

Modified the KVM installation instructions with an example on how to use
the openvswitch bridges.

Modified the Nicira NVP plugin documentation with support for KVM

Updated the Nicira NVP docs to mention that it can be configured using
the UI now.

Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/6237e59f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/6237e59f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/6237e59f

Branch: refs/heads/cloud-agent-with-openvswitch
Commit: 6237e59f999628e42d1c53a294fe632aabe440b5
Parents: 2d69a18
Author: Hugo Trippaers <tr...@gmail.com>
Authored: Tue Jan 15 17:53:40 2013 +0100
Committer: Hugo Trippaers <tr...@gmail.com>
Committed: Tue Jan 15 17:53:40 2013 +0100

----------------------------------------------------------------------
 docs/en-US/host-add-xenserver-kvm-ovm.xml      |    5 +++++
 docs/en-US/hypervisor-host-install-network.xml |    3 ++-
 docs/en-US/hypervisor-kvm-install-flow.xml     |    3 ++-
 docs/en-US/hypervisor-kvm-requirements.xml     |    7 ++++++-
 docs/en-US/plugin-niciranvp-features.xml       |    8 ++++++--
 docs/en-US/plugin-niciranvp-preparations.xml   |    4 +++-
 docs/en-US/plugin-niciranvp-usage.xml          |    1 +
 7 files changed, 25 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/6237e59f/docs/en-US/host-add-xenserver-kvm-ovm.xml
----------------------------------------------------------------------
diff --git a/docs/en-US/host-add-xenserver-kvm-ovm.xml b/docs/en-US/host-add-xenserver-kvm-ovm.xml
index 4bbeefc..1f13e72 100644
--- a/docs/en-US/host-add-xenserver-kvm-ovm.xml
+++ b/docs/en-US/host-add-xenserver-kvm-ovm.xml
@@ -83,6 +83,11 @@
           <para>Make sure the new host has the same network configuration (guest, private, and
             public network) as other hosts in the cluster.</para>
         </listitem>
+        <listitem>
+          <para>If you are using OpenVswitch bridges edit the file agent.properties on the KVM host
+            and set the parameter <emphasis role="italic">network.bridge.type</emphasis> to
+              <emphasis role="italic">openvswitch</emphasis> before adding the host to &PRODUCT;</para>
+        </listitem>
       </itemizedlist>
     </section>
     <!-- <section>

http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/6237e59f/docs/en-US/hypervisor-host-install-network.xml
----------------------------------------------------------------------
diff --git a/docs/en-US/hypervisor-host-install-network.xml b/docs/en-US/hypervisor-host-install-network.xml
index 8f6a10c..3a6dfac 100644
--- a/docs/en-US/hypervisor-host-install-network.xml
+++ b/docs/en-US/hypervisor-host-install-network.xml
@@ -25,6 +25,7 @@
 <section id="hypervisor-host-install-network">
     <title>Configure the network bridges</title>
     <warning><para>This is a very important section, please make sure you read this thoroughly.</para></warning>
+    <note><para>This section details how to configure bridges using the native implementation in Linux. Please refer to the next section if you intend to use OpenVswitch</para></note>
     <para>In order to forward traffic to your instances you will need at least two bridges: <emphasis>public</emphasis> and <emphasis>private</emphasis>.</para>
     <para>By default these bridges are called <emphasis>cloudbr0</emphasis> and <emphasis>cloudbr1</emphasis>, but you do have to make sure they are available on each hypervisor.</para>
     <para>The most important factor is that you keep the configuration consistent on all your hypervisors.</para>
@@ -146,4 +147,4 @@ iface cloudbr1 inet manual
             <warning><para>Make sure you have an alternative way like IPMI or ILO to reach the machine in case you made a configuration error and the network stops functioning!</para></warning>
         </section>
     </section>
-</section>
\ No newline at end of file
+</section>

http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/6237e59f/docs/en-US/hypervisor-kvm-install-flow.xml
----------------------------------------------------------------------
diff --git a/docs/en-US/hypervisor-kvm-install-flow.xml b/docs/en-US/hypervisor-kvm-install-flow.xml
index 76e03ef..6cc73e4 100644
--- a/docs/en-US/hypervisor-kvm-install-flow.xml
+++ b/docs/en-US/hypervisor-kvm-install-flow.xml
@@ -1,5 +1,5 @@
 <?xml version='1.0' encoding='utf-8' ?>
-<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
 <!ENTITY % BOOK_ENTITIES SYSTEM "cloudstack.ent">
 %BOOK_ENTITIES;
 ]>
@@ -31,6 +31,7 @@
     <xi:include href="hypervisor-host-install-libvirt.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
     <xi:include href="hypervisor-host-install-security-policies.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
     <xi:include href="hypervisor-host-install-network.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+    <xi:include href="hypervisor-host-install-network-openvswitch.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
     <xi:include href="hypervisor-host-install-firewall.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
     <xi:include href="hypervisor-host-install-finish.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
 </section>

http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/6237e59f/docs/en-US/hypervisor-kvm-requirements.xml
----------------------------------------------------------------------
diff --git a/docs/en-US/hypervisor-kvm-requirements.xml b/docs/en-US/hypervisor-kvm-requirements.xml
index c42db86..cdfc808 100644
--- a/docs/en-US/hypervisor-kvm-requirements.xml
+++ b/docs/en-US/hypervisor-kvm-requirements.xml
@@ -1,5 +1,5 @@
 <?xml version='1.0' encoding='utf-8' ?>
-<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
 <!ENTITY % BOOK_ENTITIES SYSTEM "cloudstack.ent">
 %BOOK_ENTITIES;
 ]>
@@ -35,6 +35,11 @@
     <listitem><para>libvirt: 0.9.4 or higher</para></listitem>
     <listitem><para>Qemu/KVM: 1.0 or higher</para></listitem>
   </itemizedlist>
+  <para>The default bridge in &PRODUCT; is the Linux native bridge implementation (bridge module). &PRODUCT; includes an option to work with OpenVswitch, the requirements are listed below</para>
+  <itemizedlist>
+    <listitem><para>libvirt: 0.9.11 or higher</para></listitem>
+    <listitem><para>openvswitch: 1.7.1 or higher</para></listitem>
+  </itemizedlist>
   <para>In addition, the following hardware requirements apply:</para>
   <itemizedlist>
     <listitem><para>Within a single cluster, the hosts must be of the same distribution version.</para></listitem>

http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/6237e59f/docs/en-US/plugin-niciranvp-features.xml
----------------------------------------------------------------------
diff --git a/docs/en-US/plugin-niciranvp-features.xml b/docs/en-US/plugin-niciranvp-features.xml
index b67323d..b71e67f 100644
--- a/docs/en-US/plugin-niciranvp-features.xml
+++ b/docs/en-US/plugin-niciranvp-features.xml
@@ -24,6 +24,10 @@
     <title>Features of the Nicira NVP Plugin</title>
     <para>In CloudStack release 4.0.0-incubating this plugin supports the Connectivity service. This service is responsible for creating Layer 2 networks supporting the networks created by Guests. In other words when an tennant creates a new network, instead of the traditional VLAN a logical network will be created by sending the appropriate calls to the Nicira NVP Controller.</para>
     <para>The plugin has been tested with Nicira NVP versions 2.1.0, 2.2.0 and 2.2.1</para>
-    <note><para>In CloudStack 4.0.0-incubating only the XenServer hypervisor is supported for use in combination with Nicira NVP</para></note>
-    <note><para>In CloudStack 4.0.0-incubating the UI components for this plugin are not complete, configuration is done by sending commands to the API</para></note>
+    <note><para>In CloudStack 4.0.0-incubating only the XenServer hypervisor is supported for use in
+            combination with Nicira NVP.</para>
+        <para>In CloudStack 4.1.0-incubating both KVM and XenServer hypervisors are
+            supported.</para></note>
+    <note><para>In CloudStack 4.0.0-incubating the UI components for this plugin are not complete,
+            configuration is done by sending commands to the API.</para></note>
 </section>

http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/6237e59f/docs/en-US/plugin-niciranvp-preparations.xml
----------------------------------------------------------------------
diff --git a/docs/en-US/plugin-niciranvp-preparations.xml b/docs/en-US/plugin-niciranvp-preparations.xml
index 95a25bd..86b795c 100644
--- a/docs/en-US/plugin-niciranvp-preparations.xml
+++ b/docs/en-US/plugin-niciranvp-preparations.xml
@@ -24,7 +24,9 @@
     <title>Prerequisites</title>
     <para>Before enabling the Nicira NVP plugin the NVP Controller needs to be configured. Please review the NVP User Guide on how to do that. </para>
     <para>CloudStack needs to have at least one physical network with the isolation method set to "STT". This network should be enabled for the Guest traffic type.</para>
-        <note><para>The Guest traffic type should be configured with the traffic label that matches the name of the Integration Bridge on XenServer. See the Nicira NVP User Guide for more details on how to set this up in XenServer.</para></note>
+        <note><para>The Guest traffic type should be configured with the traffic label that matches the name of
+            the Integration Bridge on the hypervisor. See the Nicira NVP User Guide for more details
+            on how to set this up in XenServer or KVM.</para></note>
     <para>Make sure you have the following information ready:</para>
     <itemizedlist>
         <listitem><para>The IP address of the NVP Controller</para></listitem>

http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/6237e59f/docs/en-US/plugin-niciranvp-usage.xml
----------------------------------------------------------------------
diff --git a/docs/en-US/plugin-niciranvp-usage.xml b/docs/en-US/plugin-niciranvp-usage.xml
index 1741338..76f9a0b 100644
--- a/docs/en-US/plugin-niciranvp-usage.xml
+++ b/docs/en-US/plugin-niciranvp-usage.xml
@@ -24,6 +24,7 @@
     <title>Using the Nicira NVP Plugin</title>
     
     <xi:include href="plugin-niciranvp-preparations.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include>
+    <xi:include href="plugin-niciranvp-ui.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include>
     <xi:include href="plugin-niciranvp-provider.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include>
     <xi:include href="plugin-niciranvp-devicemanagement.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include>
 </chapter>