Clean up networking API reference

remove unneeded files
fix formatting
spell-check
title capitalization

Change-Id: I6f98cf14a02d138a87f22b213be82664372a7727
author: diane fleming
This commit is contained in:
Diane Fleming 2014-05-14 21:36:38 -05:00
parent 5cdb69e52e
commit c5a1e0fb52
244 changed files with 5184 additions and 10269 deletions

View File

@ -33,7 +33,7 @@
xmlns:xsdxt="http://docs.rackspacecloud.com/xsd-ext/v1.0"
xmlns:db="http://docbook.org/ns/docbook" version="5.0"
xml:id="API_extensions">
<title>API Extensions</title>
<title>API extensions</title>
<para>An API extension extends one or more of the following
components of the core API:</para>
<itemizedlist>
@ -55,21 +55,22 @@
information about plug-in-specific extensions that ship with
OpenStack Networking, see the extension documentation in the
source code tree.</para>
<xi:include href="section_neutron_list-extensions.xml"/>
<xi:include href="section_neutron-provider-ext.xml"/>
<xi:include href="section_neutron-multi-provider-ext.xml"/>
<xi:include href="section_neutron_binding_ext_ports.xml"/>
<xi:include href="section_neutron-l3-ext.xml"/>
<xi:include href="section_neutron-extgwmodes-ext.xml"/>
<xi:include href="section_neutron-quotas-ext.xml"/>
<xi:include href="section_neutron-security-groups-ext.xml"/>
<xi:include href="section_neutron-agent-ext.xml"/>
<xi:include href="section_neutron-extraroute-ext.xml"/>
<xi:include href="section_neutron-loadbalancer-ext.xml"/>
<xi:include href="section_neutron-firewall-ext.xml"/>
<xi:include href="section_neutron-scheduler-ext.xml"/>
<xi:include href="section_neutron-vpn-ext.xml"/>
<xi:include href="section_neutron-allowed-address-pair-ext.xml"/>
<xi:include href="section_neutron-extra-dhcp-opt-ext.xml"/>
<xi:include href="section_neutron-metering-ext.xml"/>
<xi:include href="section_neutron-ext-show-info.xml"/>
<xi:include href="section_neutron-ext-agent-management.xml"/>
<xi:include href="section_neutron-ext-agent-schedulers.xml"/>
<xi:include href="section_neutron-ext-allowed-address-pairs.xml"/>
<xi:include href="section_neutron-ext-binding-ports.xml"/>
<xi:include href="section_neutron-ext-external-gateways-modes.xml"/>
<xi:include href="section_neutron-ext-external-networks.xml"/>
<xi:include href="section_neutron-ext-extra-routes.xml"/>
<xi:include href="section_neutron-ext-fwaas.xml"/>
<xi:include href="section_neutron-ext-layer3.xml"/>
<xi:include href="section_neutron-ext-lbaas.xml"/>
<xi:include href="section_neutron-ext-metering.xml"/>
<xi:include href="section_neutron-ext-provider-networks.xml"/>
<xi:include href="section_neutron-ext-provider-networks-multi.xml"/>
<xi:include href="section_neutron-ext-quotas.xml"/>
<xi:include href="section_neutron-ext-security-groups-rules.xml"/>
<xi:include href="section_neutron-ext-vpnaas.xml"/>
<xi:include href="section_neutron-ext-extra-dhcp-options.xml"/>
</chapter>

View File

@ -8,7 +8,7 @@
xmlns:xsdxt="http://docs.rackspacecloud.com/xsd-ext/v1.0"
xmlns:db="http://docbook.org/ns/docbook" version="5.0"
xml:id="API_Operations" role="api-reference">
<title>API Operations</title>
<title>API operations</title>
<para>Provides virtual networking services among devices that are
managed by the OpenStack Compute service. The Networking API
v2.0 combines the API v1.1 functionality with some essential
@ -22,25 +22,36 @@
<title>Networks</title>
<para>List, show information for, create, update, and delete
networks.</para>
<wadl:resources
<wadl:resources xmlns:wadl="http://wadl.dev.java.net/2009/02"
href="http://git.openstack.org/cgit/openstack/api-site/plain/api-ref/src/wadls/netconn-api/src/os-networks.wadl"
xmlns:wadl="http://wadl.dev.java.net/2009/02"/>
/>
</section>
<section xml:id="subnets">
<title>Subnets</title>
<para>List, show information for, create, update, and delete
subnet resources.</para>
<!-- updated os-subnets.wadl to correct errors reported in bug #1292359 -->
<wadl:resources
href="http://git.openstack.org/cgit/openstack/api-site/plain/api-ref/src/wadls/netconn-api/src/os-subnets.wadl"
xmlns:wadl="http://wadl.dev.java.net/2009/02"/>
<wadl:resources xmlns:wadl="http://wadl.dev.java.net/2009/02">
<wadl:resource
href="http://git.openstack.org/cgit/openstack/api-site/plain/api-ref/src/wadls/netconn-api/src/os-subnets.wadl#Subnets">
<wadl:method href="#listSubnets"/>
<wadl:method href="#createSubnet"/>
<wadl:method href="#bulkCreateSubnet"/>
</wadl:resource>
<wadl:resource
href="http://git.openstack.org/cgit/openstack/api-site/plain/api-ref/src/wadls/netconn-api/src/os-subnets.wadl#subnet_id">
<wadl:method href="#showSubnet"/>
<wadl:method href="#updateSubnet"/>
<wadl:method href="#removeSubnet"/>
</wadl:resource>
</wadl:resources>
</section>
<section xml:id="ports">
<title>Ports</title>
<para>List, show information for, create, update, and delete
ports.</para>
<wadl:resources
<wadl:resources xmlns:wadl="http://wadl.dev.java.net/2009/02"
href="http://git.openstack.org/cgit/openstack/api-site/plain/api-ref/src/wadls/netconn-api/src/os-ports.wadl"
xmlns:wadl="http://wadl.dev.java.net/2009/02"/>
/>
</section>
</chapter>

View File

