if not fcsr:
fcsr = host.lookup("SR_FC", None)
if fcsr:
- if fcsr == "yes":
- fcsr = "LUN0"
lun = xenrt.HBALun([host])
multipathing = host.lookup("USE_MULTIPATH",
False,
<host id="1"/>
<storage type="fc" name="fcsr" default="true"/>
</pool>
- <host id="2"/>
- <host id="3"/>
</prepare>
<testsequence group="LVM">
<host id="1"/>
<storage type="fc" name="fcsr" default="true"/>
</pool>
- <host id="2"/>
- <host id="3"/>
</prepare>
<testsequence group="LVM">
<pool id="1">
<storage type="fc" name="lvmohba_targetSR" options="LUN2"/>
<host id="2" />
- <!-- We need to use 4 hosts in this test to stop another job trampling on the SR -->
- <host id="3" />
</pool>
</prepare>
<host id="1"/>
<storage type="fc" name="fcsr" default="true"/>
</pool>
- <host id="2"/>
- <host id="3"/>
</prepare>
<testsequence group="LVM">
<host id="1"/>
<storage type="fc" name="fcsr" default="true"/>
</pool>
- <host id="2"/>
- <host id="3"/>
</prepare>
<testsequence group="LVM">
<host id="1"/>
<storage type="fc" name="fcsr" default="true"/>
</pool>
- <host id="2"/>
- <host id="3"/>
</prepare>
<testsequence group="LVM">
<pool id="1">
<storage type="fc" name="lvmohba_targetSR" options="LUN2"/>
<host id="2" />
- <!-- We need to use 4 hosts in this test to stop another job trampling on the SR -->
- <host id="3" />
</pool>
</prepare>
<host id="1"/>
<storage type="fc" name="fcsr" default="true"/>
</pool>
- <host id="2"/>
- <host id="3"/>
</prepare>
<testsequence group="LVM">
<host id="1"/>
<storage type="fc" name="fcsr" default="true"/>
</pool>
- <host id="2"/>
- <host id="3"/>
</prepare>
<testsequence group="LVM">
<host id="1"/>
<storage type="fc" name="fcsr" default="true"/>
</pool>
- <host id="2"/>
- <host id="3"/>
</prepare>
<testsequence group="LVM">
<pool id="1">
<storage type="fc" name="lvmohba_targetSR" options="LUN2,thin"/>
<host id="2" />
- <!-- We need to use 4 hosts in this test to stop another job trampling on the SR -->
- <host id="3" />
</pool>
</prepare>
<pool id="1">
<storage type="fc" name="lvmohba_targetSR" options="LUN2"/>
<host id="2" />
- <!-- We need to use 4 hosts in this test to stop another job trampling on the SR -->
- <host id="3" />
</pool>
</prepare>
<host id="1"/>
<storage type="fc" name="fcsr" default="true"/>
</pool>
- <host id="2"/>
- <host id="3"/>
</prepare>
<testsequence group="LVM">
<host id="1"/>
<storage type="fc" name="fcsr" default="true"/>
</pool>
- <host id="2"/>
- <host id="3"/>
</prepare>
<testsequence group="LVM">
<host id="1"/>
<storage type="fc" name="fcsr" default="true" options="thin"/>
</pool>
- <host id="2"/>
- <host id="3"/>
</prepare>
<testsequence group="LVM">
<host id="1"/>
<storage type="fc" name="fcsr" default="true"/>
</pool>
- <host id="2"/>
- <host id="3"/>
</prepare>
<testsequence group="LVM">
<pool id="1">
<storage type="fc" name="lvmohba_targetSR" options="LUN2"/>
<host id="2" license="platinum"/>
- <!-- We need to use 4 hosts in this test to stop another job trampling on the SR -->
- <host id="3" license="platinum"/>
</pool>
</prepare>
<host id="1"/>
<storage type="fc" name="fcsr" default="true"/>
</pool>
- <host id="2"/>
- <host id="3"/>
</prepare>
<testsequence group="LVM">
<host id="1"/>
<storage type="fc" name="fcsr" default="true"/>
</pool>
- <host id="2"/>
- <host id="3"/>
</prepare>
<testsequence group="LVM">
<host id="1"/>
<storage type="fc" name="fcsr" default="true"/>
</pool>
- <host id="2"/>
- <host id="3"/>
</prepare>
<testsequence group="LVM">