diff --git a/docs/en-US/CloudStack_Nicira_NVP_Guide.xml b/docs/en-US/CloudStack_Nicira_NVP_Guide.xml
index 7f156d5dc09..5431fc1cb43 100644
--- a/docs/en-US/CloudStack_Nicira_NVP_Guide.xml
+++ b/docs/en-US/CloudStack_Nicira_NVP_Guide.xml
@@ -48,6 +48,7 @@
+
diff --git a/docs/en-US/images/nvp-add-controller.png b/docs/en-US/images/nvp-add-controller.png
new file mode 100644
index 00000000000..e02d31f0a37
Binary files /dev/null and b/docs/en-US/images/nvp-add-controller.png differ
diff --git a/docs/en-US/images/nvp-enable-provider.png b/docs/en-US/images/nvp-enable-provider.png
new file mode 100644
index 00000000000..0f2d02ddfa9
Binary files /dev/null and b/docs/en-US/images/nvp-enable-provider.png differ
diff --git a/docs/en-US/images/nvp-network-offering.png b/docs/en-US/images/nvp-network-offering.png
new file mode 100644
index 00000000000..c2d25c48c19
Binary files /dev/null and b/docs/en-US/images/nvp-network-offering.png differ
diff --git a/docs/en-US/images/nvp-physical-network-stt.png b/docs/en-US/images/nvp-physical-network-stt.png
new file mode 100644
index 00000000000..2ce7853ac54
Binary files /dev/null and b/docs/en-US/images/nvp-physical-network-stt.png differ
diff --git a/docs/en-US/images/nvp-vpc-offering-edit.png b/docs/en-US/images/nvp-vpc-offering-edit.png
new file mode 100644
index 00000000000..ff235e24cd6
Binary files /dev/null and b/docs/en-US/images/nvp-vpc-offering-edit.png differ
diff --git a/docs/en-US/plugin-niciranvp-about.xml b/docs/en-US/plugin-niciranvp-about.xml
index 8d2e20e7756..cfab83c73c3 100644
--- a/docs/en-US/plugin-niciranvp-about.xml
+++ b/docs/en-US/plugin-niciranvp-about.xml
@@ -1,5 +1,5 @@
-
%BOOK_ENTITIES;
diff --git a/docs/en-US/plugin-niciranvp-devicemanagement.xml b/docs/en-US/plugin-niciranvp-devicemanagement.xml
index 57b8eee9d7d..761c39f3179 100644
--- a/docs/en-US/plugin-niciranvp-devicemanagement.xml
+++ b/docs/en-US/plugin-niciranvp-devicemanagement.xml
@@ -21,27 +21,15 @@
under the License.
-->
- Device-management
- In &PRODUCT; 4.0.x each Nicira NVP setup is considered a "device" that can be added and removed from a physical network. To complete the configuration of the Nicira NVP plugin a device needs to be added to the physical network using the "addNiciraNVPDevice" API call. The plugin is now enabled on the physical network and any guest networks created on that network will be provisioned using the Nicira NVP Controller.
- The plugin introduces a set of new API calls to manage the devices, see below or refer to the API reference.
-
- addNiciraNvpDevice
-
-
- physicalnetworkid: the UUID of the physical network on which the device is configured
- hostname: the IP address of the NVP controller
- username: the username for access to the NVP API
- password: the password for access to the NVP API
- transportzoneuuid: the UUID of the transportzone
-
-
- deleteNiciraNVPDevice
-
-
- nvpdeviceid: the UUID of the device
-
-
- listNiciraNVPDevices
-
+ Device Management
+ In &PRODUCT; a Nicira NVP setup is considered a "device" that can be added and removed from a physical network. To complete the configuration of the Nicira NVP plugin a device needs to be added to the physical network. Press the "Add NVP Controller" button on the provider panel and enter the configuration details.
+
+
+
+
+
+ nvp-physical-network-stt.png: a screenshot of the device configuration popup.
+
+
diff --git a/docs/en-US/plugin-niciranvp-features.xml b/docs/en-US/plugin-niciranvp-features.xml
index c346bfb64e3..e439f1b4923 100644
--- a/docs/en-US/plugin-niciranvp-features.xml
+++ b/docs/en-US/plugin-niciranvp-features.xml
@@ -22,12 +22,63 @@
-->
Features of the Nicira NVP Plugin
- In &PRODUCT; 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 tenant 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.
- The plugin has been tested with Nicira NVP versions 2.1.0, 2.2.0 and 2.2.1
- In &PRODUCT; 4.0.0-incubating only the XenServer hypervisor is supported for use in
- combination with Nicira NVP.
- In &PRODUCT; 4.1.0-incubating both KVM and XenServer hypervisors are
- supported.
- In &PRODUCT; 4.0.0-incubating the UI components for this plugin are not complete,
- configuration is done by sending commands to the API.
+ The following table lists the CloudStack network services provided by the Nicira NVP Plugin.
+
+ Supported Services
+
+
+
+ Network Service
+ CloudStack version
+ NVP version
+
+
+
+
+ Virtual Networking
+ >= 4.0
+ >= 2.2.1
+
+
+ Source NAT
+ >= 4.1
+ >= 3.0.1
+
+
+ Static NAT
+ >= 4.1
+ >= 3.0.1
+
+
+ Port Forwarding
+ >= 4.1
+ >= 3.0.1
+
+
+
+
+ The Virtual Networking service was originally called 'Connectivity' in CloudStack 4.0
+ The following hypervisors are supported by the Nicira NVP Plugin.
+
+ Supported Hypervisors
+
+
+
+ Hypervisor
+ CloudStack version
+
+
+
+
+ XenServer
+ >= 4.0
+
+
+ KVM
+ >= 4.1
+
+
+
+
+ Please refer to the Nicira NVP configuration guide on how to prepare the hypervisors for Nicira NVP integration.
diff --git a/docs/en-US/plugin-niciranvp-introduction.xml b/docs/en-US/plugin-niciranvp-introduction.xml
index 9c1d42df32d..a06f12317e5 100644
--- a/docs/en-US/plugin-niciranvp-introduction.xml
+++ b/docs/en-US/plugin-niciranvp-introduction.xml
@@ -22,5 +22,8 @@
-->
Introduction to the Nicira NVP Plugin
- The Nicira NVP plugin allows CloudStack to use the Nicira solution for virtualized network as a provider for CloudStack networks and services.
+ The Nicira NVP plugin adds Nicira NVP as one of the available SDN implementations in
+ CloudStack. With the plugin an exisiting Nicira NVP setup can be used by CloudStack to
+ implement isolated guest networks and to provide additional services like routing and
+ NAT.
diff --git a/docs/en-US/plugin-niciranvp-networkofferings.xml b/docs/en-US/plugin-niciranvp-networkofferings.xml
new file mode 100644
index 00000000000..b30437e97ba
--- /dev/null
+++ b/docs/en-US/plugin-niciranvp-networkofferings.xml
@@ -0,0 +1,131 @@
+
+
+%BOOK_ENTITIES;
+
+%xinclude;
+]>
+
+
+ Network Offerings
+ Using the Nicira NVP plugin requires a network offering with Virtual Networking enabled and configured to use the NiciraNvp element. Typical use cases combine services from the Virtual Router appliance and the Nicira NVP plugin.
+
+ Isolated network offering with regular services from the Virtual Router.
+
+
+
+ Service
+ Provider
+
+
+
+
+ VPN
+ VirtualRouter
+
+
+ DHCP
+ VirtualRouter
+
+
+ DNS
+ VirtualRouter
+
+
+ Firewall
+ VirtualRouter
+
+
+ Load Balancer
+ VirtualRouter
+
+
+ User Data
+ VirtualRouter
+
+
+ Source NAT
+ VirtualRouter
+
+
+ Static NAT
+ VirtualRouter
+
+
+ Post Forwarding
+ VirtualRouter
+
+
+ Virtual Networking
+ NiciraNVP
+
+
+
+
+
+
+
+
+
+ nvp-physical-network-stt.png: a screenshot of a network offering.
+
+
+ The tag in the network offering should be set to the name of the physical network with the NVP provider.
+ Isolated network with network services. The virtual router is still required to provide network services like dns and dhcp.
+
+ Isolated network offering with network services
+
+
+
+ Service
+ Provider
+
+
+
+
+ DHCP
+ VirtualRouter
+
+
+ DNS
+ VirtualRouter
+
+
+ User Data
+ VirtualRouter
+
+
+ Source NAT
+ NiciraNVP
+
+
+ Static NAT
+ NiciraNVP
+
+
+ Post Forwarding
+ NiciraNVP
+
+
+ Virtual Networking
+ NiciraNVP
+
+
+
+
+
+
diff --git a/docs/en-US/plugin-niciranvp-physicalnet.xml b/docs/en-US/plugin-niciranvp-physicalnet.xml
new file mode 100644
index 00000000000..d3202905fb1
--- /dev/null
+++ b/docs/en-US/plugin-niciranvp-physicalnet.xml
@@ -0,0 +1,37 @@
+
+
+%BOOK_ENTITIES;
+
+%xinclude;
+]>
+
+
+ Zone Configuration
+ &PRODUCT; 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.
+ 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.
+
+
+
+
+
+ nvp-physical-network-stt.png: a screenshot of a physical network with the STT isolation type
+
+
+
diff --git a/docs/en-US/plugin-niciranvp-preparations.xml b/docs/en-US/plugin-niciranvp-preparations.xml
index 762c941fd13..60725591fda 100644
--- a/docs/en-US/plugin-niciranvp-preparations.xml
+++ b/docs/en-US/plugin-niciranvp-preparations.xml
@@ -22,17 +22,16 @@
-->
Prerequisites
- Before enabling the Nicira NVP plugin the NVP Controller needs to be configured. Please review the NVP User Guide on how to do that.
- &PRODUCT; 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.
- 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.
+ Before enabling the Nicira NVP plugin the NVP Controller needs to be configured. Please review the NVP User Guide on how to do that.
Make sure you have the following information ready:
The IP address of the NVP Controller
The username to access the API
The password to access the API
The UUID of the Transport Zone that contains the hypervisors in this Zone
- The UUID of the Physical Network that will be used for the Guest networks
+
+ The UUID of the Gateway Service used to provide router and NAT services.
+
+ The gateway service uuid is optional and is used for Layer 3 services only (SourceNat, StaticNat and PortForwarding)
diff --git a/docs/en-US/plugin-niciranvp-provider.xml b/docs/en-US/plugin-niciranvp-provider.xml
index 80fb2273238..8694478b483 100644
--- a/docs/en-US/plugin-niciranvp-provider.xml
+++ b/docs/en-US/plugin-niciranvp-provider.xml
@@ -22,21 +22,15 @@
-->
Enabling the service provider
- To allow CloudStack to use the Nicira NVP Plugin the network service provider needs to be enabled on the physical network. The following sequence of API calls will enable the network service provider
-
- addNetworkServiceProvider
-
-
- name = "NiciraNvp"
- physicalnetworkid = <the uuid of the physical network>
-
-
- updateNetworkServiceProvider
-
-
- id = <the provider uuid returned by the previous call>
- state = "Enabled"
-
-
-
+ The Nicira NVP provider is disabled by default. Navigate to the "Network Service Providers" configuration of the physical network with the STT isolation type. Navigate to the Nicira NVP provider and press the "Enable Provider" button.
+ CloudStack 4.0 does not have the UI interface to configure the Nicira NVP plugin. Configuration needs to be done using the API directly.
+
+
+
+
+
+ nvp-physical-network-stt.png: a screenshot of an enabled Nicira NVP provider
+
+
+
\ No newline at end of file
diff --git a/docs/en-US/plugin-niciranvp-revisions.xml b/docs/en-US/plugin-niciranvp-revisions.xml
index b8e6935c5d1..b58d3336aba 100644
--- a/docs/en-US/plugin-niciranvp-revisions.xml
+++ b/docs/en-US/plugin-niciranvp-revisions.xml
@@ -40,6 +40,20 @@
+
+ 1-0
+ Wed May 22 2013
+
+ Hugo
+ Trippaers
+ hugo@apache.org
+
+
+
+ Documentation updated for &PRODUCT; 4.1.0
+
+
+
diff --git a/docs/en-US/plugin-niciranvp-tables.xml b/docs/en-US/plugin-niciranvp-tables.xml
index 4f816550b30..615f3494c09 100644
--- a/docs/en-US/plugin-niciranvp-tables.xml
+++ b/docs/en-US/plugin-niciranvp-tables.xml
@@ -23,29 +23,84 @@
Database tables
The following tables are added to the cloud database for the Nicira NVP Plugin
-
- nicira_nvp_nic_map, contains a mapping from nic to logical switch port
-
-
- id
- logicalswitch, uuid of the logical switch this port is connected to
- logicalswitchport, uuid of the logical switch port for this nic
- nic, the CloudStack uuid for this nic, reference to the nics table
-
-
-
-
- external_nicira_nvp_devices, contains all configured devices
-
-
- id
- uuid
- physical_network_id, the physical network this device is configured on
- provider_name, set to "NiciraNvp"
- device_name, display name for this device
- host_id, reference to the host table with the device configuration
-
-
-
-
+
+ nicira_nvp_nic_map
+
+
+
+ id
+ auto incrementing id
+
+
+ logicalswitch
+ uuid of the logical switch this port is connected to
+
+
+ logicalswitchport
+ uuid of the logical switch port for this nic
+
+
+ nic
+ the &PRODUCT; uuid for this nic, reference to the nics table
+
+
+
+
+
+
+ external_nicira_nvp_devices
+
+
+
+ id
+ auto incrementing id
+
+
+ uuid
+ UUID identifying this device
+
+
+ physical_network_id
+ the physical network this device is configured on
+
+
+ provider_name
+ NiciraNVP
+
+
+ device_name
+ display name for this device
+
+
+ host_id
+ reference to the host table with the device configuration
+
+
+
+
+
+
+ nicira_nvp_router_map
+
+
+
+ id
+ auto incrementing id
+
+
+ logicalrouter_uuid
+ uuid of the logical router
+
+
+ network_id
+ id of the network this router is linked to
+
+
+
+
+
+
+ nicira_nvp_router_map is only available in &PRODUCT; 4.1 and above
+
+
\ No newline at end of file
diff --git a/docs/en-US/plugin-niciranvp-usage.xml b/docs/en-US/plugin-niciranvp-usage.xml
index 76f9a0b5b05..9f04c382bd6 100644
--- a/docs/en-US/plugin-niciranvp-usage.xml
+++ b/docs/en-US/plugin-niciranvp-usage.xml
@@ -21,10 +21,13 @@
under the License.
-->
- Using the Nicira NVP Plugin
+ Configuring the Nicira NVP Plugin
-
-
-
+
+
+
+
diff --git a/docs/en-US/plugin-niciranvp-guide.xml b/docs/en-US/plugin-niciranvp-vpc.xml
similarity index 65%
rename from docs/en-US/plugin-niciranvp-guide.xml
rename to docs/en-US/plugin-niciranvp-vpc.xml
index 89c9871021d..a43c5fa85d3 100644
--- a/docs/en-US/plugin-niciranvp-guide.xml
+++ b/docs/en-US/plugin-niciranvp-vpc.xml
@@ -1,11 +1,10 @@
-
+
%BOOK_ENTITIES;
%xinclude;
]>
-
-
- Plugin Guide for the Nicira NVP Plugin
-
-
-
+
+ Using the Nicira NVP plugin with VPC
+
+
+
+
+
diff --git a/docs/en-US/plugin-niciranvp-vpcfeatures.xml b/docs/en-US/plugin-niciranvp-vpcfeatures.xml
new file mode 100644
index 00000000000..a8d8194e9ba
--- /dev/null
+++ b/docs/en-US/plugin-niciranvp-vpcfeatures.xml
@@ -0,0 +1,28 @@
+
+
+%BOOK_ENTITIES;
+
+%xinclude;
+]>
+
+
+ Supported VPC features
+ The Nicira NVP plugin supports &PRODUCT; VPC to a certain extent. Starting with &PRODUCT; version 4.1 VPCs can be deployed using NVP isolated networks.
+ It is not possible to use a Nicira NVP Logical Router for as a VPC Router
+ It is not possible to connect a private gateway using a Nicira NVP Logical Switch
+
diff --git a/docs/en-US/plugin-niciranvp-vpcnetworkoffering.xml b/docs/en-US/plugin-niciranvp-vpcnetworkoffering.xml
new file mode 100644
index 00000000000..141006ee350
--- /dev/null
+++ b/docs/en-US/plugin-niciranvp-vpcnetworkoffering.xml
@@ -0,0 +1,81 @@
+
+
+%BOOK_ENTITIES;
+
+%xinclude;
+]>
+
+
+ VPC Network Offerings
+ The VPC needs specific network offerings with the VPC flag enabled. Otherwise these network offerings are identical to regular network offerings. To allow VPC networks with a Nicira NVP isolated network the offerings need to support the Virtual Networking service with the NiciraNVP provider.
+ In a typical configuration two network offerings need to be created. One with the loadbalancing service enabled and one without loadbalancing.
+
+ VPC Network Offering with Loadbalancing
+
+
+
+ Service
+ Provider
+
+
+
+
+ VPN
+ VpcVirtualRouter
+
+
+ DHCP
+ VpcVirtualRouter
+
+
+ DNS
+ VpcVirtualRouter
+
+
+ Load Balancer
+ VpcVirtualRouter
+
+
+ User Data
+ VpcVirtualRouter
+
+
+ Source NAT
+ VpcVirtualRouter
+
+
+ Static NAT
+ VpcVirtualRouter
+
+
+ Post Forwarding
+ VpcVirtualRouter
+
+
+ NetworkACL
+ VpcVirtualRouter
+
+
+ Virtual Networking
+ NiciraNVP
+
+
+
+
+
+
diff --git a/docs/en-US/plugin-niciranvp-vpcoffering.xml b/docs/en-US/plugin-niciranvp-vpcoffering.xml
new file mode 100644
index 00000000000..292621e516c
--- /dev/null
+++ b/docs/en-US/plugin-niciranvp-vpcoffering.xml
@@ -0,0 +1,38 @@
+
+
+%BOOK_ENTITIES;
+
+%xinclude;
+]>
+
+
+ VPC Offering with Nicira NVP
+ To allow a VPC to use the Nicira NVP plugin to provision networks, a new VPC offering needs to be created which allows the Virtual Networking service to be implemented by NiciraNVP.
+ This is not currently possible with the UI. The API does provide the proper calls to create a VPC offering with Virtual Networking enabled. However due to a limitation in the 4.1 API it is not possible to select the provider for this network service. To configure the VPC offering with the NiciraNVP provider edit the database table 'vpc_offering_service_map' and change the provider to NiciraNvp for the service 'Connectivity'
+ It is also possible to update the default VPC offering by adding a row to the
+ 'vpc_offering_service_map' with service 'Connectivity' and provider 'NiciraNvp'
+
+
+
+
+
+ nvp-physical-network-stt.png: a screenshot of the mysql table.
+
+
+ When creating a new VPC offering please note that the UI does not allow you to select a VPC offering yet. The VPC needs to be created using the API with the offering UUID.
+