|  | <?xml version="1.0" encoding="UTF-8"?> | 
|  | <!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; | 
|  | <!ENTITY % xinclude SYSTEM "http://www.docbook.org/xml/4.4/xinclude.mod"> | 
|  | %xinclude; | 
|  | ]> | 
|  | <!-- Licensed to the Apache Software Foundation (ASF) under one | 
|  | or more contributor license agreements.  See the NOTICE file | 
|  | distributed with this work for additional information | 
|  | regarding copyright ownership.  The ASF licenses this file | 
|  | to you under the Apache License, Version 2.0 (the | 
|  | "License"); you may not use this file except in compliance | 
|  | with the License.  You may obtain a copy of the License at | 
|  | http://www.apache.org/licenses/LICENSE-2.0. | 
|  | Unless required by applicable law or agreed to in writing, | 
|  | software distributed under the License is distributed on an | 
|  | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | 
|  | KIND, either express or implied.  See the License for the | 
|  | specific language governing permissions and limitations | 
|  | under the License. | 
|  | --> | 
|  | <section id="Database-tables"> | 
|  | <title>Database tables</title> | 
|  | <para>The following tables are added to the cloud database for the Nicira NVP Plugin</para> | 
|  | <itemizedlist> | 
|  | <listitem><para>nicira_nvp_nic_map, contains a mapping from nic to logical switch port</para></listitem> | 
|  | <listitem> | 
|  | <itemizedlist> | 
|  | <listitem><para>id</para></listitem> | 
|  | <listitem><para>logicalswitch, uuid of the logical switch this port is connected to</para></listitem> | 
|  | <listitem><para>logicalswitchport, uuid of the logical switch port for this nic</para></listitem> | 
|  | <listitem><para>nic, the CloudStack uuid for this nic, reference to the nics table</para></listitem> | 
|  | </itemizedlist> | 
|  | </listitem> | 
|  | </itemizedlist> | 
|  | <itemizedlist> | 
|  | <listitem><para>external_nicira_nvp_devices, contains all configured devices</para></listitem> | 
|  | <listitem> | 
|  | <itemizedlist> | 
|  | <listitem><para>id</para></listitem> | 
|  | <listitem><para>uuid</para></listitem> | 
|  | <listitem><para>physical_network_id, the physical network this device is configured on</para></listitem> | 
|  | <listitem><para>provider_name, set to "NiciraNvp"</para></listitem> | 
|  | <listitem><para>device_name, display name for this device</para></listitem> | 
|  | <listitem><para>host_id, reference to the host table with the device configuration</para></listitem> | 
|  | </itemizedlist> | 
|  | </listitem> | 
|  | </itemizedlist> | 
|  |  | 
|  | </section> |