deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dko...@apache.org
Subject [3/4] FGCP: added unit tests for provider & realms, incl. VCR recordings and fixed error with unknown id
Date Mon, 18 Feb 2013 12:54:26 GMT
http://git-wip-us.apache.org/repos/asf/deltacloud/blob/2a9e21a0/server/tests/drivers/fgcp/fixtures/test_0002_must_return_list_of_images.yml
----------------------------------------------------------------------
diff --git a/server/tests/drivers/fgcp/fixtures/test_0002_must_return_list_of_images.yml b/server/tests/drivers/fgcp/fixtures/test_0002_must_return_list_of_images.yml
new file mode 100644
index 0000000..f1d3e27
--- /dev/null
+++ b/server/tests/drivers/fgcp/fixtures/test_0002_must_return_list_of_images.yml
@@ -0,0 +1,341 @@
+--- 
+http_interactions: 
+- request: 
+    method: get
+    uri: https://api.globalcloud.fujitsu.com.au/ovissapi/endpoint?AccessKeyId=QVVTIEVhc3Rlcm4gRGF5bGlnaHQgVGltZSYxMzYxMTg4ODQ3MDAwJjEuMCZT%0ASEExd2l0aFJTQQ==%0A&Action=ListDiskImage&Locale=en&Signature=gldS+HMCeZYar/Zja5HqrYHLQuu+Y/KEVLSxKOhDhttDULwM0oWwkGCsO/F6%0Aw6DZVtwtwo3a+JU70IU9f+AdL0Aj7IEXFXRkJS1HWabMP4PjnTMbFkUeTv7J%0AXaW7PpmQiA6n0UG4GHgGrTbdnXk5ukB6LEv7MqHlRo1iAsHGoc6WslCnRib1%0Ai49neV4NvJfaSVaPkC2kMMHZaPfWhQi6Q39k3OWHqpl2sV02Ti44bioGkWIE%0AStgf/2f+gNa3MuwnzkztQiAx5e7G206ARsYGKPRhep+76ubpLier6RUeOvKI%0ANdHoBnOvGqH+wdFgLQD3afJ5GypkrAALi/t04dmhhA==%0A&Version=2011-01-31
+    body: 
+      string: ""
+    headers: 
+      Accept: 
+      - text/xml
+      User-Agent: 
+      - OViSS-API-CLIENT
+  response: 
+    status: 
+      code: 200
+      message: OK
+    headers: 
+      Connection: 
+      - close
+      Date: 
+      - Mon, 18 Feb 2013 12:00:48 GMT
+      Transfer-Encoding: 
+      - chunked
+      Content-Type: 
+      - text/xml;charset=UTF-8
+      Set-Cookie: 
+      - JSESSIONID=3768DFCD66E1B2DD9F8DEB04CC692EB7; Path=/ovisspxy; Secure
+    body: 
+      string: |
+        <?xml version="1.0" encoding="UTF-8"?>
+        <ListDiskImageResponse xmlns="http://apioviss.jp.fujitsu.com">
+          <diskimages>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG0001_RHEL5_8EN64_v1_24x7SPT</diskimageId>
+              <diskimageName>RHEL5.8 64bit(EN) wSPT</diskimageName>
+              <licenseInfo>Included</licenseInfo>
+              <osName>Red Hat Enterprise Linux 5.8 64bit</osName>
+              <osType>hvm</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>40.0</size>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG0002_RHEL5_8EN64_v1_NoSPT</diskimageId>
+              <diskimageName>RHEL5.8 64bit(EN)</diskimageName>
+              <licenseInfo>Included</licenseInfo>
+              <osName>Red Hat Enterprise Linux 5.8 64bit</osName>
+              <osType>hvm</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>40.0</size>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG0003_RHEL6_3EN64_v1_24x7SPT</diskimageId>
+              <diskimageName>RHEL6.3 64bit(EN) wSPT</diskimageName>
+              <licenseInfo>Included</licenseInfo>
+              <osName>Red Hat Enterprise Linux 6.3 64bit</osName>
+              <osType>hvm</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>40.0</size>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG0004_RHEL6_3EN64_v1_NoSPT</diskimageId>
+              <diskimageName>RHEL6.3 64bit(EN)</diskimageName>
+              <licenseInfo>Included</licenseInfo>
+              <osName>Red Hat Enterprise Linux 6.3 64bit</osName>
+              <osType>hvm</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>40.0</size>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG_3c9820_21VKHA77OO</diskimageId>
+              <diskimageName>CentOS 5.6 32bit(EN)</diskimageName>
+              <licenseInfo />
+              <osName>CentOS 5.6 32bit (English)</osName>
+              <osType>pv</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>10.0</size>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG_3c9820_D30U8UNY6I9S</diskimageId>
+              <diskimageName>CentOS 6.2 32bit(EN)</diskimageName>
+              <licenseInfo />
+              <osName>CentOS 6.2 32bit (English)</osName>
+              <osType>pv</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>10.0</size>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG_3c9820_D30Y0LNN4WE8</diskimageId>
+              <diskimageName>W2k8R2EESP1(EN)</diskimageName>
+              <licenseInfo>Included</licenseInfo>
+              <osName>Windows Server 2008 R2 EE 64bit SP1 (English)</osName>
+              <osType>hvm</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>40.0</size>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG_3c9820_FBV3QFG44MPS</diskimageId>
+              <diskimageName>CentOS 5.6 64bit(EN)</diskimageName>
+              <licenseInfo />
+              <osName>CentOS 5.6 64bit (English)</osName>
+              <osType>pv</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>10.0</size>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG_3c9820_J55YW6UE101DS</diskimageId>
+              <diskimageName>CentOS 5.4 32bit(EN)</diskimageName>
+              <licenseInfo />
+              <osName>CentOS 5.4 32bit (English)</osName>
+              <osType>pv</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>10.0</size>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG_3c9820_J56Y5PS4FJO5C</diskimageId>
+              <diskimageName>W2k8R2SE/SQL2k8R2(EN)</diskimageName>
+              <licenseInfo>Included</licenseInfo>
+              <osName>Windows Server 2008 R2 SE 64bit (English)</osName>
+              <osType>hvm</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>40.0</size>
+              <softwares>
+                <software>
+                  <license>Included</license>
+                  <name>SQLServer 2008 R2 SE (English)</name>
+                </software>
+              </softwares>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG_3c9820_LKNVW2TH31A0W</diskimageId>
+              <diskimageName>CentOS 5.4 64bit(EN)</diskimageName>
+              <licenseInfo />
+              <osName>CentOS 5.4 64bit (English)</osName>
+              <osType>pv</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>10.0</size>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG_3c9820_LLIPQ3UJ43RWG</diskimageId>
+              <diskimageName>W2k8R2SESP1(EN)</diskimageName>
+              <licenseInfo>Included</licenseInfo>
+              <osName>Windows Server 2008 R2 SE 64bit SP1 (English)</osName>
+              <osType>hvm</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>40.0</size>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG_3c9820_QIEWLLNIF7IF40</diskimageId>
+              <diskimageName>W2k8R2SE/IIS(EN)</diskimageName>
+              <licenseInfo>Included</licenseInfo>
+              <osName>Windows Server 2008 R2 SE 64bit (English)</osName>
+              <osType>hvm</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>40.0</size>
+              <softwares>
+                <software>
+                  <license />
+                  <name>Internet Information Server 7.5</name>
+                </software>
+              </softwares>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG_3c9820_S24FWXU0Q9VH0JK</diskimageId>
+              <diskimageName>CentOS 6.2 64bit(EN)</diskimageName>
+              <licenseInfo />
+              <osName>CentOS 6.2 64bit (English)</osName>
+              <osType>pv</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>10.0</size>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG_3c9820_X1W13YQIDAYQ2SQO</diskimageId>
+              <diskimageName>RHEL5.7 64bit wSPT</diskimageName>
+              <licenseInfo>Included</licenseInfo>
+              <osName>Red Hat Enterprise Linux 5.7 64bit (English) with Support</osName>
+              <osType>hvm</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>40.0</size>
+            </diskimage>
+          </diskimages>
+          <responseMessage>Processing was completed.</responseMessage>
+          <responseStatus>SUCCESS</responseStatus>
+        </ListDiskImageResponse>
+        
+
+    http_version: 
+  recorded_at: Mon, 18 Feb 2013 12:00:48 GMT
+- request: 
+    method: get
+    uri: https://api.globalcloud.fujitsu.com.au/ovissapi/endpoint?AccessKeyId=QVVTIEVhc3Rlcm4gRGF5bGlnaHQgVGltZSYxMzYxMTg4ODQ5MDAwJjEuMCZT%0ASEExd2l0aFJTQQ==%0A&Action=ListServerType&Locale=en&Signature=LAPxOyA0e+SIDOGuSOVui2J681QfR4MbZxCG6Z9FQD1THFwa1WSmPNY7eDjf%0A88s1VArPv6Z9zxIBl4ukBgqWODyG8HYAzoJRMsXfX3Ogw/VSvC1quWNM7Ru+%0A49ODjDYLE7wBw8OU7SCBvkBae2/bK2b+MpOJLwdBpTeSq4xzNFujitPrE/vi%0AO6jTqCB1Em93ysSvSz8SFumVAayHQf+afstCdMbsc6I/N1z5IUOEjs2d0fRq%0AugVoczDBdj7D/gbDPKT2ueMEYbO9MR6dx9fra/XZR+uKZESGVGS07dMnvcj8%0Apu4I/EGZDKkWeaPjBzddSHOe280yqAFuH//TXFnVkA==%0A&Version=2011-01-31&diskImageId=dummy
+    body: 
+      string: ""
+    headers: 
+      Accept: 
+      - text/xml
+      User-Agent: 
+      - OViSS-API-CLIENT
+  response: 
+    status: 
+      code: 200
+      message: OK
+    headers: 
+      Connection: 
+      - close
+      Date: 
+      - Mon, 18 Feb 2013 12:00:49 GMT
+      Transfer-Encoding: 
+      - chunked
+      Content-Type: 
+      - text/xml;charset=UTF-8
+      Set-Cookie: 
+      - JSESSIONID=E982A88A5FEDE051EA6185C75B601CCF; Path=/ovisspxy; Secure
+    body: 
+      string: |
+        <?xml version="1.0" encoding="UTF-8"?>
+        <ListServerTypeResponse xmlns="http://apioviss.jp.fujitsu.com">
+          <responseMessage>Processing was completed.</responseMessage>
+          <responseStatus>SUCCESS</responseStatus>
+          <servertypes>
+            <servertype>
+              <chargeType>amount</chargeType>
+              <cpu>
+                <cpuArch>IA</cpuArch>
+                <cpuPerf>4.0</cpuPerf>
+                <numOfCpu>1</numOfCpu>
+              </cpu>
+              <expectedUsage>744</expectedUsage>
+              <id>islanda-cbrm_144</id>
+              <memory>
+                <memorySize>7.5</memorySize>
+              </memory>
+              <name>advanced</name>
+              <price>0.4949</price>
+              <productId>AUS-VM-0001-0003</productId>
+              <productName>Advanced VM</productName>
+            </servertype>
+            <servertype>
+              <chargeType>amount</chargeType>
+              <cpu>
+                <cpuArch>IA</cpuArch>
+                <cpuPerf>1.0</cpuPerf>
+                <numOfCpu>1</numOfCpu>
+              </cpu>
+              <expectedUsage>744</expectedUsage>
+              <id>islanda-cbrm_140</id>
+              <memory>
+                <memorySize>1.7</memorySize>
+              </memory>
+              <name>economy</name>
+              <price>0.1237</price>
+              <productId>AUS-VM-0001-0001</productId>
+              <productName>Economy VM</productName>
+            </servertype>
+            <servertype>
+              <chargeType>amount</chargeType>
+              <cpu>
+                <cpuArch>IA</cpuArch>
+                <cpuPerf>4.0</cpuPerf>
+                <numOfCpu>2</numOfCpu>
+              </cpu>
+              <expectedUsage>744</expectedUsage>
+              <id>islanda-cbrm_146</id>
+              <memory>
+                <memorySize>15.0</memorySize>
+              </memory>
+              <name>high_performance</name>
+              <price>0.9898</price>
+              <productId>AUS-VM-0001-0004</productId>
+              <productName>High-Performance VM</productName>
+            </servertype>
+            <servertype>
+              <chargeType>amount</chargeType>
+              <cpu>
+                <cpuArch>IA</cpuArch>
+                <cpuPerf>2.0</cpuPerf>
+                <numOfCpu>1</numOfCpu>
+              </cpu>
+              <expectedUsage>744</expectedUsage>
+              <id>islanda-cbrm_142</id>
+              <memory>
+                <memorySize>3.4</memorySize>
+              </memory>
+              <name>standard</name>
+              <price>0.2474</price>
+              <productId>AUS-VM-0001-0002</productId>
+              <productName>Standard VM</productName>
+            </servertype>
+            <servertype>
+              <chargeType>amount</chargeType>
+              <cpu>
+                <cpuArch>IA</cpuArch>
+                <cpuPerf>4.0</cpuPerf>
+                <numOfCpu>4</numOfCpu>
+              </cpu>
+              <expectedUsage>744</expectedUsage>
+              <id>islanda-cbrm_146337</id>
+              <memory>
+                <memorySize>30.0</memorySize>
+              </memory>
+              <name>w_high</name>
+              <price>1.9796</price>
+              <productId>AUS-VM-0001-0011</productId>
+              <productName>Double-High Performance VM</productName>
+            </servertype>
+          </servertypes>
+        </ListServerTypeResponse>
+        
+
+    http_version: 
+  recorded_at: Mon, 18 Feb 2013 12:00:49 GMT
+recorded_with: VCR 2.4.0

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/2a9e21a0/server/tests/drivers/fgcp/fixtures/test_0002_must_return_list_of_realms.yml
----------------------------------------------------------------------
diff --git a/server/tests/drivers/fgcp/fixtures/test_0002_must_return_list_of_realms.yml b/server/tests/drivers/fgcp/fixtures/test_0002_must_return_list_of_realms.yml
new file mode 100644
index 0000000..8287933
--- /dev/null
+++ b/server/tests/drivers/fgcp/fixtures/test_0002_must_return_list_of_realms.yml
@@ -0,0 +1,443 @@
+--- 
+recorded_with: VCR 2.4.0
+http_interactions: 
+- request: 
+    method: get
+    uri: https://api.globalcloud.fujitsu.com.au/ovissapi/endpoint?AccessKeyId=QVVTIEVhc3Rlcm4gRGF5bGlnaHQgVGltZSYxMzYxMTg1NDQ0MDAwJjEuMCZT%0ASEExd2l0aFJTQQ==%0A&Action=ListVSYS&Locale=en&Signature=fy8MacmdlO4cuBEgCRHywcXJpZhPdySJ+N6PINdc0y9n+MUvMXPPauKyLuq7%0ACMQfsNl/coCcGlfRCYBatrTVJkrYbwVeWBXJyUGSKASqZuf+LcC6O9RGzuUB%0ArrervcIZZH+H299B3hXJ/Y93xr2n5ssiZ0hwwjW/RsRVfTQ2EEsVAhtlCXyD%0A2FLT7R5pOzQ4rErvMVKc3hwc50ew18yS/BnF3LDyWTom/CKaKH7TTuJscpAW%0Ai9AAQrjHney/dPwfAnUBi4w3phIIo3FIg5Xn7Tu8Qep4/z1NPMdj4awZwNK/%0AZKKmBknOb+N/o40ShRaCh8FfyV/TK925bdbXkaELGw==%0A&Version=2011-01-31
+    body: 
+      string: ""
+    headers: 
+      Accept: 
+      - text/xml
+      User-Agent: 
+      - OViSS-API-CLIENT
+  response: 
+    status: 
+      code: 200
+      message: OK
+    headers: 
+      Date: 
+      - Mon, 18 Feb 2013 11:04:05 GMT
+      Connection: 
+      - close
+      Transfer-Encoding: 
+      - chunked
+      Content-Type: 
+      - text/xml;charset=UTF-8
+      Set-Cookie: 
+      - JSESSIONID=9767D0629DA8E1709F719D67356F5CB1; Path=/ovisspxy; Secure
+    body: 
+      string: |
+        <?xml version="1.0" encoding="UTF-8"?>
+        <ListVSYSResponse xmlns="http://apioviss.jp.fujitsu.com">
+          <responseMessage>Processing was completed.</responseMessage>
+          <responseStatus>SUCCESS</responseStatus>
+          <vsyss>
+            <vsys>
+              <baseDescriptor>2-tier Skeleton</baseDescriptor>
+              <creator>UZXC0GRT</creator>
+              <description>2-tier Skeleton</description>
+              <vsysId>UZXC0GRT-ZG8ZJCJ07</vsysId>
+              <vsysName>Dies-DC-test</vsysName>
+            </vsys>
+          </vsyss>
+        </ListVSYSResponse>
+
+    http_version: 
+  recorded_at: Mon, 18 Feb 2013 11:04:06 GMT
+- request: 
+    method: get
+    uri: https://api.globalcloud.fujitsu.com.au/ovissapi/endpoint?AccessKeyId=QVVTIEVhc3Rlcm4gRGF5bGlnaHQgVGltZSYxMzYxMTg1NDQ2MDAwJjEuMCZT%0ASEExd2l0aFJTQQ==%0A&Action=GetVSYSConfiguration&Locale=en&Signature=vkZT5yvg+jsOaNDL2fb6y1pvQA0lhpO1NNfEC0yIG67fFynDCvaHUZ1Fofc2%0AM8gn+Ji1mevrg2MrzWQptGfGZR05B9VVUxULBcWknt1Y/rMfm+35KhYX4Fn7%0AojAXhWdx2YaKUZsszkCU+p02flpOH2nq8yZAOsHZ8hckrpKYul/yr83ShxPJ%0AdTXlSlgc5TqylO/nf8vQ9MSjUIFNZJGV54SJ4OvJ0MbzkmrbBtHTjmG72BWa%0AZY9iPHtqQ+HLaz+lljYx/eOo15QxRmji+qPO001w+xCS/Co9UhU5hBEMpikO%0Ae5nI/jebNSP6/MR24Di4DbcWVs99sl/JJotp4pGBtA==%0A&Version=2011-01-31&vsysId=UZXC0GRT-ZG8ZJCJ07
+    body: 
+      string: ""
+    headers: 
+      Accept: 
+      - text/xml
+      User-Agent: 
+      - OViSS-API-CLIENT
+  response: 
+    status: 
+      code: 200
+      message: OK
+    headers: 
+      Date: 
+      - Mon, 18 Feb 2013 11:04:06 GMT
+      Connection: 
+      - close
+      Transfer-Encoding: 
+      - chunked
+      Content-Type: 
+      - text/xml;charset=UTF-8
+      Set-Cookie: 
+      - JSESSIONID=D15CAF02A18AB179C9F770E4C42ED4E6; Path=/ovisspxy; Secure
+    body: 
+      string: |
+        <?xml version="1.0" encoding="UTF-8"?>
+        <GetVSYSConfigurationResponse xmlns="http://apioviss.jp.fujitsu.com">
+          <responseMessage>Processing was completed.</responseMessage>
+          <responseStatus>SUCCESS</responseStatus>
+          <vsys>
+            <baseDescriptor>2-tier Skeleton</baseDescriptor>
+            <cloudCategory>PUBLIC</cloudCategory>
+            <creator>UZXC0GRT</creator>
+            <description>2-tier Skeleton</description>
+            <publicips>
+              <publicip>
+                <address>137.172.209.220</address>
+                <v4v6Flag>IPv4</v4v6Flag>
+              </publicip>
+            </publicips>
+            <vdisks>
+              <vdisk>
+                <creator>UZXC0GRT</creator>
+                <size>10.0</size>
+                <vdiskId>UZXC0GRT-ZG8ZJCJ07-D-0039</vdiskId>
+                <vdiskName>DISK1</vdiskName>
+              </vdisk>
+            </vdisks>
+            <vnets>
+              <vnet>
+                <networkId>UZXC0GRT-ZG8ZJCJ07-N-DMZ</networkId>
+              </vnet>
+              <vnet>
+                <networkId>UZXC0GRT-ZG8ZJCJ07-N-SECURE1</networkId>
+              </vnet>
+            </vnets>
+            <vservers>
+              <vserver>
+                <creator>UZXC0GRT</creator>
+                <diskimageId>IMG_3c9820_C1HQIPAKLM9S</diskimageId>
+                <vdisks />
+                <vnics>
+                  <vnic>
+                    <networkId>UZXC0GRT-ZG8ZJCJ07-N-DMZ</networkId>
+                    <nicNo>4</nicNo>
+                    <privateIp>192.168.0.11</privateIp>
+                  </vnic>
+                  <vnic>
+                    <networkId>UZXC0GRT-ZG8ZJCJ07-N-SECURE1</networkId>
+                    <nicNo>5</nicNo>
+                    <privateIp>192.168.1.11</privateIp>
+                  </vnic>
+                </vnics>
+                <vserverId>UZXC0GRT-ZG8ZJCJ07-S-0001</vserverId>
+                <vserverName>Firewall</vserverName>
+                <vserverType>firewall</vserverType>
+              </vserver>
+              <vserver>
+                <creator>UZXC0GRT</creator>
+                <diskimageId>IMG_3c9820_S24FWXU0Q9VH0JK</diskimageId>
+                <vdisks />
+                <vnics>
+                  <vnic>
+                    <networkId>UZXC0GRT-ZG8ZJCJ07-N-DMZ</networkId>
+                    <nicNo>0</nicNo>
+                    <privateIp>192.168.0.12</privateIp>
+                  </vnic>
+                </vnics>
+                <vserverId>UZXC0GRT-ZG8ZJCJ07-S-0186</vserverId>
+                <vserverName>test</vserverName>
+                <vserverType>economy</vserverType>
+              </vserver>
+            </vservers>
+            <vsysId>UZXC0GRT-ZG8ZJCJ07</vsysId>
+            <vsysName>Dies-DC-test</vsysName>
+          </vsys>
+        </GetVSYSConfigurationResponse>
+
+    http_version: 
+  recorded_at: Mon, 18 Feb 2013 11:04:06 GMT
+- request: 
+    method: get
+    uri: https://api.globalcloud.fujitsu.com.au/ovissapi/endpoint?AccessKeyId=QVVTIEVhc3Rlcm4gRGF5bGlnaHQgVGltZSYxMzYxMTg1NDQ3MDAwJjEuMCZT%0ASEExd2l0aFJTQQ==%0A&Action=ListVSYS&Locale=en&Signature=PtOTqTFpcXHUrJFUcD4nHDWiciaMlxYpxJpzTEK/bblZWdcst5bjI3kGFqjD%0A9rImHQkNCvFFCU5XZtVr9hXStAqttU48NLgvZ0A0wA22y9X/+9eKt7pbrYAt%0Auojsgpb0Y2d5UtygiZH92BiqfNpqEE0moRjvChtFCUdharEchbv01JQ9ASxG%0AwoVw/UP+NPHtNLtabA2vzQqF8BQAGQL9e0YbAqoQ9XljJCXKS284bAdZ/Gzz%0AkDCPvJn7sZluqUOER5cz5AtCKTtFC8X3vMQjhom7RTi9SHpS45ZnFWTnWFu0%0AuykqddzhCvFBazAQj55kgsavtIxKp2w5b5McxnwJ4Q==%0A&Version=2011-01-31
+    body: 
+      string: ""
+    headers: 
+      Accept: 
+      - text/xml
+      User-Agent: 
+      - OViSS-API-CLIENT
+  response: 
+    status: 
+      code: 200
+      message: OK
+    headers: 
+      Date: 
+      - Mon, 18 Feb 2013 11:04:07 GMT
+      Connection: 
+      - close
+      Transfer-Encoding: 
+      - chunked
+      Content-Type: 
+      - text/xml;charset=UTF-8
+      Set-Cookie: 
+      - JSESSIONID=28699F776BA30CE6AB2F0D9820B8B682; Path=/ovisspxy; Secure
+    body: 
+      string: |
+        <?xml version="1.0" encoding="UTF-8"?>
+        <ListVSYSResponse xmlns="http://apioviss.jp.fujitsu.com">
+          <responseMessage>Processing was completed.</responseMessage>
+          <responseStatus>SUCCESS</responseStatus>
+          <vsyss>
+            <vsys>
+              <baseDescriptor>2-tier Skeleton</baseDescriptor>
+              <creator>UZXC0GRT</creator>
+              <description>2-tier Skeleton</description>
+              <vsysId>UZXC0GRT-ZG8ZJCJ07</vsysId>
+              <vsysName>Dies-DC-test</vsysName>
+            </vsys>
+          </vsyss>
+        </ListVSYSResponse>
+
+    http_version: 
+  recorded_at: Mon, 18 Feb 2013 11:04:08 GMT
+- request: 
+    method: get
+    uri: https://api.globalcloud.fujitsu.com.au/ovissapi/endpoint?AccessKeyId=QVVTIEVhc3Rlcm4gRGF5bGlnaHQgVGltZSYxMzYxMTg1NDQ4MDAwJjEuMCZT%0ASEExd2l0aFJTQQ==%0A&Action=GetVSYSConfiguration&Locale=en&Signature=Nv8vgtmdoqzDl7X6mnyzgTsHGDPcFd5rcIVHV7UkNBSIDmWAm8v2iMeREqpy%0Amwqyqjd5JsWtlgDeXTk3Ad8Q+5rXyfWJdn3iR1SfMmo21fePkllQRPFiOZib%0AHbpXYlPZORPJOb9OPeYmju0E7Ok0KCQwGgtx/FK8iQ5vfmssw2Adk9BGs2d1%0AiWEcC80xkW1/4wjL+yrFFk0kEwcceADm1fZvKx5Os8nO4iREccnzvJ1dIfVa%0AJtbLARZZo9NKqfXZvjgPcSVeG0QK5WFilV8j3G3uhZFL40LsYGerB/5+bORx%0A5yEQFHnpui5AGAXRe58BRfj83iDJwlNS6zeSLbuDRA==%0A&Version=2011-01-31&vsysId=UZXC0GRT-ZG8ZJCJ07
+    body: 
+      string: ""
+    headers: 
+      Accept: 
+      - text/xml
+      User-Agent: 
+      - OViSS-API-CLIENT
+  response: 
+    status: 
+      code: 200
+      message: OK
+    headers: 
+      Date: 
+      - Mon, 18 Feb 2013 11:04:08 GMT
+      Connection: 
+      - close
+      Transfer-Encoding: 
+      - chunked
+      Content-Type: 
+      - text/xml;charset=UTF-8
+      Set-Cookie: 
+      - JSESSIONID=A733DCC852991744FD4733BA7AC017D2; Path=/ovisspxy; Secure
+    body: 
+      string: |
+        <?xml version="1.0" encoding="UTF-8"?>
+        <GetVSYSConfigurationResponse xmlns="http://apioviss.jp.fujitsu.com">
+          <responseMessage>Processing was completed.</responseMessage>
+          <responseStatus>SUCCESS</responseStatus>
+          <vsys>
+            <baseDescriptor>2-tier Skeleton</baseDescriptor>
+            <cloudCategory>PUBLIC</cloudCategory>
+            <creator>UZXC0GRT</creator>
+            <description>2-tier Skeleton</description>
+            <publicips>
+              <publicip>
+                <address>137.172.209.220</address>
+                <v4v6Flag>IPv4</v4v6Flag>
+              </publicip>
+            </publicips>
+            <vdisks>
+              <vdisk>
+                <creator>UZXC0GRT</creator>
+                <size>10.0</size>
+                <vdiskId>UZXC0GRT-ZG8ZJCJ07-D-0039</vdiskId>
+                <vdiskName>DISK1</vdiskName>
+              </vdisk>
+            </vdisks>
+            <vnets>
+              <vnet>
+                <networkId>UZXC0GRT-ZG8ZJCJ07-N-DMZ</networkId>
+              </vnet>
+              <vnet>
+                <networkId>UZXC0GRT-ZG8ZJCJ07-N-SECURE1</networkId>
+              </vnet>
+            </vnets>
+            <vservers>
+              <vserver>
+                <creator>UZXC0GRT</creator>
+                <diskimageId>IMG_3c9820_C1HQIPAKLM9S</diskimageId>
+                <vdisks />
+                <vnics>
+                  <vnic>
+                    <networkId>UZXC0GRT-ZG8ZJCJ07-N-DMZ</networkId>
+                    <nicNo>4</nicNo>
+                    <privateIp>192.168.0.11</privateIp>
+                  </vnic>
+                  <vnic>
+                    <networkId>UZXC0GRT-ZG8ZJCJ07-N-SECURE1</networkId>
+                    <nicNo>5</nicNo>
+                    <privateIp>192.168.1.11</privateIp>
+                  </vnic>
+                </vnics>
+                <vserverId>UZXC0GRT-ZG8ZJCJ07-S-0001</vserverId>
+                <vserverName>Firewall</vserverName>
+                <vserverType>firewall</vserverType>
+              </vserver>
+              <vserver>
+                <creator>UZXC0GRT</creator>
+                <diskimageId>IMG_3c9820_S24FWXU0Q9VH0JK</diskimageId>
+                <vdisks />
+                <vnics>
+                  <vnic>
+                    <networkId>UZXC0GRT-ZG8ZJCJ07-N-DMZ</networkId>
+                    <nicNo>0</nicNo>
+                    <privateIp>192.168.0.12</privateIp>
+                  </vnic>
+                </vnics>
+                <vserverId>UZXC0GRT-ZG8ZJCJ07-S-0186</vserverId>
+                <vserverName>test</vserverName>
+                <vserverType>economy</vserverType>
+              </vserver>
+            </vservers>
+            <vsysId>UZXC0GRT-ZG8ZJCJ07</vsysId>
+            <vsysName>Dies-DC-test</vsysName>
+          </vsys>
+        </GetVSYSConfigurationResponse>
+
+    http_version: 
+  recorded_at: Mon, 18 Feb 2013 11:04:09 GMT
+- request: 
+    method: get
+    uri: https://api.globalcloud.fujitsu.com.au/ovissapi/endpoint?AccessKeyId=QVVTIEVhc3Rlcm4gRGF5bGlnaHQgVGltZSYxMzYxMTg2MTk1MDAwJjEuMCZT%0ASEExd2l0aFJTQQ==%0A&Action=ListVSYS&Locale=en&Signature=DPAzeGt2/zc7Cp99pnnShBknZyKB5KYs42DAqMpPHeAjr4EfLVbufOJfqe2v%0AsBq3v4ONKtOOClCV3sVlVPDE91fbF4YmG2GPO+4Fap90gp7+N6jUZsZamFep%0AGP2h39sAjoOYHzkhfVfMFTr3jwxGZMRE3aTIxR+gctv/+cmGAslm6OzNEeFJ%0A+GOOllP1XN+51APVIhujomKhtoZ8iGudovImLsT3FNXisyIz39W5hapk/JX+%0AFVAttKSy+k/aj4HkGiCvPNjNl+a1PHNpPKkLZrT+pknCBKSsxixg1yGw8Z6p%0AApCA0Cr/PHLPL4AZLVlBva/ROR5vFd1a2H8HRoezlg==%0A&Version=2011-01-31
+    body: 
+      string: ""
+    headers: 
+      Accept: 
+      - text/xml
+      User-Agent: 
+      - OViSS-API-CLIENT
+  response: 
+    status: 
+      code: 200
+      message: OK
+    headers: 
+      Date: 
+      - Mon, 18 Feb 2013 11:16:36 GMT
+      Connection: 
+      - close
+      Content-Type: 
+      - text/xml;charset=UTF-8
+      Transfer-Encoding: 
+      - chunked
+      Set-Cookie: 
+      - JSESSIONID=95EEF056ECEFFDF6AD0F2F71D2808C03; Path=/ovisspxy; Secure
+    body: 
+      string: |
+        <?xml version="1.0" encoding="UTF-8"?>
+        <ListVSYSResponse xmlns="http://apioviss.jp.fujitsu.com">
+          <responseMessage>Processing was completed.</responseMessage>
+          <responseStatus>SUCCESS</responseStatus>
+          <vsyss>
+            <vsys>
+              <baseDescriptor>2-tier Skeleton</baseDescriptor>
+              <creator>UZXC0GRT</creator>
+              <description>2-tier Skeleton</description>
+              <vsysId>UZXC0GRT-ZG8ZJCJ07</vsysId>
+              <vsysName>Dies-DC-test</vsysName>
+            </vsys>
+          </vsyss>
+        </ListVSYSResponse>
+        
+
+    http_version: 
+  recorded_at: Mon, 18 Feb 2013 11:16:36 GMT
+- request: 
+    method: get
+    uri: https://api.globalcloud.fujitsu.com.au/ovissapi/endpoint?AccessKeyId=QVVTIEVhc3Rlcm4gRGF5bGlnaHQgVGltZSYxMzYxMTg2MTk2MDAwJjEuMCZT%0ASEExd2l0aFJTQQ==%0A&Action=GetVSYSConfiguration&Locale=en&Signature=dvNdiM9QAC2eDJ0Q9IcStdkvJtBuImFy/GEyeOaio6M9ehGgiT+crf+tbag8%0A0AajdTL+EOoEfuWrDx5QpUTdcpGtTNRvRuRvqAtWLVeDn4cPQ24dCw3lrdDH%0AkBfZ7e1vLr5O5w7bS2IAH0kkSm6tzKCu9rsYfKd7AUn8dOYZE0q+EvqhWgrR%0AJaL0AHPotYbvOpQrlm3HVJo/tYawzudym7ADn4aBVaTVP+Kvj+LTNwdDhd9h%0ACr7TIfm/ttXuA6R2diM4ppVjjvoHy0NPLFsq38hG0gaMVK+nkqpESpoL9QkD%0Ay2tINUCOr5Bc5c2z/LLR22yYNbCFFGMeC48n2/BMIg==%0A&Version=2011-01-31&vsysId=UZXC0GRT-ZG8ZJCJ07
+    body: 
+      string: ""
+    headers: 
+      Accept: 
+      - text/xml
+      User-Agent: 
+      - OViSS-API-CLIENT
+  response: 
+    status: 
+      code: 200
+      message: OK
+    headers: 
+      Date: 
+      - Mon, 18 Feb 2013 11:16:36 GMT
+      Connection: 
+      - close
+      Content-Type: 
+      - text/xml;charset=UTF-8
+      Transfer-Encoding: 
+      - chunked
+      Set-Cookie: 
+      - JSESSIONID=977B018054BECF081961096A9429DE2E; Path=/ovisspxy; Secure
+    body: 
+      string: |
+        <?xml version="1.0" encoding="UTF-8"?>
+        <GetVSYSConfigurationResponse xmlns="http://apioviss.jp.fujitsu.com">
+          <responseMessage>Processing was completed.</responseMessage>
+          <responseStatus>SUCCESS</responseStatus>
+          <vsys>
+            <baseDescriptor>2-tier Skeleton</baseDescriptor>
+            <cloudCategory>PUBLIC</cloudCategory>
+            <creator>UZXC0GRT</creator>
+            <description>2-tier Skeleton</description>
+            <publicips>
+              <publicip>
+                <address>137.172.209.220</address>
+                <v4v6Flag>IPv4</v4v6Flag>
+              </publicip>
+            </publicips>
+            <vdisks>
+              <vdisk>
+                <creator>UZXC0GRT</creator>
+                <size>10.0</size>
+                <vdiskId>UZXC0GRT-ZG8ZJCJ07-D-0039</vdiskId>
+                <vdiskName>DISK1</vdiskName>
+              </vdisk>
+            </vdisks>
+            <vnets>
+              <vnet>
+                <networkId>UZXC0GRT-ZG8ZJCJ07-N-DMZ</networkId>
+              </vnet>
+              <vnet>
+                <networkId>UZXC0GRT-ZG8ZJCJ07-N-SECURE1</networkId>
+              </vnet>
+            </vnets>
+            <vservers>
+              <vserver>
+                <creator>UZXC0GRT</creator>
+                <diskimageId>IMG_3c9820_C1HQIPAKLM9S</diskimageId>
+                <vdisks />
+                <vnics>
+                  <vnic>
+                    <networkId>UZXC0GRT-ZG8ZJCJ07-N-DMZ</networkId>
+                    <nicNo>4</nicNo>
+                    <privateIp>192.168.0.11</privateIp>
+                  </vnic>
+                  <vnic>
+                    <networkId>UZXC0GRT-ZG8ZJCJ07-N-SECURE1</networkId>
+                    <nicNo>5</nicNo>
+                    <privateIp>192.168.1.11</privateIp>
+                  </vnic>
+                </vnics>
+                <vserverId>UZXC0GRT-ZG8ZJCJ07-S-0001</vserverId>
+                <vserverName>Firewall</vserverName>
+                <vserverType>firewall</vserverType>
+              </vserver>
+              <vserver>
+                <creator>UZXC0GRT</creator>
+                <diskimageId>IMG_3c9820_S24FWXU0Q9VH0JK</diskimageId>
+                <vdisks />
+                <vnics>
+                  <vnic>
+                    <networkId>UZXC0GRT-ZG8ZJCJ07-N-DMZ</networkId>
+                    <nicNo>0</nicNo>
+                    <privateIp>192.168.0.12</privateIp>
+                  </vnic>
+                </vnics>
+                <vserverId>UZXC0GRT-ZG8ZJCJ07-S-0186</vserverId>
+                <vserverName>test</vserverName>
+                <vserverType>economy</vserverType>
+              </vserver>
+            </vservers>
+            <vsysId>UZXC0GRT-ZG8ZJCJ07</vsysId>
+            <vsysName>Dies-DC-test</vsysName>
+          </vsys>
+        </GetVSYSConfigurationResponse>
+        
+
+    http_version: 
+  recorded_at: Mon, 18 Feb 2013 11:16:36 GMT

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/2a9e21a0/server/tests/drivers/fgcp/fixtures/test_0003_must_allow_to_filter_hardware_profiles.yml
----------------------------------------------------------------------
diff --git a/server/tests/drivers/fgcp/fixtures/test_0003_must_allow_to_filter_hardware_profiles.yml b/server/tests/drivers/fgcp/fixtures/test_0003_must_allow_to_filter_hardware_profiles.yml
new file mode 100644
index 0000000..af76736
--- /dev/null
+++ b/server/tests/drivers/fgcp/fixtures/test_0003_must_allow_to_filter_hardware_profiles.yml
@@ -0,0 +1,249 @@
+--- 
+http_interactions: 
+- request: 
+    method: get
+    uri: https://api.globalcloud.fujitsu.com.au/ovissapi/endpoint?AccessKeyId=QVVTIEVhc3Rlcm4gRGF5bGlnaHQgVGltZSYxMzYxMTg4ODQwMDAwJjEuMCZT%0ASEExd2l0aFJTQQ==%0A&Action=ListServerType&Locale=en&Signature=DoDRZcwZCbhHA1iD8LcmrgoVi3f+geC4lrBkUUfHBGiJhPuOs98I3Pcl8Ese%0A7EHxjGuFxErDH5HbyqGem0Af0jxK1OBwbTeOROt+3/z5uxRC8NsL1NZ4BV0W%0AAYH0tyPRyU4Ophe5kAP+j/8cTs7ucb9PasJb9/ywbKUBDGjhlfXeQAbgxwqt%0AckPRy3dJT44qxGu2B/thN7WyMijw1hAe2+H/mYQ4swY8RzpfNPIEaeEL2mwU%0AGU7ZvW9Cp89/IEPb03kZ8wOEduB9QLFDw1JfqlPrKqKJ7qd31/dMsbZvWA5s%0ArK7r09knYYgLy7pCBco3O8apB1/Zl7ROLETJVa3uRg==%0A&Version=2011-01-31&diskImageId=dummy
+    body: 
+      string: ""
+    headers: 
+      Accept: 
+      - text/xml
+      User-Agent: 
+      - OViSS-API-CLIENT
+  response: 
+    status: 
+      code: 200
+      message: OK
+    headers: 
+      Connection: 
+      - close
+      Date: 
+      - Mon, 18 Feb 2013 12:00:41 GMT
+      Transfer-Encoding: 
+      - chunked
+      Content-Type: 
+      - text/xml;charset=UTF-8
+      Set-Cookie: 
+      - JSESSIONID=2EC39CEEB8C3444BE3F133CE41BDFC8B; Path=/ovisspxy; Secure
+    body: 
+      string: |
+        <?xml version="1.0" encoding="UTF-8"?>
+        <ListServerTypeResponse xmlns="http://apioviss.jp.fujitsu.com">
+          <responseMessage>Processing was completed.</responseMessage>
+          <responseStatus>SUCCESS</responseStatus>
+          <servertypes>
+            <servertype>
+              <chargeType>amount</chargeType>
+              <cpu>
+                <cpuArch>IA</cpuArch>
+                <cpuPerf>4.0</cpuPerf>
+                <numOfCpu>1</numOfCpu>
+              </cpu>
+              <expectedUsage>744</expectedUsage>
+              <id>islanda-cbrm_144</id>
+              <memory>
+                <memorySize>7.5</memorySize>
+              </memory>
+              <name>advanced</name>
+              <price>0.4949</price>
+              <productId>AUS-VM-0001-0003</productId>
+              <productName>Advanced VM</productName>
+            </servertype>
+            <servertype>
+              <chargeType>amount</chargeType>
+              <cpu>
+                <cpuArch>IA</cpuArch>
+                <cpuPerf>1.0</cpuPerf>
+                <numOfCpu>1</numOfCpu>
+              </cpu>
+              <expectedUsage>744</expectedUsage>
+              <id>islanda-cbrm_140</id>
+              <memory>
+                <memorySize>1.7</memorySize>
+              </memory>
+              <name>economy</name>
+              <price>0.1237</price>
+              <productId>AUS-VM-0001-0001</productId>
+              <productName>Economy VM</productName>
+            </servertype>
+            <servertype>
+              <chargeType>amount</chargeType>
+              <cpu>
+                <cpuArch>IA</cpuArch>
+                <cpuPerf>4.0</cpuPerf>
+                <numOfCpu>2</numOfCpu>
+              </cpu>
+              <expectedUsage>744</expectedUsage>
+              <id>islanda-cbrm_146</id>
+              <memory>
+                <memorySize>15.0</memorySize>
+              </memory>
+              <name>high_performance</name>
+              <price>0.9898</price>
+              <productId>AUS-VM-0001-0004</productId>
+              <productName>High-Performance VM</productName>
+            </servertype>
+            <servertype>
+              <chargeType>amount</chargeType>
+              <cpu>
+                <cpuArch>IA</cpuArch>
+                <cpuPerf>2.0</cpuPerf>
+                <numOfCpu>1</numOfCpu>
+              </cpu>
+              <expectedUsage>744</expectedUsage>
+              <id>islanda-cbrm_142</id>
+              <memory>
+                <memorySize>3.4</memorySize>
+              </memory>
+              <name>standard</name>
+              <price>0.2474</price>
+              <productId>AUS-VM-0001-0002</productId>
+              <productName>Standard VM</productName>
+            </servertype>
+            <servertype>
+              <chargeType>amount</chargeType>
+              <cpu>
+                <cpuArch>IA</cpuArch>
+                <cpuPerf>4.0</cpuPerf>
+                <numOfCpu>4</numOfCpu>
+              </cpu>
+              <expectedUsage>744</expectedUsage>
+              <id>islanda-cbrm_146337</id>
+              <memory>
+                <memorySize>30.0</memorySize>
+              </memory>
+              <name>w_high</name>
+              <price>1.9796</price>
+              <productId>AUS-VM-0001-0011</productId>
+              <productName>Double-High Performance VM</productName>
+            </servertype>
+          </servertypes>
+        </ListServerTypeResponse>
+        
+
+    http_version: 
+  recorded_at: Mon, 18 Feb 2013 12:00:41 GMT
+- request: 
+    method: get
+    uri: https://api.globalcloud.fujitsu.com.au/ovissapi/endpoint?AccessKeyId=QVVTIEVhc3Rlcm4gRGF5bGlnaHQgVGltZSYxMzYxMTg4ODQxMDAwJjEuMCZT%0ASEExd2l0aFJTQQ==%0A&Action=ListServerType&Locale=en&Signature=vIHtuJiLPNNzsJyUm26rqkj0WmjQVfX15flPW105EPUbMZ+jMMnnJmlMC/f3%0A8JB+oMt9XTWuejGr0zFlPCLWVHX8cox5xXl6eCQk/22pwaiZcaPy3rd+k2K9%0ALdj5wUR+i/AyM11J0dZLnvGgvdxfukF49KT9ESV5Ylh+JgsbowmSEkC6z1mE%0APpKCZD/PaSN4LGe9xgfInX5WDF6gas8t7t0e8IcL6Bxouct93zOuUCVebXlj%0AZNvIQk0Jh1iohXuilX8+x1n4mCTOjVnjQeSZqjsPtjeQR45+IEbrcYnog+Kx%0AqxjppO+eZVVp8jz8zQxeuCcDYtgFpafRENnvQoLTZA==%0A&Version=2011-01-31&diskImageId=dummy
+    body: 
+      string: ""
+    headers: 
+      Accept: 
+      - text/xml
+      User-Agent: 
+      - OViSS-API-CLIENT
+  response: 
+    status: 
+      code: 200
+      message: OK
+    headers: 
+      Connection: 
+      - close
+      Date: 
+      - Mon, 18 Feb 2013 12:00:42 GMT
+      Transfer-Encoding: 
+      - chunked
+      Content-Type: 
+      - text/xml;charset=UTF-8
+      Set-Cookie: 
+      - JSESSIONID=24F8958668F25AC207AE9F2F93D6B564; Path=/ovisspxy; Secure
+    body: 
+      string: |
+        <?xml version="1.0" encoding="UTF-8"?>
+        <ListServerTypeResponse xmlns="http://apioviss.jp.fujitsu.com">
+          <responseMessage>Processing was completed.</responseMessage>
+          <responseStatus>SUCCESS</responseStatus>
+          <servertypes>
+            <servertype>
+              <chargeType>amount</chargeType>
+              <cpu>
+                <cpuArch>IA</cpuArch>
+                <cpuPerf>4.0</cpuPerf>
+                <numOfCpu>1</numOfCpu>
+              </cpu>
+              <expectedUsage>744</expectedUsage>
+              <id>islanda-cbrm_144</id>
+              <memory>
+                <memorySize>7.5</memorySize>
+              </memory>
+              <name>advanced</name>
+              <price>0.4949</price>
+              <productId>AUS-VM-0001-0003</productId>
+              <productName>Advanced VM</productName>
+            </servertype>
+            <servertype>
+              <chargeType>amount</chargeType>
+              <cpu>
+                <cpuArch>IA</cpuArch>
+                <cpuPerf>1.0</cpuPerf>
+                <numOfCpu>1</numOfCpu>
+              </cpu>
+              <expectedUsage>744</expectedUsage>
+              <id>islanda-cbrm_140</id>
+              <memory>
+                <memorySize>1.7</memorySize>
+              </memory>
+              <name>economy</name>
+              <price>0.1237</price>
+              <productId>AUS-VM-0001-0001</productId>
+              <productName>Economy VM</productName>
+            </servertype>
+            <servertype>
+              <chargeType>amount</chargeType>
+              <cpu>
+                <cpuArch>IA</cpuArch>
+                <cpuPerf>4.0</cpuPerf>
+                <numOfCpu>2</numOfCpu>
+              </cpu>
+              <expectedUsage>744</expectedUsage>
+              <id>islanda-cbrm_146</id>
+              <memory>
+                <memorySize>15.0</memorySize>
+              </memory>
+              <name>high_performance</name>
+              <price>0.9898</price>
+              <productId>AUS-VM-0001-0004</productId>
+              <productName>High-Performance VM</productName>
+            </servertype>
+            <servertype>
+              <chargeType>amount</chargeType>
+              <cpu>
+                <cpuArch>IA</cpuArch>
+                <cpuPerf>2.0</cpuPerf>
+                <numOfCpu>1</numOfCpu>
+              </cpu>
+              <expectedUsage>744</expectedUsage>
+              <id>islanda-cbrm_142</id>
+              <memory>
+                <memorySize>3.4</memorySize>
+              </memory>
+              <name>standard</name>
+              <price>0.2474</price>
+              <productId>AUS-VM-0001-0002</productId>
+              <productName>Standard VM</productName>
+            </servertype>
+            <servertype>
+              <chargeType>amount</chargeType>
+              <cpu>
+                <cpuArch>IA</cpuArch>
+                <cpuPerf>4.0</cpuPerf>
+                <numOfCpu>4</numOfCpu>
+              </cpu>
+              <expectedUsage>744</expectedUsage>
+              <id>islanda-cbrm_146337</id>
+              <memory>
+                <memorySize>30.0</memorySize>
+              </memory>
+              <name>w_high</name>
+              <price>1.9796</price>
+              <productId>AUS-VM-0001-0011</productId>
+              <productName>Double-High Performance VM</productName>
+            </servertype>
+          </servertypes>
+        </ListServerTypeResponse>
+        
+
+    http_version: 
+  recorded_at: Mon, 18 Feb 2013 12:00:42 GMT
+recorded_with: VCR 2.4.0

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/2a9e21a0/server/tests/drivers/fgcp/fixtures/test_0003_must_allow_to_filter_images.yml
----------------------------------------------------------------------
diff --git a/server/tests/drivers/fgcp/fixtures/test_0003_must_allow_to_filter_images.yml b/server/tests/drivers/fgcp/fixtures/test_0003_must_allow_to_filter_images.yml
new file mode 100644
index 0000000..931a426
--- /dev/null
+++ b/server/tests/drivers/fgcp/fixtures/test_0003_must_allow_to_filter_images.yml
@@ -0,0 +1,679 @@
+--- 
+http_interactions: 
+- request: 
+    method: get
+    uri: https://api.globalcloud.fujitsu.com.au/ovissapi/endpoint?AccessKeyId=QVVTIEVhc3Rlcm4gRGF5bGlnaHQgVGltZSYxMzYxMTg4ODQ5MDAwJjEuMCZT%0ASEExd2l0aFJTQQ==%0A&Action=ListDiskImage&Locale=en&Signature=LAPxOyA0e+SIDOGuSOVui2J681QfR4MbZxCG6Z9FQD1THFwa1WSmPNY7eDjf%0A88s1VArPv6Z9zxIBl4ukBgqWODyG8HYAzoJRMsXfX3Ogw/VSvC1quWNM7Ru+%0A49ODjDYLE7wBw8OU7SCBvkBae2/bK2b+MpOJLwdBpTeSq4xzNFujitPrE/vi%0AO6jTqCB1Em93ysSvSz8SFumVAayHQf+afstCdMbsc6I/N1z5IUOEjs2d0fRq%0AugVoczDBdj7D/gbDPKT2ueMEYbO9MR6dx9fra/XZR+uKZESGVGS07dMnvcj8%0Apu4I/EGZDKkWeaPjBzddSHOe280yqAFuH//TXFnVkA==%0A&Version=2011-01-31
+    body: 
+      string: ""
+    headers: 
+      Accept: 
+      - text/xml
+      User-Agent: 
+      - OViSS-API-CLIENT
+  response: 
+    status: 
+      code: 200
+      message: OK
+    headers: 
+      Connection: 
+      - close
+      Date: 
+      - Mon, 18 Feb 2013 12:00:50 GMT
+      Transfer-Encoding: 
+      - chunked
+      Content-Type: 
+      - text/xml;charset=UTF-8
+      Set-Cookie: 
+      - JSESSIONID=E949EAC040EA29A32E95787350094A59; Path=/ovisspxy; Secure
+    body: 
+      string: |
+        <?xml version="1.0" encoding="UTF-8"?>
+        <ListDiskImageResponse xmlns="http://apioviss.jp.fujitsu.com">
+          <diskimages>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG0001_RHEL5_8EN64_v1_24x7SPT</diskimageId>
+              <diskimageName>RHEL5.8 64bit(EN) wSPT</diskimageName>
+              <licenseInfo>Included</licenseInfo>
+              <osName>Red Hat Enterprise Linux 5.8 64bit</osName>
+              <osType>hvm</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>40.0</size>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG0002_RHEL5_8EN64_v1_NoSPT</diskimageId>
+              <diskimageName>RHEL5.8 64bit(EN)</diskimageName>
+              <licenseInfo>Included</licenseInfo>
+              <osName>Red Hat Enterprise Linux 5.8 64bit</osName>
+              <osType>hvm</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>40.0</size>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG0003_RHEL6_3EN64_v1_24x7SPT</diskimageId>
+              <diskimageName>RHEL6.3 64bit(EN) wSPT</diskimageName>
+              <licenseInfo>Included</licenseInfo>
+              <osName>Red Hat Enterprise Linux 6.3 64bit</osName>
+              <osType>hvm</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>40.0</size>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG0004_RHEL6_3EN64_v1_NoSPT</diskimageId>
+              <diskimageName>RHEL6.3 64bit(EN)</diskimageName>
+              <licenseInfo>Included</licenseInfo>
+              <osName>Red Hat Enterprise Linux 6.3 64bit</osName>
+              <osType>hvm</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>40.0</size>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG_3c9820_21VKHA77OO</diskimageId>
+              <diskimageName>CentOS 5.6 32bit(EN)</diskimageName>
+              <licenseInfo />
+              <osName>CentOS 5.6 32bit (English)</osName>
+              <osType>pv</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>10.0</size>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG_3c9820_D30U8UNY6I9S</diskimageId>
+              <diskimageName>CentOS 6.2 32bit(EN)</diskimageName>
+              <licenseInfo />
+              <osName>CentOS 6.2 32bit (English)</osName>
+              <osType>pv</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>10.0</size>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG_3c9820_D30Y0LNN4WE8</diskimageId>
+              <diskimageName>W2k8R2EESP1(EN)</diskimageName>
+              <licenseInfo>Included</licenseInfo>
+              <osName>Windows Server 2008 R2 EE 64bit SP1 (English)</osName>
+              <osType>hvm</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>40.0</size>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG_3c9820_FBV3QFG44MPS</diskimageId>
+              <diskimageName>CentOS 5.6 64bit(EN)</diskimageName>
+              <licenseInfo />
+              <osName>CentOS 5.6 64bit (English)</osName>
+              <osType>pv</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>10.0</size>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG_3c9820_J55YW6UE101DS</diskimageId>
+              <diskimageName>CentOS 5.4 32bit(EN)</diskimageName>
+              <licenseInfo />
+              <osName>CentOS 5.4 32bit (English)</osName>
+              <osType>pv</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>10.0</size>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG_3c9820_J56Y5PS4FJO5C</diskimageId>
+              <diskimageName>W2k8R2SE/SQL2k8R2(EN)</diskimageName>
+              <licenseInfo>Included</licenseInfo>
+              <osName>Windows Server 2008 R2 SE 64bit (English)</osName>
+              <osType>hvm</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>40.0</size>
+              <softwares>
+                <software>
+                  <license>Included</license>
+                  <name>SQLServer 2008 R2 SE (English)</name>
+                </software>
+              </softwares>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG_3c9820_LKNVW2TH31A0W</diskimageId>
+              <diskimageName>CentOS 5.4 64bit(EN)</diskimageName>
+              <licenseInfo />
+              <osName>CentOS 5.4 64bit (English)</osName>
+              <osType>pv</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>10.0</size>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG_3c9820_LLIPQ3UJ43RWG</diskimageId>
+              <diskimageName>W2k8R2SESP1(EN)</diskimageName>
+              <licenseInfo>Included</licenseInfo>
+              <osName>Windows Server 2008 R2 SE 64bit SP1 (English)</osName>
+              <osType>hvm</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>40.0</size>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG_3c9820_QIEWLLNIF7IF40</diskimageId>
+              <diskimageName>W2k8R2SE/IIS(EN)</diskimageName>
+              <licenseInfo>Included</licenseInfo>
+              <osName>Windows Server 2008 R2 SE 64bit (English)</osName>
+              <osType>hvm</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>40.0</size>
+              <softwares>
+                <software>
+                  <license />
+                  <name>Internet Information Server 7.5</name>
+                </software>
+              </softwares>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG_3c9820_S24FWXU0Q9VH0JK</diskimageId>
+              <diskimageName>CentOS 6.2 64bit(EN)</diskimageName>
+              <licenseInfo />
+              <osName>CentOS 6.2 64bit (English)</osName>
+              <osType>pv</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>10.0</size>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG_3c9820_X1W13YQIDAYQ2SQO</diskimageId>
+              <diskimageName>RHEL5.7 64bit wSPT</diskimageName>
+              <licenseInfo>Included</licenseInfo>
+              <osName>Red Hat Enterprise Linux 5.7 64bit (English) with Support</osName>
+              <osType>hvm</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>40.0</size>
+            </diskimage>
+          </diskimages>
+          <responseMessage>Processing was completed.</responseMessage>
+          <responseStatus>SUCCESS</responseStatus>
+        </ListDiskImageResponse>
+        
+
+    http_version: 
+  recorded_at: Mon, 18 Feb 2013 12:00:52 GMT
+- request: 
+    method: get
+    uri: https://api.globalcloud.fujitsu.com.au/ovissapi/endpoint?AccessKeyId=QVVTIEVhc3Rlcm4gRGF5bGlnaHQgVGltZSYxMzYxMTg4ODUyMDAwJjEuMCZT%0ASEExd2l0aFJTQQ==%0A&Action=ListServerType&Locale=en&Signature=CjP3Ig6myE2FEbMo2aflX1Juw9MqHLKguWz1DwRUhTRt8mWBSwEzp9l2rS4P%0Ag9Gc1sTTcEnOmA0zNw3YMKayzKRLJpCdleMyTaGVRabFIfvO7ZfW9A3TDcOE%0Afx5ysg1CiQpNMP9OxQRL+VVyXlmuOmBXxNrlCygJciZaBgx/WpZw85yxbSUy%0A7xXQNSn9YY2F0Yxur+41ygepXpxOXcJ6qPsy3WneFsHI5IkYXird6raJtjL1%0AmG34biV/onWdkPcBkjkO7m0MPBTZhVpGdyzNo5zXHhu5nyOIwMT+p8kTbKFB%0A4LvTV/rCqayGos+G2YtEEw1XsH18z3qFWedEfU/Uag==%0A&Version=2011-01-31&diskImageId=dummy
+    body: 
+      string: ""
+    headers: 
+      Accept: 
+      - text/xml
+      User-Agent: 
+      - OViSS-API-CLIENT
+  response: 
+    status: 
+      code: 200
+      message: OK
+    headers: 
+      Connection: 
+      - close
+      Date: 
+      - Mon, 18 Feb 2013 12:00:53 GMT
+      Transfer-Encoding: 
+      - chunked
+      Content-Type: 
+      - text/xml;charset=UTF-8
+      Set-Cookie: 
+      - JSESSIONID=B94B060CDEEE866693F92895CE34C1DC; Path=/ovisspxy; Secure
+    body: 
+      string: |
+        <?xml version="1.0" encoding="UTF-8"?>
+        <ListServerTypeResponse xmlns="http://apioviss.jp.fujitsu.com">
+          <responseMessage>Processing was completed.</responseMessage>
+          <responseStatus>SUCCESS</responseStatus>
+          <servertypes>
+            <servertype>
+              <chargeType>amount</chargeType>
+              <cpu>
+                <cpuArch>IA</cpuArch>
+                <cpuPerf>4.0</cpuPerf>
+                <numOfCpu>1</numOfCpu>
+              </cpu>
+              <expectedUsage>744</expectedUsage>
+              <id>islanda-cbrm_144</id>
+              <memory>
+                <memorySize>7.5</memorySize>
+              </memory>
+              <name>advanced</name>
+              <price>0.4949</price>
+              <productId>AUS-VM-0001-0003</productId>
+              <productName>Advanced VM</productName>
+            </servertype>
+            <servertype>
+              <chargeType>amount</chargeType>
+              <cpu>
+                <cpuArch>IA</cpuArch>
+                <cpuPerf>1.0</cpuPerf>
+                <numOfCpu>1</numOfCpu>
+              </cpu>
+              <expectedUsage>744</expectedUsage>
+              <id>islanda-cbrm_140</id>
+              <memory>
+                <memorySize>1.7</memorySize>
+              </memory>
+              <name>economy</name>
+              <price>0.1237</price>
+              <productId>AUS-VM-0001-0001</productId>
+              <productName>Economy VM</productName>
+            </servertype>
+            <servertype>
+              <chargeType>amount</chargeType>
+              <cpu>
+                <cpuArch>IA</cpuArch>
+                <cpuPerf>4.0</cpuPerf>
+                <numOfCpu>2</numOfCpu>
+              </cpu>
+              <expectedUsage>744</expectedUsage>
+              <id>islanda-cbrm_146</id>
+              <memory>
+                <memorySize>15.0</memorySize>
+              </memory>
+              <name>high_performance</name>
+              <price>0.9898</price>
+              <productId>AUS-VM-0001-0004</productId>
+              <productName>High-Performance VM</productName>
+            </servertype>
+            <servertype>
+              <chargeType>amount</chargeType>
+              <cpu>
+                <cpuArch>IA</cpuArch>
+                <cpuPerf>2.0</cpuPerf>
+                <numOfCpu>1</numOfCpu>
+              </cpu>
+              <expectedUsage>744</expectedUsage>
+              <id>islanda-cbrm_142</id>
+              <memory>
+                <memorySize>3.4</memorySize>
+              </memory>
+              <name>standard</name>
+              <price>0.2474</price>
+              <productId>AUS-VM-0001-0002</productId>
+              <productName>Standard VM</productName>
+            </servertype>
+            <servertype>
+              <chargeType>amount</chargeType>
+              <cpu>
+                <cpuArch>IA</cpuArch>
+                <cpuPerf>4.0</cpuPerf>
+                <numOfCpu>4</numOfCpu>
+              </cpu>
+              <expectedUsage>744</expectedUsage>
+              <id>islanda-cbrm_146337</id>
+              <memory>
+                <memorySize>30.0</memorySize>
+              </memory>
+              <name>w_high</name>
+              <price>1.9796</price>
+              <productId>AUS-VM-0001-0011</productId>
+              <productName>Double-High Performance VM</productName>
+            </servertype>
+          </servertypes>
+        </ListServerTypeResponse>
+        
+
+    http_version: 
+  recorded_at: Mon, 18 Feb 2013 12:00:53 GMT
+- request: 
+    method: get
+    uri: https://api.globalcloud.fujitsu.com.au/ovissapi/endpoint?AccessKeyId=QVVTIEVhc3Rlcm4gRGF5bGlnaHQgVGltZSYxMzYxMTg4ODUzMDAwJjEuMCZT%0ASEExd2l0aFJTQQ==%0A&Action=ListDiskImage&Locale=en&Signature=D7lj2PWlkj/Krw9rHqxIN6mptFe/BetNUpMdDR/H2HDE8uZaKMKB2VOQxUoB%0AMRJS96UtxaAUydUZ5CEE3lihWq+0or6q66KLyJiS0DEvdEBcV+BIrAqm5ldw%0A0Japm0L4BgoYi22UYQw6K4xQl8luHbeZaP4bEwO2mDvsnmbSy3kOi74wtyP6%0AW63WhNO5CMf/00utPSR1az/+soshDucRDZgZGXfpF0uO54ryk7wxaC9xoEhV%0A/lpetLPaw5z7JtJz0YFOkKNCaEEi+u8a+sGenm9cbLICNTOoZgKi2YtQKIPN%0AvlCKuJTShYWBv/osOce0X6l44ZWkAqUtHqD04WsIxw==%0A&Version=2011-01-31
+    body: 
+      string: ""
+    headers: 
+      Accept: 
+      - text/xml
+      User-Agent: 
+      - OViSS-API-CLIENT
+  response: 
+    status: 
+      code: 200
+      message: OK
+    headers: 
+      Connection: 
+      - close
+      Date: 
+      - Mon, 18 Feb 2013 12:00:54 GMT
+      Transfer-Encoding: 
+      - chunked
+      Content-Type: 
+      - text/xml;charset=UTF-8
+      Set-Cookie: 
+      - JSESSIONID=A5B6CA396405C93173D703CF314184B7; Path=/ovisspxy; Secure
+    body: 
+      string: |
+        <?xml version="1.0" encoding="UTF-8"?>
+        <ListDiskImageResponse xmlns="http://apioviss.jp.fujitsu.com">
+          <diskimages>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG0001_RHEL5_8EN64_v1_24x7SPT</diskimageId>
+              <diskimageName>RHEL5.8 64bit(EN) wSPT</diskimageName>
+              <licenseInfo>Included</licenseInfo>
+              <osName>Red Hat Enterprise Linux 5.8 64bit</osName>
+              <osType>hvm</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>40.0</size>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG0002_RHEL5_8EN64_v1_NoSPT</diskimageId>
+              <diskimageName>RHEL5.8 64bit(EN)</diskimageName>
+              <licenseInfo>Included</licenseInfo>
+              <osName>Red Hat Enterprise Linux 5.8 64bit</osName>
+              <osType>hvm</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>40.0</size>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG0003_RHEL6_3EN64_v1_24x7SPT</diskimageId>
+              <diskimageName>RHEL6.3 64bit(EN) wSPT</diskimageName>
+              <licenseInfo>Included</licenseInfo>
+              <osName>Red Hat Enterprise Linux 6.3 64bit</osName>
+              <osType>hvm</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>40.0</size>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG0004_RHEL6_3EN64_v1_NoSPT</diskimageId>
+              <diskimageName>RHEL6.3 64bit(EN)</diskimageName>
+              <licenseInfo>Included</licenseInfo>
+              <osName>Red Hat Enterprise Linux 6.3 64bit</osName>
+              <osType>hvm</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>40.0</size>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG_3c9820_21VKHA77OO</diskimageId>
+              <diskimageName>CentOS 5.6 32bit(EN)</diskimageName>
+              <licenseInfo />
+              <osName>CentOS 5.6 32bit (English)</osName>
+              <osType>pv</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>10.0</size>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG_3c9820_D30U8UNY6I9S</diskimageId>
+              <diskimageName>CentOS 6.2 32bit(EN)</diskimageName>
+              <licenseInfo />
+              <osName>CentOS 6.2 32bit (English)</osName>
+              <osType>pv</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>10.0</size>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG_3c9820_D30Y0LNN4WE8</diskimageId>
+              <diskimageName>W2k8R2EESP1(EN)</diskimageName>
+              <licenseInfo>Included</licenseInfo>
+              <osName>Windows Server 2008 R2 EE 64bit SP1 (English)</osName>
+              <osType>hvm</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>40.0</size>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG_3c9820_FBV3QFG44MPS</diskimageId>
+              <diskimageName>CentOS 5.6 64bit(EN)</diskimageName>
+              <licenseInfo />
+              <osName>CentOS 5.6 64bit (English)</osName>
+              <osType>pv</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>10.0</size>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG_3c9820_J55YW6UE101DS</diskimageId>
+              <diskimageName>CentOS 5.4 32bit(EN)</diskimageName>
+              <licenseInfo />
+              <osName>CentOS 5.4 32bit (English)</osName>
+              <osType>pv</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>10.0</size>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG_3c9820_J56Y5PS4FJO5C</diskimageId>
+              <diskimageName>W2k8R2SE/SQL2k8R2(EN)</diskimageName>
+              <licenseInfo>Included</licenseInfo>
+              <osName>Windows Server 2008 R2 SE 64bit (English)</osName>
+              <osType>hvm</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>40.0</size>
+              <softwares>
+                <software>
+                  <license>Included</license>
+                  <name>SQLServer 2008 R2 SE (English)</name>
+                </software>
+              </softwares>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG_3c9820_LKNVW2TH31A0W</diskimageId>
+              <diskimageName>CentOS 5.4 64bit(EN)</diskimageName>
+              <licenseInfo />
+              <osName>CentOS 5.4 64bit (English)</osName>
+              <osType>pv</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>10.0</size>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG_3c9820_LLIPQ3UJ43RWG</diskimageId>
+              <diskimageName>W2k8R2SESP1(EN)</diskimageName>
+              <licenseInfo>Included</licenseInfo>
+              <osName>Windows Server 2008 R2 SE 64bit SP1 (English)</osName>
+              <osType>hvm</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>40.0</size>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG_3c9820_QIEWLLNIF7IF40</diskimageId>
+              <diskimageName>W2k8R2SE/IIS(EN)</diskimageName>
+              <licenseInfo>Included</licenseInfo>
+              <osName>Windows Server 2008 R2 SE 64bit (English)</osName>
+              <osType>hvm</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>40.0</size>
+              <softwares>
+                <software>
+                  <license />
+                  <name>Internet Information Server 7.5</name>
+                </software>
+              </softwares>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG_3c9820_S24FWXU0Q9VH0JK</diskimageId>
+              <diskimageName>CentOS 6.2 64bit(EN)</diskimageName>
+              <licenseInfo />
+              <osName>CentOS 6.2 64bit (English)</osName>
+              <osType>pv</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>10.0</size>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG_3c9820_X1W13YQIDAYQ2SQO</diskimageId>
+              <diskimageName>RHEL5.7 64bit wSPT</diskimageName>
+              <licenseInfo>Included</licenseInfo>
+              <osName>Red Hat Enterprise Linux 5.7 64bit (English) with Support</osName>
+              <osType>hvm</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>40.0</size>
+            </diskimage>
+          </diskimages>
+          <responseMessage>Processing was completed.</responseMessage>
+          <responseStatus>SUCCESS</responseStatus>
+        </ListDiskImageResponse>
+        
+
+    http_version: 
+  recorded_at: Mon, 18 Feb 2013 12:00:55 GMT
+- request: 
+    method: get
+    uri: https://api.globalcloud.fujitsu.com.au/ovissapi/endpoint?AccessKeyId=QVVTIEVhc3Rlcm4gRGF5bGlnaHQgVGltZSYxMzYxMTg4ODU1MDAwJjEuMCZT%0ASEExd2l0aFJTQQ==%0A&Action=ListServerType&Locale=en&Signature=OttEIRBfAdauHnvgN09YLWbZCTtYCdgdFiExy3ZibFjhcaSq7hOav0sG9L9p%0AAi3Pqevs6qpLjBcnfSh6l7d3uT8bN1azTy6K79D7GRgMF3gSEMmLfbGEeK0y%0ABlT8700sxZsQjAWikm7NfVJq2DEgXdcRswRIA+m/Xfa4Pp8tA8ITF/vcTiJy%0A8FHRyLE12O/ZaaVoPNE1EV4I/2fHf+ZFW9Nx4V2iTsfQfA6ykDxWwEU/dimJ%0AIaRKFydfU+yPyFi4fhauHovIVASys5OnJaoy+C7NoLi7KNwPb5zKTQB9GPOL%0A6f5oiZm/+7IJcfJpxnK7tlDhUmDwpxQplbTQp4EKXA==%0A&Version=2011-01-31&diskImageId=dummy
+    body: 
+      string: ""
+    headers: 
+      Accept: 
+      - text/xml
+      User-Agent: 
+      - OViSS-API-CLIENT
+  response: 
+    status: 
+      code: 200
+      message: OK
+    headers: 
+      Connection: 
+      - close
+      Date: 
+      - Mon, 18 Feb 2013 12:00:56 GMT
+      Transfer-Encoding: 
+      - chunked
+      Content-Type: 
+      - text/xml;charset=UTF-8
+      Set-Cookie: 
+      - JSESSIONID=7C145E541D70AE2EA6BF2A038B30CCFC; Path=/ovisspxy; Secure
+    body: 
+      string: |
+        <?xml version="1.0" encoding="UTF-8"?>
+        <ListServerTypeResponse xmlns="http://apioviss.jp.fujitsu.com">
+          <responseMessage>Processing was completed.</responseMessage>
+          <responseStatus>SUCCESS</responseStatus>
+          <servertypes>
+            <servertype>
+              <chargeType>amount</chargeType>
+              <cpu>
+                <cpuArch>IA</cpuArch>
+                <cpuPerf>4.0</cpuPerf>
+                <numOfCpu>1</numOfCpu>
+              </cpu>
+              <expectedUsage>744</expectedUsage>
+              <id>islanda-cbrm_144</id>
+              <memory>
+                <memorySize>7.5</memorySize>
+              </memory>
+              <name>advanced</name>
+              <price>0.4949</price>
+              <productId>AUS-VM-0001-0003</productId>
+              <productName>Advanced VM</productName>
+            </servertype>
+            <servertype>
+              <chargeType>amount</chargeType>
+              <cpu>
+                <cpuArch>IA</cpuArch>
+                <cpuPerf>1.0</cpuPerf>
+                <numOfCpu>1</numOfCpu>
+              </cpu>
+              <expectedUsage>744</expectedUsage>
+              <id>islanda-cbrm_140</id>
+              <memory>
+                <memorySize>1.7</memorySize>
+              </memory>
+              <name>economy</name>
+              <price>0.1237</price>
+              <productId>AUS-VM-0001-0001</productId>
+              <productName>Economy VM</productName>
+            </servertype>
+            <servertype>
+              <chargeType>amount</chargeType>
+              <cpu>
+                <cpuArch>IA</cpuArch>
+                <cpuPerf>4.0</cpuPerf>
+                <numOfCpu>2</numOfCpu>
+              </cpu>
+              <expectedUsage>744</expectedUsage>
+              <id>islanda-cbrm_146</id>
+              <memory>
+                <memorySize>15.0</memorySize>
+              </memory>
+              <name>high_performance</name>
+              <price>0.9898</price>
+              <productId>AUS-VM-0001-0004</productId>
+              <productName>High-Performance VM</productName>
+            </servertype>
+            <servertype>
+              <chargeType>amount</chargeType>
+              <cpu>
+                <cpuArch>IA</cpuArch>
+                <cpuPerf>2.0</cpuPerf>
+                <numOfCpu>1</numOfCpu>
+              </cpu>
+              <expectedUsage>744</expectedUsage>
+              <id>islanda-cbrm_142</id>
+              <memory>
+                <memorySize>3.4</memorySize>
+              </memory>
+              <name>standard</name>
+              <price>0.2474</price>
+              <productId>AUS-VM-0001-0002</productId>
+              <productName>Standard VM</productName>
+            </servertype>
+            <servertype>
+              <chargeType>amount</chargeType>
+              <cpu>
+                <cpuArch>IA</cpuArch>
+                <cpuPerf>4.0</cpuPerf>
+                <numOfCpu>4</numOfCpu>
+              </cpu>
+              <expectedUsage>744</expectedUsage>
+              <id>islanda-cbrm_146337</id>
+              <memory>
+                <memorySize>30.0</memorySize>
+              </memory>
+              <name>w_high</name>
+              <price>1.9796</price>
+              <productId>AUS-VM-0001-0011</productId>
+              <productName>Double-High Performance VM</productName>
+            </servertype>
+          </servertypes>
+        </ListServerTypeResponse>
+        
+
+    http_version: 
+  recorded_at: Mon, 18 Feb 2013 12:00:56 GMT
+recorded_with: VCR 2.4.0

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/2a9e21a0/server/tests/drivers/fgcp/fixtures/test_0003_must_allow_to_filter_realms.yml
----------------------------------------------------------------------
diff --git a/server/tests/drivers/fgcp/fixtures/test_0003_must_allow_to_filter_realms.yml b/server/tests/drivers/fgcp/fixtures/test_0003_must_allow_to_filter_realms.yml
new file mode 100644
index 0000000..f9097dd
--- /dev/null
+++ b/server/tests/drivers/fgcp/fixtures/test_0003_must_allow_to_filter_realms.yml
@@ -0,0 +1,117 @@
+--- 
+recorded_with: VCR 2.4.0
+http_interactions: 
+- request: 
+    method: get
+    uri: https://api.globalcloud.fujitsu.com.au/ovissapi/endpoint?AccessKeyId=QVVTIEVhc3Rlcm4gRGF5bGlnaHQgVGltZSYxMzYxMTg1NDQ5MDAwJjEuMCZT%0ASEExd2l0aFJTQQ==%0A&Action=GetVSYSAttributes&Locale=en&Signature=V8sRvAZRep06Ftyhiv6kRBJ9D4Xq+fxxexM75KwbIqIZxGtdhMK6q1xidzuM%0AWrUwEJJT6+yO/K2aOKjTAw19MF+H5dPXa0K+AMdIGsDvzdXGRjRJ+rPo9gZ1%0AE+UjeZW6FPl9C+8PDQsrqfUqzUSJj5vAEAILX14BeuUEG/0PMB8wqx4gkedK%0Aun967gZHApaMq61uAB4sVB35TeOZEWUIU7ICrgtmKWVuDeQ5AG5tQUIIjrAS%0AcRD/ghPGlaXxnFOH6fsDn/6E9xJlNJbazkd0uqTJXWng52w6Sa8wc3XW3X2o%0AdMLA50ZqLuAG2QfYVf4q8ciClymqvW+7L9OMnaTblw==%0A&Version=2011-01-31&vsysId=Dies-DC
+    body: 
+      string: ""
+    headers: 
+      Accept: 
+      - text/xml
+      User-Agent: 
+      - OViSS-API-CLIENT
+  response: 
+    status: 
+      code: 200
+      message: OK
+    headers: 
+      Connection: 
+      - close
+      Content-Type: 
+      - text/xml;charset=UTF-8
+      Set-Cookie: 
+      - JSESSIONID=F33B20F6BC90D0CC487B851E1642D4A3; Path=/ovisspxy; Secure
+      Date: 
+      - Mon, 18 Feb 2013 11:04:09 GMT
+      Transfer-Encoding: 
+      - chunked
+    body: 
+      string: |
+        <?xml version="1.0" encoding="UTF-8"?>
+        <OViSSResponse xmlns="http://apioviss.jp.fujitsu.com">
+          <responseMessage>A wrong value is set.:[vsysId]</responseMessage>
+          <responseStatus>VALIDATION_ERROR</responseStatus>
+        </OViSSResponse>
+
+    http_version: 
+  recorded_at: Mon, 18 Feb 2013 11:04:09 GMT
+- request: 
+    method: get
+    uri: https://api.globalcloud.fujitsu.com.au/ovissapi/endpoint?AccessKeyId=QVVTIEVhc3Rlcm4gRGF5bGlnaHQgVGltZSYxMzYxMTg1ODgyMDAwJjEuMCZT%0ASEExd2l0aFJTQQ==%0A&Action=GetVSYSAttributes&Locale=en&Signature=OLibu6lJzvYjvpcZ50H7itnUj/7bfbahEImfEEeh3yiCtS/JKc3cU99L0Zjp%0Aod1r5MEbDJQPp2ZLGbU1DS55B1Wlj1rHVqpATeB55pwAj/I9IikEf7tDgf1k%0ATpal7rYW6/gXEe4ZN4GMCJmkZQbxmeUTONvQemgD8iyLqT/wBX5g8n4ANRJD%0Adfv3BBRy+Myb38PqZ2VkwcOiisLFP+fVFO3i3PMerE7v+QkO2eBkV1SLsv9F%0ALwtFPjTgzd2ZImrqMAZHnCENA8DaGmb39xr8LeDURrOBgccrzQ7jwsSUODjj%0AX0xAUan1/G4o11BczWvfFk6VtZchw2bWW1XCtZQ4Cg==%0A&Version=2011-01-31&vsysId=UZXC0GRT-ZG8ZJCJ07
+    body: 
+      string: ""
+    headers: 
+      Accept: 
+      - text/xml
+      User-Agent: 
+      - OViSS-API-CLIENT
+  response: 
+    status: 
+      code: 200
+      message: OK
+    headers: 
+      Connection: 
+      - close
+      Content-Type: 
+      - text/xml;charset=UTF-8
+      Set-Cookie: 
+      - JSESSIONID=4D61F175043D4E7BDAD030330B13ED44; Path=/ovisspxy; Secure
+      Date: 
+      - Mon, 18 Feb 2013 11:11:22 GMT
+      Transfer-Encoding: 
+      - chunked
+    body: 
+      string: |
+        <?xml version="1.0" encoding="UTF-8"?>
+        <GetVSYSAttributesResponse xmlns="http://apioviss.jp.fujitsu.com">
+          <responseMessage>Processing was completed.</responseMessage>
+          <responseStatus>SUCCESS</responseStatus>
+          <vsys>
+            <baseDescriptor>2-tier Skeleton</baseDescriptor>
+            <creator>UZXC0GRT</creator>
+            <description>2-tier Skeleton</description>
+            <vsysId>UZXC0GRT-ZG8ZJCJ07</vsysId>
+            <vsysName>Dies-DC-test</vsysName>
+          </vsys>
+        </GetVSYSAttributesResponse>
+        
+
+    http_version: 
+  recorded_at: Mon, 18 Feb 2013 11:11:23 GMT
+- request: 
+    method: get
+    uri: https://api.globalcloud.fujitsu.com.au/ovissapi/endpoint?AccessKeyId=QVVTIEVhc3Rlcm4gRGF5bGlnaHQgVGltZSYxMzYxMTg1ODgzMDAwJjEuMCZT%0ASEExd2l0aFJTQQ==%0A&Action=GetVSYSAttributes&Locale=en&Signature=200L71C6/DniKIP/cHG47aJYX5vni0H4ohItT/m3Iz1GfxU9lFSY3QGNsh0H%0AvnUhSitdCMDGXwjLuwqALwYzjskxGaFhNEReg2QbUo0ACVhnxfoiB92UT3ZW%0ALyuFG95y+YuACXdS1cy7v/fEKXneEqWq9TU1ujwBvSTcw/blqdZcsPZKbpgd%0AN7xs530xgMQ0sQN6WUxhCxGHD7JdJa7JY9isiaaH1QSk7T9zRGRr6ehEm/gH%0AS6ZreSviIATbM9099//e4mOPDOl6IAnZOKuS6tXTwsbwNBW0UFvKYLGT/uQd%0AgNuVJG7bhxRclXswLu3ECz4G0r4XfgCPkAEOdoJRKQ==%0A&Version=2011-01-31&vsysId=
+    body: 
+      string: ""
+    headers: 
+      Accept: 
+      - text/xml
+      User-Agent: 
+      - OViSS-API-CLIENT
+  response: 
+    status: 
+      code: 200
+      message: OK
+    headers: 
+      Connection: 
+      - close
+      Content-Type: 
+      - text/xml;charset=UTF-8
+      Set-Cookie: 
+      - JSESSIONID=BD5273ABF7CD6F8E0C76C53221E522FD; Path=/ovisspxy; Secure
+      Date: 
+      - Mon, 18 Feb 2013 11:11:24 GMT
+      Transfer-Encoding: 
+      - chunked
+    body: 
+      string: |
+        <?xml version="1.0" encoding="UTF-8"?>
+        <OViSSResponse xmlns="http://apioviss.jp.fujitsu.com">
+          <responseMessage>A wrong value is set.:[vsysId]</responseMessage>
+          <responseStatus>VALIDATION_ERROR</responseStatus>
+        </OViSSResponse>
+        
+
+    http_version: 
+  recorded_at: Mon, 18 Feb 2013 11:11:24 GMT


Mime
View raw message