Updated source os-subnets.wadl to correct code sample errors

Fixed these issues in source WADL:

Update subnet's content is for "create subnet"
create subnet's contents is for list subnet
List subnet's contents is for show subnet

Closes-Bug: #1292359

Change-Id: Icf38c79bf32877d0f3f3cb119d31fea2e0b1d61e
author: diane fleming
This commit is contained in:
Diane Fleming 2014-03-16 15:53:22 -05:00
parent 293a652850
commit ef4cbd46b6

View File

@ -1,29 +1,4 @@
<?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'>
]>
<chapter xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xi="http://www.w3.org/2001/XInclude"
@ -37,31 +12,33 @@
<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
Internet Protocol Address Management (IPAM) functionality.
Enables users to associate IP address blocks and other network
configuration settings with a neutron network. You can choose
a specific IP address from the block or let neutron choose the
first available IP address.</para>
Internet Protocol Address Management (IPAM)
functionality.</para>
<para>Enables users to associate IP address blocks and other
network configuration settings with a neutron network. You can
choose a specific IP address from the block or let neutron
choose the first available IP address.</para>
<section xml:id="networks">
<title>Networks</title>
<para>Lists, shows information for, creates, updates, and
deletes networks.</para>
<para>List, show information for, create, update, and delete
networks.</para>
<wadl:resources
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>Lists, shows information for, creates, updates, and
deletes subnet resources.</para>
<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"/>
</section>
<section xml:id="ports">
<title>Ports</title>
<para>Lists, shows information for, creates, updates, and
deletes ports.</para>
<para>List, show information for, create, update, and delete
ports.</para>
<wadl:resources
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"/>