CP-6958 - Convert to compile 64bit

Signed-off-by: Chandrika Srinivasan <chandrika.srinivasan@citrix.com>
Reviewed-by: Vineeth Thampi Raveendran <vineeth.thampi@citrix.com>

GitHub: closes #15 on xenserver/xencert
CA-136746: Fix Create_SR method for class StorageHandlerHBA.

Signed-off-by: Siddharth Vinothkumar <siddharth.vinothkumar@citrix.com>
Reviewed-by: Vineeth Raveendran <vineeth.thampi@citrix.com>

GitHub: closes #16 on xenserver/xencert
CA-137289: Fix XenCert for xs64bit.

Signed-off-by: Siddharth Vinothkumar <siddharth.vinothkumar@citrix.com>
Reviewed-by: Vineeth Raveendran <vineeth.thampi@citrix.com>

GitHub: closes #17 on xenserver/xencert
CA-136746: Fix Create_SR method for class StorageHandlerHBA.

Signed-off-by: Siddharth Vinothkumar <siddharth.vinothkumar@citrix.com>
Reviewed-by: Vineeth Raveendran <vineeth.thampi@citrix.com>

GitHub: closes #16 on xenserver/xencert
CA-137289: Fix XenCert for xs64bit.

Signed-off-by: Siddharth Vinothkumar <siddharth.vinothkumar@citrix.com>
Reviewed-by: Vineeth Raveendran <vineeth.thampi@citrix.com>

GitHub: closes #17 on xenserver/xencert
CA-139258: Fix functional tests on iSCSI SR

Raise an exception from within xencert when iscsiadm discovery fails and
abort any further tests.

Signed-off-by: Siddharth Vinothkumar <siddharth.vinothkumar@citrix.com>
Reviewed-by: Mate Lakat <mate.lakat@citrix.com>

GitHub: closes #18 on xenserver/xencert
CA-139258: Fix functional tests on iSCSI SR

Raise an exception from within xencert when iscsiadm discovery fails and
abort any further tests.

Signed-off-by: Siddharth Vinothkumar <siddharth.vinothkumar@citrix.com>
Reviewed-by: Mate Lakat <mate.lakat@citrix.com>
Merge with Creedence repository.

We were maintaining 2 repos with basically the same content
for our trunk version and Creedence.
Apart from hashsum changes and one small minor change (a whitespace),
the content in both repos was the same and it is meant to stay
this way.

Signed-off-by: Germano Percossi <germano.percossi@citrix.com>
Acked-by: Siddharth Vinothkumar <siddharth.vinothkumar@citrix.com>

GitHub: closes #26 on xenserver/xencert
CP-9420: Correct documentation for xs64bit.

Signed-off-by: Siddharth Vinothkumar <siddharth.vinothkumar@citrix.com>
Acked-by: Germano Percossi <germano.percossi@citrix.com>

GitHub: closes #22 on xenserver/xencert
CA-142238: Fix parsing lvmohba probe xml

With xs64bit, sr-probe has attributes like supported_speeds
which have comma separated values that break the exising parser.

This patch ensures that we don't break the required xml even if the
exception contains additional tags with comma separated values.

Signed-off-by: Siddharth Vinothkumar <siddharth.vinothkumar@citrix.com>
Reviewed-by: Mate Lakat <mate.lakat@citrix.com>

GitHub: closes #23 on xenserver/xencert
CA-142337: Fix retVal of GetLunInformation

The current implementation of this method never sets the retVal to False
which leads to some spurious messages being printed on the report.

This patch sets the retVal to False when it can't find the required file
from '/dev/disk/by-scsibus/'

Signed-off-by: Siddharth Vinothkumar <siddharth.vinothkumar@citrix.com>
Reviewed-by: Flavien Quesnel <flavien.quesnel@citrix.com>

GitHub: closes #25 on xenserver/xencert
PAR-64: Correct blockunblock scripts' xenstore handle

Signed-off-by: Siddharth Vinothkumar <siddharth.vinothkumar@citrix.com>
Reviewed-by: Chandrika Srinivasan <chandrika.srinivasan@citrix.com>

GitHub: closes #27 on xenserver/xencert
CA-146872: Ensure diskdatatest uses absolute path

Prior to this path, diskdatatests were using relative paths and run
under the assumption that tests would always be executed from XenCert's
root directory which caused a bunch of failures. This path should switch
the diskdatatests to use the absolute path.

Signed-off-by: Siddharth Vinothkumar <siddharth.vinothkumar@citrix.com>
Reviewed-by: Mate Lakat <mate.lakat@citrix.com>

GitHub: closes #29 on xenserver/xencert
CA-144196: Call switch-specific script for blocking/unblocking ports

Signed-off-by: Chandrika Srinivasan <chandrika.srinivasan@citrix.com>
Reviewed-by: Siddharth Vinothkumar <siddharth.vinothkumar@citrix.com>

GitHub: closes #30 on xenserver/xencert
CA-148550: Skip direct flag while doing sample write to VDI

Signed-off-by: Chandrika Srinivasan <chandrika.srinivasan@citrix.com>
Reviewed-by: Siddharth Vinothkumar <siddharth.vinothkumar@citrix.com>

GitHub: closes #32 on xenserver/xencert
CA-148436: Fix xencert metadata tests for ISCSI SR

Changes part of this commit:
* SR ATTACH (Switch to a different method to 'Create_SR'
* SR SCAN (Blacklist 'metadata_of_pool' & 'snapshot_time')
* SR PROBE (Log successful parameter validation)

Additionally, whitespace errors were corrected in the affected methods.

Signed-off-by: Siddharth Vinothkumar <siddharth.vinothkumar@citrix.com>
Acked-by: Chandrika Srinivasan <chandrika.srinivasan@citrix.com>

GitHub: closes #31 on xenserver/xencert
CA-148436: Removed SR probing from iSCSI tests

Probing is broken for reasons yet to investigate further.
Removing for the time being

Signed-off-by: Germano Percossi <germano.percossi@citrix.com>
Acked-by: Chandrika Srinivasan <chandrika.srinivasan@citrix.com>

GitHub: closes #33 on xenserver/xencert