blob: 615f3494c09810ed0436460a606f4cdae09b2a43 [file] [log] [blame]
<?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>
<table>
<title>nicira_nvp_nic_map</title>
<tgroup cols="2">
<tbody>
<row>
<entry>id</entry>
<entry>auto incrementing id</entry>
</row>
<row>
<entry>logicalswitch</entry>
<entry>uuid of the logical switch this port is connected to</entry>
</row>
<row>
<entry>logicalswitchport</entry>
<entry>uuid of the logical switch port for this nic</entry>
</row>
<row>
<entry>nic</entry>
<entry>the &PRODUCT; uuid for this nic, reference to the nics table</entry>
</row>
</tbody>
</tgroup>
</table>
<table>
<title>external_nicira_nvp_devices</title>
<tgroup cols="2">
<tbody>
<row>
<entry>id</entry>
<entry>auto incrementing id</entry>
</row>
<row>
<entry>uuid</entry>
<entry>UUID identifying this device</entry>
</row>
<row>
<entry>physical_network_id</entry>
<entry>the physical network this device is configured on</entry>
</row>
<row>
<entry>provider_name</entry>
<entry>NiciraNVP</entry>
</row>
<row>
<entry>device_name</entry>
<entry>display name for this device</entry>
</row>
<row>
<entry>host_id</entry>
<entry>reference to the host table with the device configuration</entry>
</row>
</tbody>
</tgroup>
</table>
<table>
<title>nicira_nvp_router_map</title>
<tgroup cols="2">
<tbody>
<row>
<entry>id</entry>
<entry>auto incrementing id</entry>
</row>
<row>
<entry>logicalrouter_uuid</entry>
<entry>uuid of the logical router</entry>
</row>
<row>
<entry>network_id</entry>
<entry>id of the network this router is linked to</entry>
</row>
</tbody>
</tgroup>
</table>
<note>
<para>nicira_nvp_router_map is only available in &PRODUCT; 4.1 and above</para>
</note>
</section>