Files
nova-powervm/nova_powervm/tests/virt/powervm/data/fake_cluster.txt
Eric Fried 8ee482c82a SSP: Only consider this host's VIOSes
Previously, the SSP disk driver was gleaning the list of VIOS UUIDs from
the list of Nodes in the Cluster, and optionally restricting that list
to VIOSes from a specified host.

It will almost never be useful to know about VIOSes residing on a
different host.  Any attempt to talk to those VIOSes through the PowerVM
API will fail, as we don't have a pypowervm connection to that host.

Therefore this change set simplifies the retrieval of VIOS UUIDs,
eliminating the host_uuid option and restricting the result to VIOSes on
the current host.

Change-Id: I2fe1e93b7039383889e56b809d5348ee2d5222a9
2015-05-19 16:24:12 -05:00

114 lines
6.4 KiB
Plaintext

####################################################
# THIS IS AN AUTOMATICALLY GENERATED FILE
# DO NOT EDIT. ANY EDITS WILL BE LOST ON NEXT UPDATE
#
# To update file, run: create_httpresp.py -refresh cluster.txt
#
####################################################
INFO{
{'comment': None, 'status': 200, 'pw': 'Passw0rd', 'reason': 'OK', 'host': '9.1.2.3', 'user': 'hscroot', 'path': 'Cluster/17248b3b-9be7-3bc0-9b89-24a285b5d7ac'}
END OF SECTION}
HEADERS{
{'content-length': '4567', 'content-type': 'application/atom+xml', 'x-powered-by': 'Servlet/3.0', 'set-cookie': 'JSESSIONID=0000uDwaHQGGdRKbfwOM1pbCcYt:c8963131-fc5d-48ff-a2f4-346b019f3f2c; Path=/; Secure; HttpOnly', 'x-hmc-schema-version': 'V1_2_0', 'expires': 'Thu, 01 Jan 1970 00:00:00 GMT', 'last-modified': 'Fri, 06 Feb 2015 07:01:28 GMT', 'x-transaction-id': 'XT10009741', 'etag': '128840171', 'cache-control': 'no-transform, must-revalidate, proxy-revalidate, no-cache=set-cookie', 'date': 'Fri, 06 Feb 2015 07:01:28 GMT', 'x-transactionrecord-uuid': 'f65426ff-08cd-47e1-a43d-7c633754db4a'}
END OF SECTION}
BODY{
<entry xmlns="http://www.w3.org/2005/Atom" xmlns:ns2="http://a9.com/-/spec/opensearch/1.1/" xmlns:ns3="http://www.w3.org/1999/xhtml">
<id>17248b3b-9be7-3bc0-9b89-24a285b5d7ac</id>
<title>Cluster</title>
<published>2015-02-06T07:01:28.760Z</published>
<link rel="SELF" href="https://9.1.2.3:12443/rest/api/uom/Cluster/17248b3b-9be7-3bc0-9b89-24a285b5d7ac"/>
<link rel="MANAGEMENT_CONSOLE" href="https://9.1.2.3:12443/rest/api/uom/ManagementConsole/6c1b9d4a-afc1-3cef-ae54-1977d908fda4"/>
<author>
<name>IBM Power Systems Management Console</name>
</author>
<etag:etag xmlns:etag="http://www.ibm.com/xmlns/systems/power/firmware/uom/mc/2012_10/" xmlns="http://www.ibm.com/xmlns/systems/power/firmware/uom/mc/2012_10/">128840171</etag:etag>
<content type="application/vnd.ibm.powervm.uom+xml; type=Cluster">
<Cluster:Cluster xmlns:Cluster="http://www.ibm.com/xmlns/systems/power/firmware/uom/mc/2012_10/" xmlns="http://www.ibm.com/xmlns/systems/power/firmware/uom/mc/2012_10/" xmlns:ns2="http://www.w3.org/XML/1998/namespace/k2" schemaVersion="V1_2_0">
<Metadata>
<Atom>
<AtomID>17248b3b-9be7-3bc0-9b89-24a285b5d7ac</AtomID>
<AtomCreated>1423205969593</AtomCreated>
</Atom>
</Metadata>
<ClusterName kb="COR" kxe="false">neoclust1</ClusterName>
<ClusterID kb="CUD" kxe="false">22cfc907d2abf511e4b2d540f2e95daf30</ClusterID>
<RepositoryDisk kb="CUD" kxe="false" schemaVersion="V1_2_0">
<Metadata>
<Atom/>
</Metadata>
<PhysicalVolume schemaVersion="V1_2_0">
<Metadata>
<Atom/>
</Metadata>
<Description kb="CUD" kxe="false">MPIO IBM 2076 FC Disk</Description>
<UniqueDeviceID kxe="false" kb="ROR">01M0lCTTIxNDUxMjQ2MDA1MDc2ODAyODI4NjFEODgwMDAwMDAwMDAwMDAwMg==</UniqueDeviceID>
<VolumeCapacity kb="CUR" kxe="false">10240</VolumeCapacity>
<VolumeName kb="CUR" kxe="false">hdisk2</VolumeName>
<VolumeState kb="ROR" kxe="false">active</VolumeState>
<IsFibreChannelBacked kb="ROR" kxe="false">true</IsFibreChannelBacked>
</PhysicalVolume>
</RepositoryDisk>
<ClusterSharedStoragePool kb="CUD" kxe="false" href="https://9.1.2.3:12443/rest/api/uom/SharedStoragePool/e357a79a-7a3d-35b6-8405-55ab6a2d0de7" rel="related"/>
<Node kxe="false" kb="CUD" schemaVersion="V1_2_0">
<Metadata>
<Atom/>
</Metadata>
<Node schemaVersion="V1_2_0">
<Metadata>
<Atom/>
</Metadata>
<HostName kb="CUD" kxe="false">foo.example.com</HostName>
<PartitionID kb="CUD" kxe="false">2</PartitionID>
<MachineTypeModelAndSerialNumber kxe="false" kb="CUD" schemaVersion="V1_2_0">
<Metadata>
<Atom/>
</Metadata>
<MachineType kb="CUR" kxe="false">8247</MachineType>
<Model kxe="false" kb="CUR">22L</Model>
<SerialNumber kb="CUR" kxe="false">2125D1A</SerialNumber>
</MachineTypeModelAndSerialNumber>
<VirtualIOServerLevel kb="CUD" kxe="false">2.2.3.4</VirtualIOServerLevel>
<VirtualIOServer kb="CUD" kxe="false" href="https://9.1.2.3:12443/rest/api/uom/ManagedSystem/98498bed-c78a-3a4f-b90a-4b715418fcb6/VirtualIOServer/58C9EB1D-7213-4956-A011-77D43CC4ACCC" rel="related"/>
</Node>
<Node schemaVersion="V1_2_0">
<Metadata>
<Atom/>
</Metadata>
<HostName kb="CUD" kxe="false">bar.example.com</HostName>
<PartitionID kb="CUD" kxe="false">1</PartitionID>
<MachineTypeModelAndSerialNumber kxe="false" kb="CUD" schemaVersion="V1_2_0">
<Metadata>
<Atom/>
</Metadata>
<MachineType kb="CUR" kxe="false">8247</MachineType>
<Model kxe="false" kb="CUR">22L</Model>
<SerialNumber kb="CUR" kxe="false">2125D0A</SerialNumber>
</MachineTypeModelAndSerialNumber>
<VirtualIOServerLevel kb="CUD" kxe="false">2.2.4.0</VirtualIOServerLevel>
<VirtualIOServer kb="CUD" kxe="false" href="https://9.1.2.3:12443/rest/api/uom/ManagedSystem/67dca605-3923-34da-bd8f-26a378fc817f/VirtualIOServer/6424120D-CA95-437D-9C18-10B06F4B3400" rel="related"/>
</Node>
<Node schemaVersion="V1_2_0">
<Metadata>
<Atom/>
</Metadata>
<HostName kb="CUD" kxe="false">bar.example.com</HostName>
<PartitionID kb="CUD" kxe="false">3</PartitionID>
<MachineTypeModelAndSerialNumber kxe="false" kb="CUD" schemaVersion="V1_2_0">
<Metadata>
<Atom/>
</Metadata>
<MachineType kb="CUR" kxe="false">8247</MachineType>
<Model kxe="false" kb="CUR">22L</Model>
<SerialNumber kb="CUR" kxe="false">2125D0A</SerialNumber>
</MachineTypeModelAndSerialNumber>
<VirtualIOServerLevel kb="CUD" kxe="false">2.2.4.0</VirtualIOServerLevel>
<VirtualIOServer kb="CUD" kxe="false" href="https://9.1.2.3:12443/rest/api/uom/ManagedSystem/67dca605-3923-34da-bd8f-26a378fc817f/VirtualIOServer/10B06F4B-437D-9C18-CA95-34006424120D" rel="related"/>
</Node>
</Node>
</Cluster:Cluster>
</content>
</entry>
END OF SECTION}