Port ips-extended to API-v3 ips core API Part 1
This just copies servers and ips xml schema to API-v3. Change-Id: I4f096cfe7c453123a0adb8e6e969ff3c592324db
This commit is contained in:
14
nova/api/openstack/compute/schemas/v3/addresses.rng
Normal file
14
nova/api/openstack/compute/schemas/v3/addresses.rng
Normal file
@@ -0,0 +1,14 @@
|
||||
<element name="addresses" ns="http://docs.openstack.org/compute/api/v1.1"
|
||||
xmlns="http://relaxng.org/ns/structure/1.0">
|
||||
<zeroOrMore>
|
||||
<element name="network">
|
||||
<attribute name="id"> <text/> </attribute>
|
||||
<zeroOrMore>
|
||||
<element name="ip">
|
||||
<attribute name="version"> <text/> </attribute>
|
||||
<attribute name="addr"> <text/> </attribute>
|
||||
</element>
|
||||
</zeroOrMore>
|
||||
</element>
|
||||
</zeroOrMore>
|
||||
</element>
|
||||
59
nova/api/openstack/compute/schemas/v3/server.rng
Normal file
59
nova/api/openstack/compute/schemas/v3/server.rng
Normal file
@@ -0,0 +1,59 @@
|
||||
<element name="server" ns="http://docs.openstack.org/compute/api/v1.1"
|
||||
xmlns="http://relaxng.org/ns/structure/1.0">
|
||||
<attribute name="name"> <text/> </attribute>
|
||||
<attribute name="userId"> <text/> </attribute>
|
||||
<attribute name="tenantId"> <text/> </attribute>
|
||||
<attribute name="id"> <text/> </attribute>
|
||||
<attribute name="updated"> <text/> </attribute>
|
||||
<attribute name="created"> <text/> </attribute>
|
||||
<attribute name="hostId"> <text/> </attribute>
|
||||
<attribute name="accessIPv4"> <text/> </attribute>
|
||||
<attribute name="accessIPv6"> <text/> </attribute>
|
||||
<attribute name="status"> <text/> </attribute>
|
||||
<optional>
|
||||
<attribute name="progress"> <text/> </attribute>
|
||||
</optional>
|
||||
<optional>
|
||||
<attribute name="adminPass"><text/> </attribute>
|
||||
</optional>
|
||||
<element name="image">
|
||||
<attribute name="id"> <text/> </attribute>
|
||||
<externalRef href="../atom-link.rng"/>
|
||||
</element>
|
||||
<element name="flavor">
|
||||
<attribute name="id"> <text/> </attribute>
|
||||
<externalRef href="../atom-link.rng"/>
|
||||
</element>
|
||||
<optional>
|
||||
<element name="fault">
|
||||
<attribute name="code"> <text/> </attribute>
|
||||
<attribute name="created"> <text/> </attribute>
|
||||
<element name="message"> <text/> </element>
|
||||
<element name="details"> <text/> </element>
|
||||
</element>
|
||||
</optional>
|
||||
<element name="metadata">
|
||||
<zeroOrMore>
|
||||
<element name="meta">
|
||||
<attribute name="key"> <text/> </attribute>
|
||||
<text/>
|
||||
</element>
|
||||
</zeroOrMore>
|
||||
</element>
|
||||
<element name="addresses">
|
||||
<zeroOrMore>
|
||||
<element name="network">
|
||||
<attribute name="id"> <text/> </attribute>
|
||||
<zeroOrMore>
|
||||
<element name="ip">
|
||||
<attribute name="version"> <text/> </attribute>
|
||||
<attribute name="addr"> <text/> </attribute>
|
||||
</element>
|
||||
</zeroOrMore>
|
||||
</element>
|
||||
</zeroOrMore>
|
||||
</element>
|
||||
<zeroOrMore>
|
||||
<externalRef href="../atom-link.rng"/>
|
||||
</zeroOrMore>
|
||||
</element>
|
||||
6
nova/api/openstack/compute/schemas/v3/servers.rng
Normal file
6
nova/api/openstack/compute/schemas/v3/servers.rng
Normal file
@@ -0,0 +1,6 @@
|
||||
<element name="servers" xmlns="http://relaxng.org/ns/structure/1.0"
|
||||
ns="http://docs.openstack.org/compute/api/v1.1">
|
||||
<zeroOrMore>
|
||||
<externalRef href="server.rng"/>
|
||||
</zeroOrMore>
|
||||
</element>
|
||||
15
nova/api/openstack/compute/schemas/v3/servers_index.rng
Normal file
15
nova/api/openstack/compute/schemas/v3/servers_index.rng
Normal file
@@ -0,0 +1,15 @@
|
||||
<element name="servers" ns="http://docs.openstack.org/compute/api/v1.1"
|
||||
xmlns="http://relaxng.org/ns/structure/1.0">
|
||||
<zeroOrMore>
|
||||
<element name="server">
|
||||
<attribute name="name"> <text/> </attribute>
|
||||
<attribute name="id"> <text/> </attribute>
|
||||
<zeroOrMore>
|
||||
<externalRef href="../atom-link.rng"/>
|
||||
</zeroOrMore>
|
||||
</element>
|
||||
</zeroOrMore>
|
||||
<zeroOrMore>
|
||||
<externalRef href="../atom-link.rng"/>
|
||||
</zeroOrMore>
|
||||
</element>
|
||||
Reference in New Issue
Block a user