CP-30123: Update bindings and revert CP-29657 (message for HOST_LOW_MEMORY)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
This commit is contained in:
Mihaela Stoica 2018-12-05 11:42:36 +00:00 committed by Konstantina Chremmou
parent bd4cc468c6
commit 4a21157533
7 changed files with 14 additions and 29 deletions

View File

@ -152,7 +152,6 @@ namespace XenAdmin.Alerts
case Message.MessageType.VDI_CBT_METADATA_INCONSISTENT:
case Message.MessageType.CLUSTER_HOST_FENCING:
case Message.MessageType.CLUSTER_HOST_ENABLE_FAILED:
case Message.MessageType.HOST_LOW_MEMORY:
if (XenObject != null)
return string.Format(FriendlyFormat(), Helpers.GetName(XenObject));
break;

View File

@ -3869,15 +3869,6 @@ namespace XenAdmin {
}
}
/// <summary>
/// Looks up a localized string similar to Server &apos;{0}&apos; has low memory..
/// </summary>
public static string Message_body_host_low_memory {
get {
return ResourceManager.GetString("Message.body-host_low_memory", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to There was a temporary failure synchronizing performance statistics across the pool, probably because one or more servers were offline. Another synchronization attempt will be made later..
/// </summary>
@ -4670,15 +4661,6 @@ namespace XenAdmin {
}
}
/// <summary>
/// Looks up a localized string similar to Server has low memory..
/// </summary>
public static string Message_name_host_low_memory {
get {
return ResourceManager.GetString("Message.name-host_low_memory", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Server statistics synchronization failed.
/// </summary>

View File

@ -1907,12 +1907,6 @@
<data name="Label-host.edition-enterprise-per-user" xml:space="preserve">
<value>[Legacy XenServer product] Premium Per-User</value>
</data>
<data name="Message.name-host_low_memory" xml:space="preserve">
<value>Server has low memory.</value>
</data>
<data name="Message.body-host_low_memory" xml:space="preserve">
<value>Server '{0}' has low memory.</value>
</data>
<data name="Description-host.system_status-v6d" xml:space="preserve">
<value>[XenServer] licensing daemon logs</value>
</data>

View File

@ -5438,6 +5438,15 @@ namespace XenAPI {
}
}
/// <summary>
/// Looks up a localized string similar to The requested operation is not allowed because the specified VDI is encrypted..
/// </summary>
public static string VDI_IS_ENCRYPTED {
get {
return ResourceManager.GetString("VDI_IS_ENCRYPTED", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to This operation can only be performed on CD VDIs (iso files or CDROM drives). VDI {0} is of type {1}..
/// </summary>

View File

@ -1913,6 +1913,9 @@ Authorized Roles: {1}</value>
<data name="VDI_IS_A_PHYSICAL_DEVICE" xml:space="preserve">
<value>The operation cannot be performed on physical device</value>
</data>
<data name="VDI_IS_ENCRYPTED" xml:space="preserve">
<value>The requested operation is not allowed because the specified VDI is encrypted.</value>
</data>
<data name="VDI_IS_NOT_ISO" xml:space="preserve">
<value>This operation can only be performed on CD VDIs (iso files or CDROM drives). VDI {0} is of type {1}.</value>
</data>

View File

@ -45,7 +45,7 @@ namespace XenAPI
/// </summary>
public partial class Message : XenObject<Message>
{
public enum MessageType { CLUSTER_HOST_FENCING, CLUSTER_HOST_ENABLE_FAILED, HOST_LOW_MEMORY, POOL_CPU_FEATURES_UP, POOL_CPU_FEATURES_DOWN, HOST_CPU_FEATURES_UP, HOST_CPU_FEATURES_DOWN, BOND_STATUS_CHANGED, VDI_CBT_RESIZE_FAILED, VDI_CBT_SNAPSHOT_FAILED, VDI_CBT_METADATA_INCONSISTENT, VMSS_SNAPSHOT_MISSED_EVENT, VMSS_XAPI_LOGON_FAILURE, VMSS_LICENSE_ERROR, VMSS_SNAPSHOT_FAILED, VMSS_SNAPSHOT_SUCCEEDED, VMSS_SNAPSHOT_LOCK_FAILED, VMPP_SNAPSHOT_ARCHIVE_ALREADY_EXISTS, VMPP_ARCHIVE_MISSED_EVENT, VMPP_SNAPSHOT_MISSED_EVENT, VMPP_XAPI_LOGON_FAILURE, VMPP_LICENSE_ERROR, VMPP_ARCHIVE_TARGET_UNMOUNT_FAILED, VMPP_ARCHIVE_TARGET_MOUNT_FAILED, VMPP_ARCHIVE_SUCCEEDED, VMPP_ARCHIVE_FAILED_0, VMPP_ARCHIVE_LOCK_FAILED, VMPP_SNAPSHOT_FAILED, VMPP_SNAPSHOT_SUCCEEDED, VMPP_SNAPSHOT_LOCK_FAILED, PVS_PROXY_SR_OUT_OF_SPACE, PVS_PROXY_NO_SERVER_AVAILABLE, PVS_PROXY_SETUP_FAILED, PVS_PROXY_NO_CACHE_SR_AVAILABLE, LICENSE_SERVER_VERSION_OBSOLETE, LICENSE_SERVER_UNREACHABLE, LICENSE_NOT_AVAILABLE, GRACE_LICENSE, LICENSE_SERVER_UNAVAILABLE, LICENSE_SERVER_CONNECTED, LICENSE_EXPIRED, LICENSE_EXPIRES_SOON, LICENSE_DOES_NOT_SUPPORT_POOLING, MULTIPATH_PERIODIC_ALERT, EXTAUTH_IN_POOL_IS_NON_HOMOGENEOUS, EXTAUTH_INIT_IN_HOST_FAILED, WLB_OPTIMIZATION_ALERT, WLB_CONSULTATION_FAILED, ALARM, PBD_PLUG_FAILED_ON_SERVER_START, POOL_MASTER_TRANSITION, HOST_CLOCK_WENT_BACKWARDS, HOST_CLOCK_SKEW_DETECTED, HOST_SYNC_DATA_FAILED, VM_CLONED, VM_CRASHED, VM_RESUMED, VM_SUSPENDED, VM_REBOOTED, VM_SHUTDOWN, VM_STARTED, VCPU_QOS_FAILED, VBD_QOS_FAILED, VIF_QOS_FAILED, IP_CONFIGURED_PIF_CAN_UNPLUG, METADATA_LUN_BROKEN, METADATA_LUN_HEALTHY, HA_HOST_WAS_FENCED, HA_HOST_FAILED, HA_PROTECTED_VM_RESTART_FAILED, HA_POOL_DROP_IN_PLAN_EXISTS_FOR, HA_POOL_OVERCOMMITTED, HA_NETWORK_BONDING_ERROR, HA_XAPI_HEALTHCHECK_APPROACHING_TIMEOUT, HA_STATEFILE_APPROACHING_TIMEOUT, HA_HEARTBEAT_APPROACHING_TIMEOUT, HA_STATEFILE_LOST, unknown };
public enum MessageType { CLUSTER_HOST_FENCING, CLUSTER_HOST_ENABLE_FAILED, POOL_CPU_FEATURES_UP, POOL_CPU_FEATURES_DOWN, HOST_CPU_FEATURES_UP, HOST_CPU_FEATURES_DOWN, BOND_STATUS_CHANGED, VDI_CBT_RESIZE_FAILED, VDI_CBT_SNAPSHOT_FAILED, VDI_CBT_METADATA_INCONSISTENT, VMSS_SNAPSHOT_MISSED_EVENT, VMSS_XAPI_LOGON_FAILURE, VMSS_LICENSE_ERROR, VMSS_SNAPSHOT_FAILED, VMSS_SNAPSHOT_SUCCEEDED, VMSS_SNAPSHOT_LOCK_FAILED, VMPP_SNAPSHOT_ARCHIVE_ALREADY_EXISTS, VMPP_ARCHIVE_MISSED_EVENT, VMPP_SNAPSHOT_MISSED_EVENT, VMPP_XAPI_LOGON_FAILURE, VMPP_LICENSE_ERROR, VMPP_ARCHIVE_TARGET_UNMOUNT_FAILED, VMPP_ARCHIVE_TARGET_MOUNT_FAILED, VMPP_ARCHIVE_SUCCEEDED, VMPP_ARCHIVE_FAILED_0, VMPP_ARCHIVE_LOCK_FAILED, VMPP_SNAPSHOT_FAILED, VMPP_SNAPSHOT_SUCCEEDED, VMPP_SNAPSHOT_LOCK_FAILED, PVS_PROXY_SR_OUT_OF_SPACE, PVS_PROXY_NO_SERVER_AVAILABLE, PVS_PROXY_SETUP_FAILED, PVS_PROXY_NO_CACHE_SR_AVAILABLE, LICENSE_SERVER_VERSION_OBSOLETE, LICENSE_SERVER_UNREACHABLE, LICENSE_NOT_AVAILABLE, GRACE_LICENSE, LICENSE_SERVER_UNAVAILABLE, LICENSE_SERVER_CONNECTED, LICENSE_EXPIRED, LICENSE_EXPIRES_SOON, LICENSE_DOES_NOT_SUPPORT_POOLING, MULTIPATH_PERIODIC_ALERT, EXTAUTH_IN_POOL_IS_NON_HOMOGENEOUS, EXTAUTH_INIT_IN_HOST_FAILED, WLB_OPTIMIZATION_ALERT, WLB_CONSULTATION_FAILED, ALARM, PBD_PLUG_FAILED_ON_SERVER_START, POOL_MASTER_TRANSITION, HOST_CLOCK_WENT_BACKWARDS, HOST_CLOCK_SKEW_DETECTED, HOST_SYNC_DATA_FAILED, VM_CLONED, VM_CRASHED, VM_RESUMED, VM_SUSPENDED, VM_REBOOTED, VM_SHUTDOWN, VM_STARTED, VCPU_QOS_FAILED, VBD_QOS_FAILED, VIF_QOS_FAILED, IP_CONFIGURED_PIF_CAN_UNPLUG, METADATA_LUN_BROKEN, METADATA_LUN_HEALTHY, HA_HOST_WAS_FENCED, HA_HOST_FAILED, HA_PROTECTED_VM_RESTART_FAILED, HA_POOL_DROP_IN_PLAN_EXISTS_FOR, HA_POOL_OVERCOMMITTED, HA_NETWORK_BONDING_ERROR, HA_XAPI_HEALTHCHECK_APPROACHING_TIMEOUT, HA_STATEFILE_APPROACHING_TIMEOUT, HA_HEARTBEAT_APPROACHING_TIMEOUT, HA_STATEFILE_LOST, unknown };
public MessageType Type
{
@ -57,8 +57,6 @@ namespace XenAPI
return MessageType.CLUSTER_HOST_FENCING;
case "CLUSTER_HOST_ENABLE_FAILED":
return MessageType.CLUSTER_HOST_ENABLE_FAILED;
case "HOST_LOW_MEMORY":
return MessageType.HOST_LOW_MEMORY;
case "POOL_CPU_FEATURES_UP":
return MessageType.POOL_CPU_FEATURES_UP;
case "POOL_CPU_FEATURES_DOWN":

View File

@ -1980,7 +1980,7 @@ namespace XenAPI
private string _gateway = "";
/// <summary>
/// IP address of DNS servers to use
/// Comma separated list of the IP addresses of the DNS servers to use
/// First published in XenServer 4.1.
/// </summary>
public virtual string DNS