Files
nova/doc/v3/api_samples/os-security-groups/server-get-resp.xml
T
He Jie Xu c37e034790 Add V3 API samples for security-groups
Partially implements blueprint v3-api-unittests

Change-Id: I6df70127a88881320052613f4c107e2287f375c1
2013-09-25 11:32:36 +08:00

22 lines
1.2 KiB
XML

<?xml version='1.0' encoding='UTF-8'?>
<server xmlns:atom="http://www.w3.org/2005/Atom" xmlns="http://docs.openstack.org/compute/api/v1.1" status="ACTIVE" updated="2013-09-25T03:29:14Z" user_id="fake" name="new-server-test" created="2013-09-25T03:29:14Z" tenant_id="openstack" access_ip_v4="" progress="0" host_id="a41e10b8b76a145704a8d4cd340fc14a7e005188ecc475aaea04de44" id="0c2e89e5-491a-4416-ae48-e77edfb04705" access_ip_v6="" key_name="None">
<image id="70a599e0-31e7-49b7-b260-868f441e862b">
<atom:link href="http://glance.openstack.example.com/images/70a599e0-31e7-49b7-b260-868f441e862b" rel="bookmark"/>
</image>
<flavor id="1">
<atom:link href="http://openstack.example.com/flavors/1" rel="bookmark"/>
</flavor>
<metadata>
<meta key="My Server Name">Apache1</meta>
</metadata>
<addresses>
<network id="private">
<ip version="4" type="fixed" addr="192.168.0.3" mac_addr="aa:bb:cc:dd:ee:ff"/>
</network>
</addresses>
<atom:link href="http://openstack.example.com/v3/servers/0c2e89e5-491a-4416-ae48-e77edfb04705" rel="self"/>
<atom:link href="http://openstack.example.com/servers/0c2e89e5-491a-4416-ae48-e77edfb04705" rel="bookmark"/>
<security_groups>
<security_group name="test"/>
</security_groups>
</server>