@ -34,7 +34,7 @@
xmlns:db="http://docbook.org/ns/docbook" version="5.0"
xml:id="General_API_Information-d1e436">
<?dbhtml stop-chunking?>
<title>General API Information</title>
<title>General API information</title>
<para>The &APIv2; is a ReSTful HTTP service that uses all aspects
of the HTTP protocol including methods, URIs, media types,
response codes, and so on. Providers can use existing features
@ -48,7 +48,7 @@
Create clients so that these differences are accounted
for.</para>
<section xml:id="Authentication-d1e444">
<title>Authentication and Authorization</title>
<title>Authentication and authorization</title>
<para>The &APIv2; uses the <link
xlink:href="https://openstack.keystone.org">Keystone
Identity Service</link> as the default authentication
@ -70,31 +70,32 @@
different tenant.</para>
<para>OpenStack Networking uses information received from
Keystone to authorize user requests. OpenStack Networking
handles the following types of authorization policies: <itemizedlist>
<listitem>
<para><emphasis role="bold">Operation-based
policies</emphasis> specify access
criteria for specific operations, possibly
with fine-grained control over specific
attributes.</para>
</listitem>
<listitem>
<para><emphasis role="bold">Resource-based
policies</emphasis> access a specific
resource. Permissions might or might not be
granted depending on the permissions
configured for the resource. Currently
available for only the network
resource.</para>
</listitem>
</itemizedlist></para>
handles the following types of authorization
policies:</para>
<itemizedlist>
<listitem>
<para><emphasis role="bold">Operation-based
policies</emphasis> specify access criteria
for specific operations, possibly with
fine-grained control over specific
attributes.</para>
</listitem>
<listitem>
<para><emphasis role="bold">Resource-based
policies</emphasis> access a specific
resource. Permissions might or might not be
granted depending on the permissions configured
for the resource. Currently available for only the
network resource.</para>
</listitem>
</itemizedlist>
<para>The actual authorization policies enforced in OpenStack
Networking might vary from deployment to
deployment.</para>
</section>
<?hard-pagebreak?>
<section xml:id="Request_Response_Types">
<title>Request/Response Types</title>
<section xml:id="request_response_Types">
<title>Request and response types</title>
<para>The &APIv2; supports the JSON data serialization
format.</para>
<para>The format for both the request and the response can be
@ -103,30 +104,30 @@
<code>.json</code> extension to the request
URI.</para>
<example>
<title>JSON Request with Headers</title>
<title>JSON request with headers</title>
<literallayout class="monospaced">POST /v1.0/tenants/tenantX/networks HTTP/1.1
Host 127.0.0.1:9696
Content-Type application/json
Accept application/json
Content-Length 57</literallayout>
<programlisting language="json"><xi:include href="samples/networks-post-req.json" parse="text"/></programlisting>
<programlisting language="json"><xi:include href="http://git.openstack.org/cgit/openstack/api-site/plain/api-ref/src/wadls/netconn-api/src/api_samples/network-post-req.json" parse="text"/></programlisting>
</example>
<example>
<title>JSON Response with Headers</title>
<title>JSON response with headers</title>
<literallayout class="monospaced">HTTP/1.1 201 Created
Content-Type application/json
Content-Length 204</literallayout>
<programlisting language="json"><xi:include href="samples/networks-post-res.json" parse="text"/></programlisting>
<programlisting language="json"><xi:include href="http://git.openstack.org/cgit/openstack/api-site/plain/api-ref/src/wadls/netconn-api/src/api_samples/network-post-resp.json" parse="text"/></programlisting>
</example>
</section>
<section xml:id="filtering">
<title>Filtering and Column Selection</title>
<title>Filtering and column selection</title>
<para>The &APIv2; supports filtering based on all top level
attributes of a resource. Filters are applicable to all
list requests.</para>
<para>For example, the following request returns all networks
named <literal>foobar</literal>:</para>
<programlisting language="bash" role="gutter: false">GET /v2.0/networks?name=foobar</programlisting>
<programlisting language="bash">GET /v2.0/networks?name=foobar</programlisting>
<para>When you specify multiple filters, the &APIv2; returns
only objects that meet all filtering criteria. The
operation applies an AND condition among the
@ -148,11 +149,11 @@ Content-Length 204</literallayout>
<para>For example, the following request returns only
<literal>id</literal> and <literal>name</literal> for
each network:</para>
<programlisting language="bash" role="gutter: false">GET /v2.0/networks.json?fields=id&amp;fields=name</programlisting>
<programlisting language="bash">GET /v2.0/networks.json?fields=id&amp;fields=name</programlisting>
</section>
<section xml:id="Async_behaviour">
<title>Synchronous versus Asynchronous Plug-in
Behavior</title>
<title>Synchronous versus asynchronous plug-in
behavior</title>
<para>The &APIv2; presents a logical model of network
connectivity consisting of networks, ports, and subnets.
It is up to the OpenStack Networking plug-in to
@ -179,7 +180,7 @@ Content-Length 204</literallayout>
the configuration of the resource.</para>
</section>
<section xml:id="bulk_create_operations">
<title>Bulk Create Operations</title>
<title>Bulk-create</title>
<para>The &APIv2; enables you to create several objects of the
same type in the same API request. Bulk create operations
use exactly the same API syntax as single create
@ -195,9 +196,9 @@ Content-Length 204</literallayout>
<para>OpenStack Networking might be deployed without support
for bulk operations and when the client attempts a bulk
create operation, a <errorcode>400</errorcode>
<errortext>Bad Request</errortext> error is
<errortext>Bad request</errortext> error is
returned.</para>
<!-- <para>For information about how to submit bulk requests to the
<!-- <para>For information about how to submit bulk requests to the
&APIv2; see <xref linkend="bulk_create_networks"/>, <xref
linkend="bulK_create_subnets"/>, and <xref
linkend="bulk_create_ports"/>.</para> -->
@ -238,8 +239,8 @@ Content-Length 204</literallayout>
mechanism to tell user if pagination is supported by
particular plug-in or enabled.</para>
<example>
<title>Network Collection, First Page: JSON
Request</title>
<title>Network collection, first page: JSON
request</title>
<literallayout class="monospaced">GET /v2.0/networks.json?limit=2 HTTP/1.1
Host: 127.0.0.1:9696
@ -247,12 +248,12 @@ Content-Type: application/json
Accept: application/json</literallayout>
</example>
<example>
<title>Network Collection, First Page: JSON
Response</title>
<programlisting language="json"><xi:include href="samples/networks-get-first-page-res.json" parse="text"/></programlisting>
<title>Network collection, first page: JSON
response</title>
<programlisting language="json"><xi:include href="samples/general/networks-get-first-page-res.json" parse="text"/></programlisting>
</example>
<example>
<title>Network Collection, First Page: XML Request</title>
<title>Network collection, first page: XML request</title>
<literallayout class="monospaced">
GET /v2.0/networks.xml?limit=2 HTTP/1.1
Host: 127.0.0.1:9696
@ -261,13 +262,13 @@ Accept: application/xml
</literallayout>
</example>
<example>
<title>Network Collection, First Page: XML
Response</title>
<programlisting language="xml"><xi:include href="samples/networks-get-first-page-res.xml" parse="text"/></programlisting>
<title>Network collection, first page: XML
response</title>
<programlisting language="xml"><xi:include href="samples/general/networks-get-first-page-res.xml" parse="text"/></programlisting>
</example>
<para>The last page won't show the "next" links</para>
<example>
<title>Network Collection, Last Page: JSON Request</title>
<title>Network collection, last page: JSON request</title>
<literallayout class="monospaced">
GET /v2.0/networks.json?limit=2&amp;marker=71c1e68c-171a-4aa2-aca5-50ea153a3718 HTTP/1.1
Host: 127.0.0.1:9696
@ -276,12 +277,12 @@ Accept: application/json
</literallayout>
</example>
<example>
<title>Network Collection, Last Page: JSON
Response</title>
<programlisting language="json"><xi:include href="samples/networks-get-last-page-res.json" parse="text"/></programlisting>
<title>Network collection, last page: JSON
response</title>
<programlisting language="json"><xi:include href="samples/general/networks-get-last-page-res.json" parse="text"/></programlisting>
</example>
<example>
<title>Network Collection, Last Page: XML Request</title>
<title>Network collection, last page: XML request</title>
<literallayout class="monospaced">
GET /v2.0/networks.xml?limit=2&amp;marker=71c1e68c-171a-4aa2-aca5-50ea153a3718 HTTP/1.1
Host: 127.0.0.1:9696
@ -290,27 +291,31 @@ Accept: application/xml
</literallayout>
</example>
<example>
<title>Network Collection, Last Page: XML Response</title>
<programlisting language="xml"><xi:include href="samples/networks-get-last-page-res.xml" parse="text"/></programlisting>
<title>Network collection, last page: XML response</title>
<programlisting language="xml"><xi:include href="samples/general/networks-get-last-page-res.xml" parse="text"/></programlisting>
</example>
</section>
<section xml:id="Sorting">
<title>Sorting</title>
<para>The results of list operations can be ordered using the
'sort_key' and 'sort_dir' parameters. Currently sorting
doesn't work with extended attributes of resource. The
'sort_key' and 'sort_dir' can be repeated, and the number
of 'sort_key' and 'sort_dir' provided must be same. The
sort_dir parameter indicates in which direction to sort.
Acceptable values are 'asc' (ascending) and 'desc'
(descending).</para>
<para>You can use the <parameter>sort_key</parameter> and
<parameter>sort_dir</parameter> parameters to sort the
results of list operations. Currently sorting does not
work with extended attributes of resource. The
<parameter>sort_key</parameter> and
<parameter>sort_dir</parameter> can be repeated, and
the number of <parameter>sort_key</parameter> and
<parameter>sort_dir</parameter> provided must be same.
The <parameter>sort_dir</parameter> parameter indicates in
which direction to sort. Acceptable values are
<literal>asc</literal> (ascending) and
<literal>desc</literal> (descending).</para>
<para>Sorting is optional feature of OpenStack Networking API,
and it might be disabled. If sorting is disabled, the
sorting parameters will be ignored.</para>
sorting parameters are ignored.</para>
<para>If a particular plug-in does not support sorting
operations, and sorting is enabled, the &APIv2; will
emulate the sorting behavior so that users can expect the
same behavior regardless of the particular plug-in running
operations and sorting is enabled, the &APIv2;
emulates the sorting behavior so that users can expect the
same behavior regardless of the particular plug-in that runs
in the background.</para>
<para>Unfortunately OpenStack Networking does provide a
mechanism to tell users if specific plug-ins support or
@ -356,7 +361,7 @@ Accept: application/xml
extension varies with deployments and the specific plug-in
in use.</para>
<para>For more information regarding specific extensions, see
<xref linkend="API_extensions"/></para>
<xref linkend="API_extensions"/></para>
</section>
<?hard-pagebreak?>
<section xml:id="faults">
@ -364,7 +369,7 @@ Accept: application/xml
<para>The &APIv2; returns an error response if a failure
occurs while processing a request. OpenStack Networking
uses only standard HTTP error codes.
4<varname>xx</varname> errors indicate problems in the
4<replaceable>nn</replaceable> errors indicate problems in the
particular request being sent from the client.</para>
<informaltable rules="all">
<col width="10%"/>
@ -379,11 +384,11 @@ Accept: application/xml
<tbody>
<tr>
<td rowspan="6">400</td>
<td rowspan="6">Bad Request</td>
<td rowspan="6">Bad request</td>
<td>Malformed request URI or body</td>
</tr>
<tr>
<td>Requested admin state invalid</td>
<td>requested admin state invalid</td>
</tr>
<tr>
<td>Invalid values entered</td>

