2017-01-16 20:59:50 +01:00
|
|
|
|
/* Copyright (c) Citrix Systems, Inc.
|
2013-06-24 13:41:48 +02:00
|
|
|
|
* All rights reserved.
|
|
|
|
|
*
|
|
|
|
|
* Redistribution and use in source and binary forms,
|
|
|
|
|
* with or without modification, are permitted provided
|
|
|
|
|
* that the following conditions are met:
|
|
|
|
|
*
|
|
|
|
|
* * Redistributions of source code must retain the above
|
|
|
|
|
* copyright notice, this list of conditions and the
|
|
|
|
|
* following disclaimer.
|
|
|
|
|
* * Redistributions in binary form must reproduce the above
|
|
|
|
|
* copyright notice, this list of conditions and the
|
|
|
|
|
* following disclaimer in the documentation and/or other
|
|
|
|
|
* materials provided with the distribution.
|
|
|
|
|
*
|
|
|
|
|
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
|
|
|
|
|
* CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
|
|
|
|
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
|
|
|
|
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
|
|
|
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
|
|
|
|
|
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
|
|
|
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
|
|
|
|
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
|
|
|
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
|
|
|
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
|
|
|
|
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
|
|
|
|
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
|
|
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
|
|
|
* SUCH DAMAGE.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
namespace XenAdmin
|
|
|
|
|
{
|
|
|
|
|
public enum Icons
|
|
|
|
|
{
|
|
|
|
|
XenCenter,
|
|
|
|
|
|
|
|
|
|
HostConnecting,
|
|
|
|
|
HostConnected,
|
|
|
|
|
HostDisconnected,
|
|
|
|
|
HostEvacuate,
|
|
|
|
|
HostUnpatched,
|
|
|
|
|
HostOlderThanMaster,
|
|
|
|
|
HostHasCrashDumps,
|
|
|
|
|
|
|
|
|
|
VmRunning,
|
|
|
|
|
VmRunningDisabled,
|
|
|
|
|
VmStopped,
|
|
|
|
|
VmStoppedDisabled,
|
|
|
|
|
VmSuspended,
|
|
|
|
|
VmSuspendedDisabled,
|
|
|
|
|
VmStarting,
|
|
|
|
|
VmStartingDisabled,
|
|
|
|
|
|
|
|
|
|
Template,
|
|
|
|
|
TemplateDisabled,
|
|
|
|
|
TemplateUser,
|
|
|
|
|
Snapshot,
|
|
|
|
|
SnapshotDisksOnly,
|
|
|
|
|
SnapshotWithMem,
|
|
|
|
|
ScheduledSnapshotDiskOnly,
|
|
|
|
|
ScheduledSnapshotDiskMemory,
|
|
|
|
|
|
|
|
|
|
PoolConnected,
|
2013-12-13 18:35:40 +01:00
|
|
|
|
PoolNotFullyUpgraded,
|
2013-06-24 13:41:48 +02:00
|
|
|
|
|
2017-09-25 19:09:11 +02:00
|
|
|
|
PoolUnlicensed,
|
|
|
|
|
ServerUnlicensed,
|
|
|
|
|
|
2013-06-24 13:41:48 +02:00
|
|
|
|
Storage,
|
|
|
|
|
StorageBroken,
|
|
|
|
|
StorageDefault,
|
|
|
|
|
StorageDisabled,
|
|
|
|
|
|
|
|
|
|
PowerStateHalted,
|
|
|
|
|
PowerStateSuspended,
|
|
|
|
|
PowerStateRunning,
|
|
|
|
|
PowerStateUnknown,
|
|
|
|
|
|
|
|
|
|
Network,
|
|
|
|
|
|
|
|
|
|
DefaultSearch,
|
|
|
|
|
Search,
|
|
|
|
|
|
|
|
|
|
#region Server message icons
|
|
|
|
|
|
|
|
|
|
// Icons for server messages
|
|
|
|
|
VmStart,
|
|
|
|
|
VmShutdown,
|
|
|
|
|
VmReboot,
|
|
|
|
|
VmSuspend,
|
|
|
|
|
VmResumed,
|
|
|
|
|
VmCloned,
|
|
|
|
|
|
|
|
|
|
MessageUnknown,
|
|
|
|
|
MessagePriority1,
|
|
|
|
|
MessagePriority2,
|
|
|
|
|
MessagePriority3,
|
|
|
|
|
MessagePriority4,
|
|
|
|
|
MessagePriority5,
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region OS Icons
|
|
|
|
|
|
|
|
|
|
CentOS,
|
|
|
|
|
Debian,
|
2020-05-19 09:57:37 +02:00
|
|
|
|
Gooroom,
|
2017-05-18 10:09:52 +02:00
|
|
|
|
Linx,
|
2013-06-24 13:41:48 +02:00
|
|
|
|
Oracle,
|
|
|
|
|
RHEL,
|
|
|
|
|
SUSE,
|
2015-03-27 14:34:59 +01:00
|
|
|
|
Ubuntu,
|
2017-05-18 10:09:52 +02:00
|
|
|
|
YinheKylin,
|
2015-03-27 14:34:59 +01:00
|
|
|
|
SciLinux,
|
2016-10-21 19:46:38 +02:00
|
|
|
|
NeoKylin,
|
2017-04-10 08:20:42 +02:00
|
|
|
|
Asianux,
|
|
|
|
|
Turbo,
|
2013-06-24 13:41:48 +02:00
|
|
|
|
Windows,
|
2014-12-05 11:07:28 +01:00
|
|
|
|
CoreOS,
|
2013-06-24 13:41:48 +02:00
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region tools icons
|
|
|
|
|
|
|
|
|
|
ToolInstalled,
|
|
|
|
|
ToolsNotInstalled,
|
|
|
|
|
ToolsOutOfDate,
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region Blank Icons
|
|
|
|
|
|
|
|
|
|
VM,
|
|
|
|
|
Host,
|
|
|
|
|
Pool,
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
VDI,
|
|
|
|
|
VDISnapshot,
|
|
|
|
|
|
|
|
|
|
Folder,
|
|
|
|
|
FolderGrey,
|
|
|
|
|
|
|
|
|
|
Tag,
|
|
|
|
|
CustomField,
|
|
|
|
|
HA,
|
|
|
|
|
|
|
|
|
|
VmAppliance,
|
|
|
|
|
|
|
|
|
|
VmCrossPoolMigrate,
|
2015-03-26 14:33:17 +01:00
|
|
|
|
VmCrossPoolMigrateStopped,
|
|
|
|
|
VmCrossPoolMigrateSuspended,
|
2013-06-24 13:41:48 +02:00
|
|
|
|
|
|
|
|
|
PifPrimary,
|
2013-10-08 11:17:57 +02:00
|
|
|
|
PifSecondary,
|
|
|
|
|
|
|
|
|
|
Home,
|
2014-12-05 15:17:57 +01:00
|
|
|
|
Objects,
|
|
|
|
|
|
2016-09-27 17:34:26 +02:00
|
|
|
|
PvsSite,
|
2016-09-26 18:44:17 +02:00
|
|
|
|
|
2014-12-05 15:17:57 +01:00
|
|
|
|
#region DockerContainer Icons
|
|
|
|
|
|
|
|
|
|
DCRunning,
|
|
|
|
|
DCStopped,
|
2016-10-20 14:09:48 +02:00
|
|
|
|
DCPaused,
|
2014-12-05 15:17:57 +01:00
|
|
|
|
|
|
|
|
|
#endregion
|
2016-10-20 14:09:48 +02:00
|
|
|
|
|
|
|
|
|
#region Status Icons
|
|
|
|
|
Ok,
|
|
|
|
|
Info,
|
|
|
|
|
Warning,
|
2019-08-22 11:47:43 +02:00
|
|
|
|
Error,
|
2016-10-20 14:09:48 +02:00
|
|
|
|
#endregion
|
2013-06-24 13:41:48 +02:00
|
|
|
|
}
|
|
|
|
|
}
|