XCP-ng Center, the Windows management console for XCP-ng and XenServer. /!\ EOL-Notice /!\ Community-maintained only /!\
Go to file
Konstantina Chremmou af832f23cf
Merge pull request #2848 from kc284/datasources
* 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.
2021-08-10 14:43:05 +01:00
Branding Tests fixes and minor refactoring: 2021-07-30 17:17:54 +01:00
CFUValidator Corrected OO design for CFU validators and decorators and compacted code. 2021-06-09 15:52:10 +01:00
CommandLib CP-36392 pt.1: Removed unused using directives. 2021-04-07 10:04:47 +01:00
packages Upgraded log4net to 2.0.12. 2021-04-09 09:16:01 +01:00
scripts CA-355166: Updated help links. 2021-06-08 15:56:29 +01:00
splash CP-35478: Rebranding effort 2021-01-26 15:44:43 +00:00
WixInstaller CA-355182: Removed obsolete RPU hotfixes. 2021-06-08 15:55:52 +01:00
xe CP-36392 pt.1: Removed unused using directives. 2021-04-07 10:04:47 +01:00
XenAdmin Merge pull request #2848 from kc284/datasources 2021-08-10 14:43:05 +01:00
XenAdminTests Merge pull request #2824 from kc284/wlb 2021-08-10 14:34:17 +01:00
XenCenterLib Merge remote-tracking branch 'upstream/master' into feature/hyperman 2021-05-25 15:51:42 +01:00
XenModel Merge pull request #2848 from kc284/datasources 2021-08-10 14:43:05 +01:00
XenOvfApi Corrected log files path and removed obsolete log file settings from XenOvfApi. 2021-07-30 17:17:54 +01:00
XenServerHealthCheck Merge remote-tracking branch 'upstream/master' into feature/hyperman 2021-05-25 15:51:42 +01:00
XenServerHealthCheckTests CA-176169: Further copyright statement changes 2017-01-18 17:07:59 +00:00
xva_verify CP-36392 pt.1: Removed unused using directives. 2021-04-07 10:04:47 +01:00
.gitattributes Ignore line endings for all files (except shell scripts). 2016-07-05 08:14:47 +01:00
.gitignore Restored branding.sh for local build. 2021-02-17 14:45:36 +00:00
.travis.yml Script consolidation and partial port to PowerShell. 2020-03-04 12:40:20 +00:00
AddManifest.targets Created re-usable project target to add manifest to an assembly. Be specific about the mt executable to use. 2021-02-16 10:07:46 +00:00
ChangeLog CP-4807: Updated ChangeLog with version number; updated Readme file 2013-06-25 09:45:11 +01:00
CONTRIB CP-7089: Switched to github workflow, hence updated CONTRIB, MAINTAINERS and README files. 2014-01-13 15:29:25 +00:00
Jenkinsfile Bumped pipeline version. 2021-08-10 14:09:49 +01:00
LICENSE CA-176169: Copyright statement: Added comma at all places where it was still missing (all extensions now) 2017-01-18 17:13:09 +00:00
MAINTAINERS Bringing the MAINTAINERS file up to date. Matches my proposed changes to the dotnet-packages. 2018-10-26 10:51:40 +03:00
README.md CP-32921: Target .NET Framework 4.8 and build using VS2019 tools. 2020-05-19 23:10:41 +01:00
XenAdmin.sln Moved the OVF actions to XenModel and removed what was left from XenOvfTransport. 2020-10-07 13:22:33 +01:00

XenCenter

Build Status Lines of Code

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/.