View File

@ -1,28 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE chapter[
<!-- Some useful entities borrowed from HTML -->
<!ENTITY ndash "&#x2013;">
<!ENTITY mdash "&#x2014;">
<!ENTITY hellip "&#x2026;">
<!ENTITY plusmn "&#xB1;">
<!-- Useful for describing APIs -->
<!ENTITY GET '<command xmlns="http://docbook.org/ns/docbook">GET</command>'>
<!ENTITY PUT '<command xmlns="http://docbook.org/ns/docbook">PUT</command>'>
<!ENTITY POST '<command xmlns="http://docbook.org/ns/docbook">POST</command>'>
<!ENTITY DELETE '<command xmlns="http://docbook.org/ns/docbook">DELETE</command>'>
<!ENTITY CHECK '<inlinemediaobject xmlns="http://docbook.org/ns/docbook">
<imageobject>
<imagedata fileref="figures/Check_mark_23x20_02.svg"
format="SVG" scale="60"/>
</imageobject>
</inlinemediaobject>'>
<!ENTITY ARROW '<inlinemediaobject xmlns="http://docbook.org/ns/docbook">
<imageobject>
<imagedata fileref="figures/Arrow_east.svg"
format="SVG" scale="60"/>
</imageobject>
</inlinemediaobject>'>
<!ENTITY APIv2 'Networking API v2.0'>
<!ENTITY APIv2 'Networking API v2.0'>
]>
<chapter xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink"
@ -136,15 +115,17 @@
</tr>
<tr>
<td align="left">port</td>
<td colspan="4">A virtual switch port on a logical network
switch. Virtual instances attach their interfaces into
ports. The logical port also defines the MAC address and
the IP addresses to be assigned to the interfaces
plugged into them. When creating a port, any unallocated
IP in the subnet can be stated specifically, even if the
IP address is not in the allocation pool. Enabling users
to specify the IP explicitly allows them to retain a
particular subset of the subnet IPs for static
<td colspan="4">A virtual switch port on a logical
network switch. Virtual instances attach their
interfaces into ports. The logical port also
defines the MAC address and the IP addresses
to be assigned to the interfaces plugged into
them. When creating a port, any unallocated IP
in the subnet can be stated specifically, even
if the IP address is not in the allocation
pool. Enabling users to specify the IP
explicitly allows them to retain a particular
subset of the subnet IPs for static
allocation.</td>
</tr>
<tr>
@ -168,9 +149,9 @@
</informaltable>
</section>
<?hard-pagebreak?>
<xi:include href="section_neutron_concepts.xml"/>
<xi:include href="section_neutron-concepts.xml"/>
<section xml:id="Theory">
<title>High-Level Task Flow</title>
<title>High-level task flow</title>
<para>The high-level task flow for OpenStack Networking
involves creating a network, associating a subnet with
that network, and booting a VM that is attached to the

View File

