af832f23cf
* DataSet field Uuid is not really a uuid. Renamed to Id to avoid misunderstandings. * Renamed properties DataSet.Type and DataSourceItem.DataType to Category. The old name was not reflecting what they were. * Renamed property DataSet.TypeString to DataSet.DataSourceName so it reflects better what it is. * Renamed property DataSet.Name to DataSet.FriendlyName for clarity. Removed duplicate string.Format() call. * The DataSourceItem.Uuid is not really a uuid. Renamed it to Id to avoid misunderstandings. Also, compacted DataSourceItem constructors. * Removed unused and duplicate properties. - DataKey.Hide was unused. Once removed, DataSet.Deselected was unused, hence was also removed. - Dataset.Draw was duplicating DataSet.Show, hence was removed. - DataSet.NeverShow is not necessary, DataSet.Hide can be used both for datasources that should not be shown at all as well as datasources that are wrong for this object. * Made DataSet.FriendlyName a get-only property and compacted repetitive code. * Use the Helpers regular expressions for assigning the datasource category. * Removed id from the DataSet constructor parameters. It can be constructed from the XenObject and the datasource name. * Compacted the code for readability (it was difficult to follow the build of the URIs). Also, removed use of Helper.GetUuid to avoid the use of reflection. Minimised casts. * CP-36567: Use the datasource units as specified in the API instead of deducing them from the datasource name. - Also, merged static method DataSet.Create into the DataSet constructor. - Minor restructuring of the ArchiveMaintainer file (moved all private fields and properties closer together). - Added new resource file so the units can be separated from Messages. |
||
---|---|---|
Branding | ||
CFUValidator | ||
CommandLib | ||
packages | ||
scripts | ||
splash | ||
WixInstaller | ||
xe | ||
XenAdmin | ||
XenAdminTests | ||
XenCenterLib | ||
XenModel | ||
XenOvfApi | ||
XenServerHealthCheck | ||
XenServerHealthCheckTests | ||
xva_verify | ||
.gitattributes | ||
.gitignore | ||
.travis.yml | ||
AddManifest.targets | ||
ChangeLog | ||
CONTRIB | ||
Jenkinsfile | ||
LICENSE | ||
MAINTAINERS | ||
README.md | ||
XenAdmin.sln |
XenCenter
This repository contains the source code for XenCenter.
XenCenter is a Windows-based management tool for Citrix Hypervisor environments, which enables users to manage and monitor server 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 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 2019
- .NET Framework 4.8
and also some libraries which we do not store in the source tree:
- CookComputing.XmlRpcV2.dll
- Newtonsoft.Json.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.
To run the NUnit tests you will need the following libraries:
- nunit.framework.dll
- Moq.dll
which can be obtained from http://www.nuget.org/.