diff options
Diffstat (limited to 'nova/tests/unit/integrated/api_samples/OS-SCH-HNT/scheduler-hints-post-req.xml.tpl')
-rw-r--r-- | nova/tests/unit/integrated/api_samples/OS-SCH-HNT/scheduler-hints-post-req.xml.tpl | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/nova/tests/unit/integrated/api_samples/OS-SCH-HNT/scheduler-hints-post-req.xml.tpl b/nova/tests/unit/integrated/api_samples/OS-SCH-HNT/scheduler-hints-post-req.xml.tpl new file mode 100644 index 0000000000..a680e3476e --- /dev/null +++ b/nova/tests/unit/integrated/api_samples/OS-SCH-HNT/scheduler-hints-post-req.xml.tpl @@ -0,0 +1,12 @@ +<server + xmlns="http://docs.openstack.org/compute/api/v1.1" + xmlns:OS-SCH-HNT="http://docs.openstack.org/compute/ext/scheduler-hints/api/v2" + name='new-server-test' + imageRef='%(image_id)s' + flavorRef='1' +> + <OS-SCH-HNT:scheduler_hints> + <hypervisor>xen</hypervisor> + <near>%(image_near)s</near> + </OS-SCH-HNT:scheduler_hints> +</server> |