@ -42,7 +42,7 @@ format="SVG" scale="60"/>
xlink:href="http://bugs.launchpad.net/Neutron"
>bugs.launchpad.net/Neutron</link>.</para>
<section xml:id="Intended_Audience-d1e85">
<title>Intended Audience</title>
<title>Intended audience</title>
<para xmlns:svg="http://www.w3.org/2000/svg"
xmlns:m="http://www.w3.org/1998/Math/MathML"
xmlns:html="http://www.w3.org/1999/xhtml"
@ -72,7 +72,7 @@ format="SVG" scale="60"/>
</section>
<?hard-pagebreak?>
<section xml:id="Document_Change_History-d1e118">
<title>Document Change History</title>
<title>Document change history</title>
<para>This version of the document replaces and obsoletes all
previous versions. The following table describes the most
recent changes:</para>

View File

@ -10,19 +10,7 @@
<!ENTITY PUT '<command xmlns="http://docbook.org/ns/docbook">PUT</command>'>
<!ENTITY POST '<command xmlns="http://docbook.org/ns/docbook">POST</command>'>
<!ENTITY DELETE '<command xmlns="http://docbook.org/ns/docbook">DELETE</command>'>
<!ENTITY CHECK '<inlinemediaobject xmlns="http://docbook.org/ns/docbook">
<imageobject>
<imagedata fileref="figures/Check_mark_23x20_02.svg"
format="SVG" scale="60"/>
</imageobject>
</inlinemediaobject>'>
<!ENTITY ARROW '<inlinemediaobject xmlns="http://docbook.org/ns/docbook">
<imageobject>
<imagedata fileref="figures/Arrow_east.svg"
format="SVG" scale="60"/>
</imageobject>
</inlinemediaobject>'>
<!ENTITY APIv2 'Networking API v2.0'>
<!ENTITY APIv2 'Networking API v2.0'>
]>
<book xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink"
@ -46,9 +34,8 @@
<year>2011-2014</year>
<holder>OpenStack Foundation</holder>
</copyright>
<releaseinfo>API v2.0</releaseinfo>
<productname>OpenStack Networking (neutron) API
v2.0</productname>
<releaseinfo>API v2.0 and extensions</releaseinfo>
<productname>OpenStack Networking (neutron)</productname>
<pubdate/>
<legalnotice role="apache2">
<annotation>
@ -110,7 +97,8 @@
<para>Updated the title of the book to
<citetitle>Reference</citetitle>
from <citetitle>Developer
Guide</citetitle> for consistency.</para>
Guide</citetitle> for
consistency.</para>
</listitem>
</itemizedlist>
</revdescription>

View File

@ -1,255 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book[
<!-- Some useful entities borrowed from HTML -->
<!ENTITY ndash "&#x2013;">
<!ENTITY mdash "&#x2014;">
<!ENTITY hellip "&#x2026;">
<!ENTITY plusmn "&#xB1;">
<!-- Useful for describing APIs -->
<!ENTITY GET '<command xmlns="http://docbook.org/ns/docbook">GET</command>'>
<!ENTITY PUT '<command xmlns="http://docbook.org/ns/docbook">PUT</command>'>
<!ENTITY POST '<command xmlns="http://docbook.org/ns/docbook">POST</command>'>
<!ENTITY DELETE '<command xmlns="http://docbook.org/ns/docbook">DELETE</command>'>
<!ENTITY CHECK '<inlinemediaobject xmlns="http://docbook.org/ns/docbook">
<imageobject>
<imagedata fileref="figures/Check_mark_23x20_02.svg"
format="SVG" scale="60"/>
</imageobject>
</inlinemediaobject>'>
<!ENTITY ARROW '<inlinemediaobject xmlns="http://docbook.org/ns/docbook">
<imageobject>
<imagedata fileref="figures/Arrow_east.svg"
format="SVG" scale="60"/>
</imageobject>
</inlinemediaobject>'>
<!ENTITY APIv2 'Networking API v2.0'>
]>
<section xml:id="external_net" xmlns="http://docbook.org/ns/docbook"
xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0">
<title>External Network Extension (<literal>external-net</literal>)</title>
<para>
The external network extension is used to specify whether
the network is external or not. This information is used
by Layer-3 network (<literal>router</literal>) extension.
External networks are connected to a router's external
gateway and host floating IPs.
</para>
<section xml:id="ext_net_concepts">
<title>Concepts</title>
<para>
The External Network extension adds the
<emphasis role="italic">router:external</emphasis>
attribute to the network resource.
</para>
<table rules="all">
<caption>Network Attributes</caption>
<col width="20%"/>
<col width="8%"/>
<col width="10%"/>
<col width="7%"/>
<col width="15%"/>
<col width="15%"/>
<col width="25%"/>
<thead>
<tr>
<th>Attribute</th>
<th>Type</th>
<th>Required</th>
<th>CRUD<footnote xml:id="crud_ext_net">
<para>
<itemizedlist>
<listitem>
<para><emphasis role="bold"
>C</emphasis>. Use the attribute in
create operations.</para>
</listitem>
<listitem>
<para><emphasis role="bold"
>R</emphasis>. This attribute is
returned in response to show and
list operations.</para>
</listitem>
<listitem>
<para><emphasis role="bold"
>U</emphasis>. You can update the
value of this attribute.</para>
</listitem>
<listitem>
<para><emphasis role="bold"
>D</emphasis>. You can delete the
value of this attribute.</para>
</listitem>
</itemizedlist>
</para>
</footnote></th>
<th>Default Value</th>
<th>Validation Constraints</th>
<th>Notes</th>
</tr>
</thead>
<tbody>
<tr>
<td>router:external</td>
<td>Bool</td>
<td>No</td>
<td>CRU</td>
<td>False</td>
<td>{ True | False }</td>
<td>Specifies whether the network is an external network or not.</td>
</tr>
</tbody>
</table>
</section>
<section xml:id="external_net_ops">
<title>Network API operations with external network extension</title>
<section xml:id="external_network_list">
<title>List Networks</title>
<para>
<informaltable rules="all" width="100%">
<col width="20%"/>
<col width="20%"/>
<col width="60%"/>
<thead>
<tr>
<td>Verb</td>
<td>URI</td>
<td>Description</td>
</tr>
</thead>
<tbody>
<tr>
<td>&GET;</td>
<td>/networks</td>
<td>Returns a list of networks with their router:external
attributes.</td>
</tr>
</tbody>
</informaltable>
</para>
<para>
Response codes are same as the normal operation of listing networks.
<emphasis role="italic">router:external</emphasis> attribute is visible
to all users by default policy setting.
</para>
<para>
Regular users are not authorized to create ports on external networks,
however they will be able to see this attribute in their network list.
This is because external networks can be used by any tenant to
set an external gateway for Neutron routers or create floating
IPs and associate them with ports on internal tenant networks.
</para>
<example>
<title>List Networks with router:external attribute: JSON Response</title>
<programlisting language="json"><xi:include href="samples/networks-get-res-extnet.json" parse="text"/></programlisting>
</example>
</section>
<section xml:id="external_network_show">
<title>Show Network</title>
<para>
<informaltable rules="all" width="100%">
<col width="10%"/>
<col width="30%"/>
<col width="60%"/>
<thead>
<tr>
<td>Verb</td>
<td>URI</td>
<td>Description</td>
</tr>
</thead>
<tbody>
<tr>
<td>&GET;</td>
<td>/networks/<parameter>network_id</parameter></td>
<td>Returns details about a specific network, including external
networks attributes.</td>
</tr>
</tbody>
</informaltable>
</para>
<para>Response codes are same as the normal operation of listing networks.
<emphasis role="italic">router:external</emphasis> attribute is visible
to all users including non-admin by default policy setting.
</para>
<example>
<title>Show network with external attributes: JSON Response</title>
<programlisting language="json"><xi:include href="samples/networks-show-res-extnet.json" parse="text"/></programlisting>
</example>
</section>
<section xml:id="external_network_create">
<title>Create Network</title>
<para>
<informaltable rules="all" width="100%">
<col width="20%"/>
<col width="20%"/>
<col width="60%"/>
<thead>
<tr>
<td>Verb</td>
<td>URI</td>
<td>Description</td>
</tr>
</thead>
<tbody>
<tr>
<td>&POST;</td>
<td>/networks</td>
<td>Creates a new network using the external network extension
attribute.</td>
</tr>
</tbody>
</informaltable>
</para>
<para>
If the user submitting the request is not allowed to set this
attribute, a 403 Forbidden response will be returned.
Usage of this attribute might be restricted through authorization policies.
By the default policy only admin users can set this attribute.
</para>
<example>
<title>Create Network with external attributes: JSON Request</title>
<programlisting language="json"><xi:include href="samples/networks-post-req-extnet.json" parse="text"/></programlisting>
</example>
</section>
<section xml:id="external_network_update">
<title>Update Network</title>
<para>
<informaltable rules="all" width="100%">
<col width="10%"/>
<col width="30%"/>
<col width="60%"/>
<thead>
<tr>
<td>Verb</td>
<td>URI</td>
<td>Description</td>
</tr>
</thead>
<tbody>
<tr>
<td>&PUT;</td>
<td>/networks/<parameter>network_id</parameter></td>
<td>Updates a network, including the external
network extension attribute.</td>
</tr>
</tbody>
</informaltable>
</para>
<para>
If the user submitting the request is not allowed to set this
attribute, a 403 Forbidden response will be returned.
Usage of this attribute might be restricted through authorization policies.
By the default policy only admin users can set this attribute.
</para>
<example>
<title>Update external attributes for a network: JSON Request</title>
<programlisting language="json"><xi:include href="samples/networks-put-req-extnet.json" parse="text"/></programlisting>
</example>
</section>
</section>
</section>
<?hard-pagebreak?>

