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"?> <?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" <chapter xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:xi="http://www.w3.org/2001/XInclude"
@ -37,31 +12,33 @@
<para>Provides virtual networking services among devices that are <para>Provides virtual networking services among devices that are
managed by the OpenStack Compute service. The Networking API managed by the OpenStack Compute service. The Networking API
v2.0 combines the API v1.1 functionality with some essential v2.0 combines the API v1.1 functionality with some essential
Internet Protocol Address Management (IPAM) functionality. Internet Protocol Address Management (IPAM)
Enables users to associate IP address blocks and other network functionality.</para>
configuration settings with a neutron network. You can choose <para>Enables users to associate IP address blocks and other
a specific IP address from the block or let neutron choose the network configuration settings with a neutron network. You can
first available IP address.</para> choose a specific IP address from the block or let neutron
choose the first available IP address.</para>
<section xml:id="networks"> <section xml:id="networks">
<title>Networks</title> <title>Networks</title>
<para>Lists, shows information for, creates, updates, and <para>List, show information for, create, update, and delete
deletes networks.</para> networks.</para>
<wadl:resources <wadl:resources
href="http://git.openstack.org/cgit/openstack/api-site/plain/api-ref/src/wadls/netconn-api/src/os-networks.wadl" 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"/> xmlns:wadl="http://wadl.dev.java.net/2009/02"/>
</section> </section>
<section xml:id="subnets"> <section xml:id="subnets">
<title>Subnets</title> <title>Subnets</title>
<para>Lists, shows information for, creates, updates, and <para>List, show information for, create, update, and delete
deletes subnet resources.</para> subnet resources.</para>
<!-- updated os-subnets.wadl to correct errors reported in bug #1292359 -->
<wadl:resources <wadl:resources
href="http://git.openstack.org/cgit/openstack/api-site/plain/api-ref/src/wadls/netconn-api/src/os-subnets.wadl" 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"/> xmlns:wadl="http://wadl.dev.java.net/2009/02"/>
</section> </section>
<section xml:id="ports"> <section xml:id="ports">
<title>Ports</title> <title>Ports</title>
<para>Lists, shows information for, creates, updates, and <para>List, show information for, create, update, and delete
deletes ports.</para> ports.</para>
<wadl:resources <wadl:resources
href="http://git.openstack.org/cgit/openstack/api-site/plain/api-ref/src/wadls/netconn-api/src/os-ports.wadl" 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"/> xmlns:wadl="http://wadl.dev.java.net/2009/02"/>