CP-11372: XenCenter: Update the model with the latest api bindings, including the new cifs specific errors

-updating Errors property in SrWizardType_Cifs with the Failures that can occur when doing CIFS SR operations

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
This commit is contained in:
Gabor Apati-Nagy 2015-03-05 19:33:07 +00:00
parent e5ab2d6370
commit 34df0ca614
2 changed files with 6 additions and 1 deletions

View File

@ -269,7 +269,7 @@ namespace XenAdmin.Wizards.NewSRWizard_Pages
{
public override IEnumerable<string> Errors
{
get { return new string[] { /* Failure.SR_BACKEND_FAILURE_111, Failure.SR_BACKEND_FAILURE_112, Failure.SR_BACKEND_FAILURE_113, Failure.SR_BACKEND_FAILURE_114, Failure.SR_BACKEND_FAILURE_454 */ }; }
get { return new[] { Failure.SR_BACKEND_FAILURE_111, Failure.SR_BACKEND_FAILURE_112, Failure.SR_BACKEND_FAILURE_113, Failure.SR_BACKEND_FAILURE_114, Failure.SR_BACKEND_FAILURE_454 }; }
}
public override bool IsEnhancedSR { get { return false; } }

View File

@ -63,9 +63,14 @@ namespace XenAPI
public const string SR_BACKEND_FAILURE_72 = "SR_BACKEND_FAILURE_72";
public const string SR_BACKEND_FAILURE_73 = "SR_BACKEND_FAILURE_73";
public const string SR_BACKEND_FAILURE_107 = "SR_BACKEND_FAILURE_107";
public const string SR_BACKEND_FAILURE_111 = "SR_BACKEND_FAILURE_111";
public const string SR_BACKEND_FAILURE_112 = "SR_BACKEND_FAILURE_112";
public const string SR_BACKEND_FAILURE_113 = "SR_BACKEND_FAILURE_113";
public const string SR_BACKEND_FAILURE_114 = "SR_BACKEND_FAILURE_114";
public const string SR_BACKEND_FAILURE_140 = "SR_BACKEND_FAILURE_140";
public const string SR_BACKEND_FAILURE_222 = "SR_BACKEND_FAILURE_222";
public const string SR_BACKEND_FAILURE_225 = "SR_BACKEND_FAILURE_225";
public const string SR_BACKEND_FAILURE_454 = "SR_BACKEND_FAILURE_454";
public const string SUBJECT_CANNOT_BE_RESOLVED = "SUBJECT_CANNOT_BE_RESOLVED";
public const string OBJECT_NO_LONGER_EXISTS = "OBJECT_NOLONGER_EXISTS";
public const string PERMISSION_DENIED = "PERMISSION_DENIED";