View File

@ -1,10 +1,10 @@
<?xml version='1.0' encoding='UTF-8'?>
<ports xmlns="http://openstack.org/quantum/api/v2.0"
xmlns:quantum="http://openstack.org/quantum/api/v2.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
xmlns:quantum="http://openstack.org/quantum/api/v2.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<port>
<status>ACTIVE</status>
<name />
<name/>
<allowed_address_pairs>
<allowed_address_pair>
<ip_address>23.23.23.1</ip_address>
@ -14,7 +14,7 @@
<admin_state_up quantum:type="bool">True</admin_state_up>
<network_id>3537e809-8bec-4ae4-a5ab-2c6477760195</network_id>
<tenant_id>8462a4d167f84256b7035f4c408c1185</tenant_id>
<device_owner />
<device_owner/>
<mac_address>fa:16:3e:21:4c:2e</mac_address>
<fixed_ips>
<fixed_ip>
@ -23,16 +23,16 @@
</fixed_ip>
</fixed_ips>
<id>191f5290-3a5a-40ff-b0cb-cd4b115b400e</id>
<device_id />
<device_id/>
</port>
<port>
<status>ACTIVE</status>
<name />
<allowed_address_pairs xsi:nil="true" />
<name/>
<allowed_address_pairs xsi:nil="true"/>
<admin_state_up quantum:type="bool">True</admin_state_up>
<network_id>327f2a2f-9d70-417f-ac3a-d3155e25cf25</network_id>
<tenant_id>8462a4d167f84256b7035f4c408c1185</tenant_id>
<device_owner />
<device_owner/>
<mac_address>fa:16:3e:a9:3e:1a</mac_address>
<fixed_ips>
<fixed_ip>
@ -41,6 +41,6 @@
</fixed_ip>
</fixed_ips>
<id>ec2fb9f9-a11b-4791-852d-eb1ab9b27a0e</id>
<device_id />
<device_id/>
</port>
</ports>

View File

@ -4,5 +4,4 @@
"network_id": "3537e809-8bec-4ae4-a5ab-2c6477760195",
"allowed_address_pairs": [{"ip_address": "10.3.3.3"}]
}
}
}

View File

@ -1,3 +1,3 @@
HTTP/1.1 204 No Content
Content-Length: 0
Date: Tue, 26 Mar 2013 12:12:35 GMT
Date: Tue, 26 Mar 2013 12:12:35 GMT

View File

@ -1,3 +0,0 @@
{
"attachment": {}
}

View File

@ -1 +0,0 @@
<attachment />

View File

@ -1,6 +0,0 @@
{
"attachment":
{
"id": "test_interface_identifier"
}
}

View File

@ -1 +0,0 @@
<attachment id="test_interface_identifier"/>

View File

@ -1,6 +0,0 @@
{
"attachment":
{
"id": "test_interface_identifier"
}
}

View File

@ -1,2 +0,0 @@
<attachment
id="test_interface_identifier"/>

View File

@ -1,9 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<extension>
<updated>2012-07-20T10:00:00-00:00</updated>
<name>Neutron L3 Router</name>
<links/>
<namespace>http://docs.openstack.org/ext/neutron/router/api/v1.0</namespace>
<alias>router</alias>
<description>Router abstraction for basic L3 forwarding between L2 Neutron networks and access to external networks via a NAT gateway.</description>
</extension>

View File

@ -1,19 +0,0 @@
{
"extensions": [
{
"name": "Cisco Port Profile",
"namespace": "http://docs.ciscocloud.com/api/ext/portprofile/v1.0",
"alias": "Cisco Port Profile",
"updated": "2011-07-23T13:25:27-06:00",
"description": "Portprofile include QoS information"
},
{
"name": "Cisco qos",
"namespace": "http://docs.ciscocloud.com/api/ext/qos/v1.0",
"alias": "Cisco qos",
"updated": "2011-07-25T13:25:27-06:00",
"description": "qos include qos_name and qos_desc"
}
]
}

View File

@ -1,17 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<extensions>
<extension name="Cisco Port Profile"
namespace="http://docs.ciscocloud.com/api/ext/portprofile/v1.0"
alias="Cisco Port Profile" updated="2011-07-23T13:25:27-06:00">
<description>Portprofile include QoS information</description>
</extension>
<extension name="Cisco qos"
namespace="http://docs.ciscocloud.com/api/ext/qos/v1.0"
alias="Cisco qos" updated="2011-07-25T13:25:27-06:00">
<description>qos include qos_name and qos_desc</description>
</extension>
</extensions>

