XCP-ng Center, the Windows management console for XCP-ng and XenServer. /!\ EOL-Notice /!\ Community-maintained only /!\
Go to file
mcintyre94 7f2ecb6eab [CA-233454] PVS tab doesn't show a new VM when it's created (#1314)
* [CA-233454] PVS tab doesn't show a new VM when it's created

Refined the rules for not adding a VM to the table, if it is a template (thus not_a_real_vm), and it has the __gui__ prefix (thus hidden), we still add it, but hide it.
When its name is changed (to remove the __gui__ prefix), we update its name and re-calculate whether it should be visible (in the case of a new VM this will be true once the __gui__ prefix is gone). Also resort the table if a node changes from hidden to visible, because it appears as an addition to the table.

Signed-off-by: Callum McIntyre <callumiandavid.mcintyre@citrix.com>

* [CA-233454] Update criteria for VM visibility to include is_a_real_vm

is_a_template is changed before the name_label removes the __gui__ prefix, so this works with no other changes to the vm property changed event.

Signed-off-by: Callum McIntyre <callumiandavid.mcintyre@citrix.com>

* [CA-233454] Update when the VMs are shown in the PVS list

New observable property IsBeingCreated for VMs, set to true when they're made a hidden object, and false when they're removed from hidden objects (both in CreateVMAction). In the PVS Page when this is set to false, we re-evaluate whether a VM can be shown. This means that new VMs show here at the same time they're added to the tree (only different is tree refresh time), instead of far earlier (and before their networks were added).

Signed-off-by: Callum McIntyre <callumiandavid.mcintyre@citrix.com>

* [CA-233454] Set IsbeingCreated in the CreateVMFastAction

* [CA-233454] Properly support the VM Fast Create action

Further changes to CreateVMFastAction, to ensure it works with PVS tab - use the __gui__ prefix when the VM is created and then change it back just before showing.

* [CA-233454] Small logic adjustments/tidying up
2016-11-30 12:24:02 +00:00
Branding Add the branding for 6.0 to branding.sh and re-branding.sh 2016-10-21 10:58:32 +01:00
CFUValidator [Dotnet Upgrade] Convert all projects to use .net 4.6. All changes autogenerated by VS. 2016-09-29 10:50:24 +01:00
CommandLib [Dotnet Upgrade] Convert all projects to use .net 4.6. All changes autogenerated by VS. 2016-09-29 10:50:24 +01:00
devtools Enabled back the exection of devtools and improved the logging 2015-07-27 08:26:26 +01:00
dotNetInstaller [DotNet upgrade] Upgrade the XenCenter installer to use .net 4.6 2016-10-17 14:09:08 +01:00
mk Package the VNCControl.msi as a tar.bz2. 2016-11-29 14:34:45 +00:00
splash CP-16012: Rename branding variables 2016-02-10 11:52:30 +00:00
VNCControl CP-16012: Rename branding variables 2016-02-10 11:52:30 +00:00
WixInstaller [CA-153567] Hardcode of “XenCenter Shortcut” in All Programs list. 2016-11-10 17:20:59 +00:00
xe [DotNet upgrade] Upgrade the XenCenter installer to use .net 4.6 2016-10-17 14:09:08 +01:00
XenAdmin [CA-233454] PVS tab doesn't show a new VM when it's created (#1314) 2016-11-30 12:24:02 +00:00
XenAdminTests CA-218719: Context menu: confusing "(empty)" pool item when there are no connected pools 2016-11-11 17:04:08 +00:00
XenCenterLib CP-16012: Rename branding variables 2016-02-10 11:52:30 +00:00
XenCenterVNC [Dotnet Upgrade] Convert all projects to use .net 4.6. All changes autogenerated by VS. 2016-09-29 10:50:24 +01:00
XenModel [CA-233454] PVS tab doesn't show a new VM when it's created (#1314) 2016-11-30 12:24:02 +00:00
XenOvfApi [Dotnet Upgrade] Convert all projects to use .net 4.6. All changes autogenerated by VS. 2016-09-29 10:50:24 +01:00
XenOvfTransport CA-226817: Do not allow OVF/OVA import on a host incompatible with the VM's hardware 2016-10-27 16:03:16 +01:00
XenServerHealthCheck [Dotnet Upgrade] Convert all projects to use .net 4.6. All changes autogenerated by VS. 2016-09-29 10:50:24 +01:00
XenServerHealthCheckTests CP-13080: Run Health Check Tests as part of xenadmin build 2015-10-09 12:17:12 +08:00
xva_verify [Dotnet Upgrade] Convert all projects to use .net 4.6. All changes autogenerated by VS. 2016-09-29 10:50:24 +01:00
.gitattributes Ignore line endings for all files (except shell scripts). 2016-07-05 08:14:47 +01:00
.gitignore Made the build output less verbose by default and configured wget not to download files again if they already exists locally with the same datetime stamps. 2015-07-19 20:12:38 +01:00
ChangeLog CP-4807: Updated ChangeLog with version number; updated Readme file 2013-06-25 09:45:11 +01:00
configure.cmd Added choco installer for Visual Studio Express 2010 to the prepare.cmd file. 2015-06-30 12:41:54 +01:00
CONTRIB CP-7089: Switched to github workflow, hence updated CONTRIB, MAINTAINERS and README files. 2014-01-13 15:29:25 +00:00
LICENSE CP-4816: Initial commit to git repo 2013-06-24 12:41:48 +01:00
MAINTAINERS CP-7089: Switched to github workflow, hence updated CONTRIB, MAINTAINERS and README files. 2014-01-13 15:29:25 +00:00
README.md Update README.md 2016-01-08 09:55:25 +00:00
XenAdmin.sln CP-13080: Run Health Check Tests as part of xenadmin build 2015-10-09 12:17:12 +08:00

XenCenter

This repository contains the source code for XenCenter.

XenCenter is a Windows-based management tool for XenServer environments which enables users to manage and monitor XenServer hosts and resource pools, and to deploy, monitor, manage and migrate virtual machines.

XenCenter is written mostly in C#.

Contributions

The preferable way to contribute patches is to fork the repository on Github and then submit a pull request. If for some reason you can't use Github to submit a pull request, then you may send your patch for review to the xs-devel@lists.xenserver.org mailing list, with a link to a public git repository for review. Please see the CONTRIB.md file for some general guidelines on submitting changes.

License

This code is licensed under the BSD 2-Clause license. Please see the LICENSE file for more information.

How to build XenCenter

To build XenCenter, you need

  • the source from xenadmin repository
  • Visual Studio 2013

and also some libraries which we do not store in the source tree:

  • CookComputing.XmlRpcV2.dll
  • DiscUtils.dll
  • ICSharpCode.SharpZipLib.dll
  • Ionic.Zip.dll
  • log4net.dll

You can find the source code of these libraries (along with some patches) in dotnet-packages repository.

You also need NUnit libraries