summaryrefslogtreecommitdiffstats
path: root/nova/api/openstack/compute/schemas
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2013-06-29 11:03:08 +0000
committerGerrit Code Review <review@openstack.org>2013-06-29 11:03:08 +0000
commit98a481aa4a121ef2a2e5fe338c4b9ab4f242cc29 (patch)
tree4de6dec361fd15d82043003c867f51c132e605a4 /nova/api/openstack/compute/schemas
parent815f0faffe085895febcd80dde8d2eacdffceb60 (diff)
parent643cf2d3c67a6c9728fd5c766a9cee3a09d67022 (diff)
downloadnova-98a481aa4a121ef2a2e5fe338c4b9ab4f242cc29.tar.gz
nova-98a481aa4a121ef2a2e5fe338c4b9ab4f242cc29.tar.xz
nova-98a481aa4a121ef2a2e5fe338c4b9ab4f242cc29.zip
Merge "Merged flavor_swap extension into core API"
Diffstat (limited to 'nova/api/openstack/compute/schemas')
-rw-r--r--nova/api/openstack/compute/schemas/v3/flavor.rng12
-rw-r--r--nova/api/openstack/compute/schemas/v3/flavors.rng6
2 files changed, 18 insertions, 0 deletions
diff --git a/nova/api/openstack/compute/schemas/v3/flavor.rng b/nova/api/openstack/compute/schemas/v3/flavor.rng
new file mode 100644
index 000000000..4b6b74001
--- /dev/null
+++ b/nova/api/openstack/compute/schemas/v3/flavor.rng
@@ -0,0 +1,12 @@
+<element name="flavor" ns="http://docs.openstack.org/compute/api/v1.1"
+ xmlns="http://relaxng.org/ns/structure/1.0">
+ <attribute name="name"> <text/> </attribute>
+ <attribute name="id"> <text/> </attribute>
+ <attribute name="ram"> <text/> </attribute>
+ <attribute name="disk"> <text/> </attribute>
+ <attribute name="vcpus"> <text/> </attribute>
+ <attribute name="swap"> <text/> </attribute>
+ <zeroOrMore>
+ <externalRef href="../atom-link.rng"/>
+ </zeroOrMore>
+</element>
diff --git a/nova/api/openstack/compute/schemas/v3/flavors.rng b/nova/api/openstack/compute/schemas/v3/flavors.rng
new file mode 100644
index 000000000..b7a3acc01
--- /dev/null
+++ b/nova/api/openstack/compute/schemas/v3/flavors.rng
@@ -0,0 +1,6 @@
+<element name="flavors" xmlns="http://relaxng.org/ns/structure/1.0"
+ ns="http://docs.openstack.org/compute/api/v1.1">
+ <zeroOrMore>
+ <externalRef href="flavor.rng"/>
+ </zeroOrMore>
+</element>