View File

@ -1,19 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<extensions>
<extension>
<updated>2012-07-20T10:00:00-00:00</updated>
<name>Neutron L3 Router</name>
<links/>
<namespace>http://docs.openstack.org/ext/neutron/router/api/v1.0</namespace>
<alias>router</alias>
<description>Router abstraction for basic L3 forwarding between L2 Neutron networks and access to external networks via a NAT gateway.</description>
</extension>
<extension>
<updated>2012-09-07T10:00:00-00:00</updated>
<name>Provider Network</name>
<links/>
<namespace>http://docs.openstack.org/ext/provider/api/v1.0</namespace>
<alias>provider</alias>
<description>Expose mapping of virtual networks to physical networks</description>
</extension>
</extensions>

View File

@ -7,8 +7,4 @@
"network_id": "3c5bcddd-6af9-4e6b-9c3e-c153e521cab8",
"enable_snat": false}
}
}
}

View File

@ -6,4 +6,4 @@
"tenant_id": "936fa220b2c24a87af51026439af7a3e",
"routes": [{"nexthop": "10.1.0.10", "destination": "40.0.1.0/24"}],
"id": "babc8173-46f6-4b6f-8b95-38c1683a4e22"}
}
}

View File

@ -1,7 +0,0 @@
{
"networkNotFound": {
"message": "Unable to find a network with the specified identifier.",
"code": 420,
"detail": "Network 8de6af7c-ef95-4ac1-9d37-172f8df33a1f could not be found"
}
}

View File

@ -1,8 +0,0 @@
<networkNotFound code="420" xmlns="http://netstack.org/quantum/api/v1.0">
<message>
Unable to find a network with the specified identifier.
</message>
<detail>
Network 8de6af7c-ef95-4ac1-9d37-172f8df33a1f could not be found
</detail>
</networkNotFound>

View File

@ -1,23 +0,0 @@
{
"floatingips":
[
{
"router_id": "d23abc8d-2991-4a55-ba98-2aaea84cc72f",
"tenant_id": "4969c491a3c74ee4af974e6d800c62de",
"floating_network_id": "376da547-b977-4cfe-9cba-275c80debf57",
"fixed_ip_address": "10.0.0.3",
"floating_ip_address": "172.24.4.228",
"port_id": "ce705c24-c1ef-408a-bda3-7bbd946164ab",
"id": "2f245a7b-796b-4f26-9cf9-9e82d248fda7"
},
{
"router_id": null,
"tenant_id": "4969c491a3c74ee4af974e6d800c62de",
"floating_network_id": "376da547-b977-4cfe-9cba-275c80debf57",
"fixed_ip_address": null,
"floating_ip_address": "172.24.4.227",
"port_id": null,
"id": "61cea855-49cb-4846-997d-801b70c71bdd"
}
]
}

View File

@ -1,10 +0,0 @@
POST /v2.0/floatingips
Accept: application/json
{
"floatingip":
{
"floating_network_id": "376da547-b977-4cfe-9cba-275c80debf57",
"port_id": "ce705c24-c1ef-408a-bda3-7bbd946164ab"
}
}

View File

@ -1,12 +0,0 @@
{
"floatingip":
{
"router_id": "d23abc8d-2991-4a55-ba98-2aaea84cc72f",
"tenant_id": "4969c491a3c74ee4af974e6d800c62de",
"floating_network_id": "376da547-b977-4cfe-9cba-275c80debf57",
"fixed_ip_address": "10.0.0.3",
"floating_ip_address": "172.24.4.228",
"port_id": "ce705c24-c1ef-408a-bda3-7bbd946164ab",
"id": "2f245a7b-796b-4f26-9cf9-9e82d248fda7"
}
}

View File

@ -1,5 +0,0 @@
{
"floatingip":{
"port_id":"fc861431-0e6c-4842-a0ed-e2363f9bc3a8"
}
}

View File

@ -1,12 +0,0 @@
{
"floatingip":
{
"router_id": "d23abc8d-2991-4a55-ba98-2aaea84cc72f",
"tenant_id": "4969c491a3c74ee4af974e6d800c62de",
"floating_network_id": "376da547-b977-4cfe-9cba-275c80debf57",
"fixed_ip_address": "10.0.0.4",
"floating_ip_address": "172.24.4.228",
"port_id": "fc861431-0e6c-4842-a0ed-e2363f9bc3a8",
"id": "2f245a7b-796b-4f26-9cf9-9e82d248fda7"
}
}

View File

@ -1,5 +0,0 @@
{
"floatingip":{
"port_id":null
}
}

View File

@ -1,12 +0,0 @@
{
"floatingip":
{
"router_id": "d23abc8d-2991-4a55-ba98-2aaea84cc72f",
"tenant_id": "4969c491a3c74ee4af974e6d800c62de",
"floating_network_id": "376da547-b977-4cfe-9cba-275c80debf57",
"fixed_ip_address": null,
"floating_ip_address": "172.24.4.228",
"port_id": null,
"id": "2f245a7b-796b-4f26-9cf9-9e82d248fda7"
}
}

View File

@ -1,7 +0,0 @@
{
"floatingip":
{
"fixed_ip_address": "10.0.0.3",
"floating_ip_address": "172.24.4.228"
}
}

View File

@ -1,22 +0,0 @@
{
"network":
{
"id": "8bec1293-16bd-4568-ba75-1f58bec0b4c3",
"name": "test_network",
"ports":
[
{
"id": "98017ddc-efc8-4c25-a915-774b2a633855",
"state": "DOWN"
},
{
"id": "b832be00-6553-4f69-af33-acd554e36d08",
"state": "ACTIVE",
"attachment":
{
"id": "test_interface_identifier"
}
}
]
}
}

View File

@ -1,14 +0,0 @@
<network
id="8bec1293-16bd-4568-ba75-1f58bec0b4c3"
name="test_network">
<ports>
<port
id="98017ddc-efc8-4c25-a915-774b2a633855"
status="DOWN"/>
<port
id="b832be00-6553-4f69-af33-acd554e36d08"
status="ACTIVE">
<attachment id="test_interface_identifier"/>
</port>
</ports>
</network>

View File

@ -1,7 +0,0 @@
{
"network":
{
"id": "8bec1293-16bd-4568-ba75-1f58bec0b4c3",
"name": "test_network"
}
}

View File

@ -1,3 +0,0 @@
<network
id="8bec1293-16bd-4568-ba75-1f58bec0b4c3"
name="test_network"/>

View File

@ -1,12 +0,0 @@
{
"networks": [
{
"admin_state_up": true,
"name": "sample_network_1"
},
{
"admin_state_up": false,
"name": "sample_network_2"
}
]
}

View File

@ -1,7 +0,0 @@
{
"network":
{
"name": "sample_network",
"admin_state_up": true
}
}

