netconn-api/v1.0/xsd/shareip.xsd
Diane Fleming 64cca08847 Rework directories for netconn - both are neutron
Partial_Bug: #1233748

Change-Id: I6fa1a8b194da4d90941051151a13f06786642758
author: diane fleming
2013-10-08 09:18:08 -05:00

83 lines
3.1 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="../xslt/schema.xsl"?>
<schema
elementFormDefault="qualified"
attributeFormDefault="unqualified"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:exapi="http://docs.rackspacecloud.com/servers/api/ext/sipe/v1.0"
xmlns:xsdxt="http://docs.rackspacecloud.com/xsd-ext/v1.0"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://docs.rackspacecloud.com/servers/api/ext/sipe/v1.0"
>
<element name="shareIp" type="exapi:ShareIp">
<annotation>
<xsd:documentation
xml:lang="EN"
xmlns="http://www.w3.org/1999/xhtml">
<p>
The element defines request to share a public IP address.
</p>
</xsd:documentation>
<xsd:appinfo>
<xsdxt:samples>
<xsdxt:sample>
<xsdxt:code type="application/xml"
href="../samples/shareip.xml"/>
</xsdxt:sample>
<xsdxt:sample>
<xsdxt:code type="application/json"
href="../samples/shareip.json"/>
</xsdxt:sample>
</xsdxt:samples>
</xsd:appinfo>
</annotation>
</element>
<complexType name="ShareIp">
<annotation>
<xsd:documentation
xml:lang="EN"
xmlns="http://www.w3.org/1999/xhtml">
<p>
This type is used to represent a request to share an IP
address.
</p>
</xsd:documentation>
</annotation>
<sequence>
<any namespace="##other" processContents="lax" minOccurs="0"
maxOccurs="unbounded"/>
</sequence>
<attribute name="sharedIpGroupId" type="xsd:int" use="required">
<annotation>
<xsd:documentation
xml:lang="EN"
xmlns="http://www.w3.org/1999/xhtml">
<p>
The
<a href="ipgroup.xsd#type_SharedIpGroup" title="See
definition of SharedIPGroup">shared IP group
</a>
use to
share the address.
</p>
</xsd:documentation>
</annotation>
</attribute>
<attribute name="configureServer" type="xsd:boolean" default="false">
<annotation>
<xsd:documentation
xml:lang="EN"
xmlns="http://www.w3.org/1999/xhtml">
<p>
If true, the server is configured with the new address
though the address may not be enabled.
</p>
</xsd:documentation>
</annotation>
</attribute>
<anyAttribute namespace="##other" processContents="lax"/>
</complexType>
</schema>