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>
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