View File

@ -1,3 +0,0 @@
<network>
<name>sample_network</name>
</network>

View File

@ -1,22 +0,0 @@
{
"networks": [
{
"admin_state_up": true,
"id": "e6031bc2-901a-4c66-82da-f4c32ed89406",
"name": "sample_network_1",
"shared": false,
"status": "ACTIVE",
"subnets": [],
"tenant_id": "d19231fc08ec4bc4829b668040d34512"
},
{
"admin_state_up": false,
"id": "64239a54-dcc4-4b39-920b-b37c2144effa",
"name": "sample_network_2",
"shared": false,
"status": "ACTIVE",
"subnets": [],
"tenant_id": "d19231fc08ec4bc4829b668040d34512"
}
]
}

View File

@ -1,13 +0,0 @@
{
"network":{
"admin_state_up":true,
"id":"850d3f2c-f0a5-4f8b-b1cf-5836fc0be940",
"name":"sample_network",
"shared":false,
"status":"ACTIVE",
"subnets":[
],
"tenant_id":"f667b69e4d6749749ef3bcba7251d9ce"
}
}

View File

@ -1,2 +0,0 @@
<network
id="158233b0-ca9a-40b4-8614-54a4a99d47d1"/>

View File

@ -1,13 +0,0 @@
{
"network":{
"admin_state_up":true,
"id":"850d3f2c-f0a5-4f8b-b1cf-5836fc0be940",
"name":"sample_network",
"shared":false,
"status":"ACTIVE",
"subnets":[
],
"tenant_id":"f667b69e4d6749749ef3bcba7251d9ce"
}
}

View File

@ -1,13 +0,0 @@
<?xml version='1.0' encoding='UTF-8'?>
<network xmlns="http://openstack.org/quantum/api/v2.0"
xmlns:quantum="http://openstack.org/quantum/api/v2.0"
xmlns:router="http://docs.openstack.org/ext/quantum/router/api/v1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<status>ACTIVE</status>
<subnets quantum:type="list" />
<name>sample_network</name>
<tenant_id>4be6b806faa0491eb358018bbe9f0d4e</tenant_id>
<admin_state_up quantum:type="bool">True</admin_state_up>
<shared quantum:type="bool">False</shared>
<id>0657ef52-d3f6-4320-9c26-015a3e9badea</id>
</network>

View File

@ -1,12 +0,0 @@
{
"network":
{
"status": "ACTIVE",
"subnets": ["e12f0c45-46e3-446a-b207-9474b27687a6"],
"name": "private",
"admin_state_up": true,
"tenant_id": "625887121e364204873d362b553ab171",
"id": "9d83c053-b0a4-4682-ae80-c00df269ce0a",
"shared": false
}
}

View File

@ -1,16 +0,0 @@
<?xml version='1.0' encoding='UTF-8'?>
<network xmlns="http://openstack.org/quantum/api/v2.0" xmlns:provider="http://docs.openstack.org/ext/provider/api/v1.0" xmlns:quantum="http://openstack.org/quantum/api/v2.0" xmlns:router="http://docs.openstack.org/ext/quantum/router/api/v1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<status>ACTIVE</status>
<subnets>
<subnet>e12f0c45-46e3-446a-b207-9474b27687a6</subnet>
</subnets>
<name>private</name>
<provider:physical_network xsi:nil="true" />
<admin_state_up quantum:type="bool">True</admin_state_up>
<tenant_id>625887121e364204873d362b553ab171</tenant_id>
<provider:network_type>local</provider:network_type>
<router:external quantum:type="bool">False</router:external>
<shared quantum:type="bool">False</shared>
<id>9d83c053-b0a4-4682-ae80-c00df269ce0a</id>
<provider:segmentation_id xsi:nil="true" />
</network>

View File

@ -1,6 +0,0 @@
{
"network":
{
"name": "updated_name"
}
}

View File

@ -1,3 +0,0 @@
<network xmlns="http://openstack.org/quantum/api/v2.0" xmlns:provider="http://docs.openstack.org/ext/provider/api/v1.0" xmlns:quantum="http://openstack.org/quantum/api/v2.0" xmlns:router="http://docs.openstack.org/ext/quantum/router/api/v1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<name>nova2</name>
</network>

View File

@ -1,28 +0,0 @@
{
"networks": [
{
"status": "ACTIVE",
"subnets": [],
"name": "sample_network_1",
"provider:physical_network": null,
"admin_state_up": false,
"tenant_id": "60cd4f6dbc2f491982a284e7b83b5be3",
"provider:network_type": "local",
"router:external": false,
"shared": false,
"id": "e9330b1f-a2ef-4160-a951-169ee6ab17f5",
"provider:segmentation_id": null
},
{
"status": "ACTIVE",
"subnets": [],
"name": "sample_network_2",
"provider:physical_network": null,
"admin_state_up": false,
"tenant_id": "60cd4f6dbc2f491982a284e7b83b5be3",
"provider:network_type": "local",
"router:external": false,
"shared": false,
"id": "cfb5f52c-dfe2-4357-a10d-a225693e2b84",
"provider:segmentation_id": null}]
}

View File

@ -1,33 +0,0 @@
<?xml version='1.0' encoding='UTF-8'?>
<networks xmlns="http://openstack.org/quantum/api/v2.0"
xmlns:provider="http://docs.openstack.org/ext/provider/api/v1.0"
xmlns:quantum="http://openstack.org/quantum/api/v2.0"
xmlns:router="http://docs.openstack.org/ext/neutron/router/api/v1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<network>
<status>ACTIVE</status>
<subnets quantum:type="list" />
<name>sample_network_1</name>
<provider:physical_network xsi:nil="true" />
<admin_state_up quantum:type="bool">True</admin_state_up>
<tenant_id>60cd4f6dbc2f491982a284e7b83b5be3</tenant_id>
<provider:network_type>local</provider:network_type>
<router:external quantum:type="bool">False</router:external>
<shared quantum:type="bool">False</shared>
<id>9eb3ce34-183b-4a75-b08f-d6a3d241e68b</id>
<provider:segmentation_id xsi:nil="true" />
</network>
<network>
<status>ACTIVE</status>
<subnets quantum:type="list" />
<name>sample_network_2</name>
<provider:physical_network xsi:nil="true" />
<admin_state_up quantum:type="bool">True</admin_state_up>
<tenant_id>60cd4f6dbc2f491982a284e7b83b5be3</tenant_id>
<provider:network_type>local</provider:network_type>
<router:external quantum:type="bool">False</router:external>
<shared quantum:type="bool">False</shared>
<id>df679a25-915d-41ed-b5ec-721481ddfd56</id>
<provider:segmentation_id xsi:nil="true" />
</network>
</networks>

View File

@ -1,11 +0,0 @@
{
"network":
{
"status": "ACTIVE",
"subnets": ["e12f0c45-46e3-446a-b207-9474b27687a6"],
"name": "network_3",
"admin_state_up": true,
"tenant_id": "ed680f49ff714162ab3612d7876ffce5",
"id": "afc75773-640e-403c-9fff-62ba98db1f19"
}
}

View File

@ -1,8 +0,0 @@
<networks>
<network
id="8bec1293-16bd-4568-ba75-1f58bec0b4c3"
name="network_1"/>
<network
id="2a39409c-7146-4501-8429-3579e03e9b56"
name="network_2"/>
</networks>

View File

@ -1,12 +0,0 @@
{
"network":
{
"status": "ACTIVE",
"subnets": ["e12f0c45-46e3-446a-b207-9474b27687a6"],
"name": "private",
"admin_state_up": true,
"tenant_id": "625887121e364204873d362b553ab171",
"id": "9d83c053-b0a4-4682-ae80-c00df269ce0a",
"shared": false
}
}

View File

@ -1,16 +0,0 @@
<?xml version='1.0' encoding='UTF-8'?>
<network xmlns="http://openstack.org/quantum/api/v2.0" xmlns:provider="http://docs.openstack.org/ext/provider/api/v1.0" xmlns:quantum="http://openstack.org/quantum/api/v2.0" xmlns:router="http://docs.openstack.org/ext/quantum/router/api/v1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<status>ACTIVE</status>
<subnets>
<subnet>e12f0c45-46e3-446a-b207-9474b27687a6</subnet>
</subnets>
<name>private</name>
<provider:physical_network xsi:nil="true" />
<admin_state_up quantum:type="bool">True</admin_state_up>
<tenant_id>625887121e364204873d362b553ab171</tenant_id>
<provider:network_type>local</provider:network_type>
<router:external quantum:type="bool">False</router:external>
<shared quantum:type="bool">False</shared>
<id>9d83c053-b0a4-4682-ae80-c00df269ce0a</id>
<provider:segmentation_id xsi:nil="true" />
</network>

View File

@ -1,31 +0,0 @@
{
"networks": [
{
"status": "ACTIVE",
"subnets": [],
"name": "network_1",
"admin_state_up": true,
"tenant_id": "c1210485b2424d48804aad5d39c61b8f",
"id": "3a06dfc7-d239-4aad-9a57-21cd171c72e5",
"shared": false
},
{
"status": "ACTIVE",
"subnets": [],
"name": "network-2",
"admin_state_up": true,
"tenant_id": "c1210485b2424d48804aad5d39c61b8f",
"id": "7db8c5a4-6eb0-478d-856b-7cfda2b25e13",
"shared": false
},
{
"status": "ACTIVE",
"subnets": ["e12f0c45-46e3-446a-b207-9474b27687a6"],
"name": "network_3",
"admin_state_up": true,
"tenant_id": "ed680f49ff714162ab3612d7876ffce5",
"id": "afc75773-640e-403c-9fff-62ba98db1f19",
"shared": true
}
]
}

View File

@ -1,4 +0,0 @@
<networks>
<network id="8bec1293-16bd-4568-ba75-1f58bec0b4c3"/>
<network id="2a39409c-7146-4501-8429-3579e03e9b56"/>
</networks>

View File

@ -1,37 +0,0 @@
{
"networks":[
{
"status":"ACTIVE",
"subnets":[
"a318fcb4-9ff0-4485-b78c-9e6738c21b26"
],
"name":"private",
"admin_state_up":true,
"tenant_id":"625887121e364204873d362b553ab171",
"id":"9d83c053-b0a4-4682-ae80-c00df269ce0a",
"shared":false
},
{
"status":"ACTIVE",
"subnets":[
"aca4d43c-c48c-4a2c-9bb6-ba374ef7e135"
],
"name":"nova",
"admin_state_up":true,
"tenant_id":"63878e4c5dd649d2a980e37aefddfa87",
"id":"ebda9658-093b-41ba-80ce-0cf8cb8365d4",
"shared":false
},
{
"status":"ACTIVE",
"subnets":[
"e12f0c45-46e3-446a-b207-9474b27687a6"
],
"name":"network_3",
"admin_state_up":true,
"tenant_id":"ed680f49ff714162ab3612d7876ffce5",
"id":"afc75773-640e-403c-9fff-62ba98db1f19",
"shared":true
}
]
}

View File

@ -1,37 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<networks xmlns="http://openstack.org/quantum/api/v2.0"
xmlns:provider="http://docs.openstack.org/ext/provider/api/v1.0"
xmlns:quantum="http://openstack.org/quantum/api/v2.0"
xmlns:router="http://docs.openstack.org/ext/quantum/router/api/v1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<network>
<status>ACTIVE</status>
<subnets>
<subnet>a318fcb4-9ff0-4485-b78c-9e6738c21b26</subnet>
</subnets>
<name>private</name>
<provider:physical_network xsi:nil="true"/>
<admin_state_up quantum:type="bool">True</admin_state_up>
<tenant_id>625887121e364204873d362b553ab171</tenant_id>
<provider:network_type>local</provider:network_type>
<router:external quantum:type="bool">False</router:external>
<shared quantum:type="bool">False</shared>
<id>9d83c053-b0a4-4682-ae80-c00df269ce0a</id>
<provider:segmentation_id xsi:nil="true"/>
</network>
<network>
<status>ACTIVE</status>
<subnets>
<subnet>aca4d43c-c48c-4a2c-9bb6-ba374ef7e135</subnet>
</subnets>
<name>nova</name>
<provider:physical_network xsi:nil="true"/>
<admin_state_up quantum:type="bool">True</admin_state_up>
<tenant_id>63878e4c5dd649d2a980e37aefddfa87</tenant_id>
<provider:network_type>local</provider:network_type>
<router:external quantum:type="bool">True</router:external>
<shared quantum:type="bool">False</shared>
<id>ebda9658-093b-41ba-80ce-0cf8cb8365d4</id>
<provider:segmentation_id xsi:nil="true"/>
</network>
</networks>

View File

@ -1,11 +0,0 @@
{
"networks": [
{
"name": "sample_network_1",
"admin_state_up": false
},
{
"name": "sample_network_2",
"admin_state_up": false
}]
}

View File

@ -1,8 +0,0 @@
<networks>
<network>
<name>sample_network_1</name>
</network>
<network>
<name>sample_network_2</name>
</network>
</networks>

View File

@ -1,7 +0,0 @@
{
"network":
{
"name": "net-name",
"admin_state_up": true
}
}

View File

@ -1,2 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<network name="test"/>

View File

@ -1,11 +0,0 @@
{
"network":
{
"status": "ACTIVE",
"subnets": [],
"name": "net-name",
"admin_state_up": true,
"tenant_id": "388a70781bae4ca895f17b7f6293eb70",
"shared": false, "id": "2a4017ef-31ff-496a-9294-e96ecc3bc9c9"
}
}

View File

@ -1,2 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<network id="e1150d1c-e953-402d-aa75-e35d803d914b"/>

Some files were not shown because too many files have changed in this diff Show More