Skip to content

Commit

Permalink
Merge pull request #3682 from michael2012z/private/fengyangz/CP-29084
Browse files Browse the repository at this point in the history
CP-29084: Rebranding XenServer to Citrix Hypervisor in Toolstack
  • Loading branch information
lindig committed Aug 30, 2018
2 parents 7b02afd + 127c5c9 commit 77e52dd
Show file tree
Hide file tree
Showing 14 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Xapi Project's XenAPI Management Toolstack
Xen API (or xapi) is a management stack that configures and controls
Xen-enabled hosts and resource pools, and co-ordinates resources
within the pool. Xapi exposes the Xen API interface for many
languages and is a component of the XenServer project.
languages and is a component of the Citrix Hypervisor project.
Xen API is written mostly in [OCaml](http://caml.inria.fr/ocaml/)
4.04.2

Expand Down
2 changes: 1 addition & 1 deletion ocaml/doc/basics.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# API Basics

This document defines the XenServer Management API - an interface for remotely
This document defines the Citrix Hypervisor Management API - an interface for remotely
configuring and controlling virtualised guests running on a Xen-enabled host.

The API is presented here as a set of Remote Procedure Calls (RPCs). There are
Expand Down
2 changes: 1 addition & 1 deletion ocaml/doc/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<div id="header"></div>
<div id="main">
<div id="container"><div id="content">
<h1 class="title">XenAPI Classes</h1>
<h1 class="title">API Classes</h1>
<p>Click on a class to view the associated fields and messages.</p>

<img src="classes.png" usemap="#graph" border="0" />
Expand Down
4 changes: 2 additions & 2 deletions ocaml/doc/templates/branding.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
*/

function make_title() {
document.write('<title>Citrix XenServer Management API</title>');
document.write('<title>Citrix Hypervisor Management API</title>');
}

function make_header(t) {
html = '<img src="http://citrix.com/site/resources/v4_includes/css/5.0/citrix_logo.gif" alt="Citrix" width="208px" height="36px" border="0" style="float:left">'
+ '<h1 style="float:left; font-size: 24px;"><a href="index.html">XenServer Management API</a></h1>'
+ '<h1 style="float:left; font-size: 24px;"><a href="index.html">Citrix Hypervisor Management API</a></h1>'
document.getElementById('header').innerHTML = html;
}

Expand Down
2 changes: 1 addition & 1 deletion ocaml/idl/datamodel.ml
Original file line number Diff line number Diff line change
Expand Up @@ -2633,7 +2633,7 @@ module VDI = struct
~in_product_since:rel_boston
~params:[Ref _vdi, "self", "The VDI which contains the database to open"]
~result:(Ref _session, "A session which can be used to query the database")
~doc:"Load the metadata found on the supplied VDI and return a session reference which can be used in XenAPI calls to query its contents."
~doc:"Load the metadata found on the supplied VDI and return a session reference which can be used in API calls to query its contents."
~allowed_roles:_R_POOL_OP
()

Expand Down
8 changes: 4 additions & 4 deletions ocaml/idl/datamodel_host.ml
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@ let host_query_ha = call ~flags:[`Session]
let call_plugin = call
~name:"call_plugin"
~in_product_since:rel_orlando
~doc:"Call a XenAPI plugin on this host"
~doc:"Call an API plugin on this host"
~params:[Ref _host, "host", "The host";
String, "plugin", "The name of the plugin";
String, "fn", "The name of the function within the plugin";
Expand All @@ -614,7 +614,7 @@ let host_query_ha = call ~flags:[`Session]
~name:"call_extension"
~in_product_since:rel_ely
~custom_marshaller:true
~doc:"Call a XenAPI extension on this host"
~doc:"Call an API extension on this host"
~params:[Ref _host, "host", "The host";
String, "call", "Rpc call for the extension";]
~result:(String, "Result from the extension")
Expand Down Expand Up @@ -1053,7 +1053,7 @@ let host_query_ha = call ~flags:[`Session]
let set_ssl_legacy = call
~name:"set_ssl_legacy"
~lifecycle:[Published, rel_dundee, ""]
~doc:"Enable/disable SSLv3 for interoperability with older versions of XenServer. When this is set to a different value, the host immediately restarts its SSL/TLS listening service; typically this takes less than a second but existing connections to it will be broken. XenAPI login sessions will remain valid."
~doc:"Enable/disable SSLv3 for interoperability with older server versions. When this is set to a different value, the host immediately restarts its SSL/TLS listening service; typically this takes less than a second but existing connections to it will be broken. API login sessions will remain valid."
~params:[
Ref _host, "self", "The host";
Bool, "value", "True to allow SSLv3 and ciphersuites as used in old XenServer versions";
Expand Down Expand Up @@ -1430,7 +1430,7 @@ let host_query_ha = call ~flags:[`Session]
field ~qualifier:DynamicRO ~lifecycle:[Published, rel_boston, ""] ~ty:(Set (Ref _pci)) "PCIs" "List of PCI devices in the host";
field ~qualifier:DynamicRO ~lifecycle:[Published, rel_boston, ""] ~ty:(Set (Ref _pgpu)) "PGPUs" "List of physical GPUs in the host";
field ~qualifier:DynamicRO ~lifecycle:[Published, rel_inverness, ""] ~ty:(Set (Ref _pusb)) "PUSBs" "List of physical USBs in the host";
field ~qualifier:StaticRO ~lifecycle:[Published, rel_dundee, ""] ~ty:Bool ~default_value:(Some (VBool true)) "ssl_legacy" "Allow SSLv3 protocol and ciphersuites as used by older XenServers. This controls both incoming and outgoing connections. When this is set to a different value, the host immediately restarts its SSL/TLS listening service; typically this takes less than a second but existing connections to it will be broken. XenAPI login sessions will remain valid.";
field ~qualifier:StaticRO ~lifecycle:[Published, rel_dundee, ""] ~ty:Bool ~default_value:(Some (VBool true)) "ssl_legacy" "Allow SSLv3 protocol and ciphersuites as used by older server versions. This controls both incoming and outgoing connections. When this is set to a different value, the host immediately restarts its SSL/TLS listening service; typically this takes less than a second but existing connections to it will be broken. API login sessions will remain valid.";
field ~qualifier:RW ~in_product_since:rel_tampa ~default_value:(Some (VMap [])) ~ty:(Map (String, String)) "guest_VCPUs_params" "VCPUs params to apply to all resident guests";
field ~qualifier:RW ~in_product_since:rel_cream ~default_value:(Some (VEnum "enabled")) ~ty:display "display" "indicates whether the host is configured to output its console to a physical display device";
field ~qualifier:DynamicRO ~in_product_since:rel_cream ~default_value:(Some (VSet [VInt 0L])) ~ty:(Set (Int)) "virtual_hardware_platform_versions" "The set of versions of the virtual hardware platform that the host can offer to its guests";
Expand Down
6 changes: 3 additions & 3 deletions ocaml/idl/datamodel_vm.ml
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ let power_behaviour =
let set_is_default_template = call
~name:"set_is_default_template"
~hide_from_docs:true
~lifecycle: [Published, rel_falcon, "Allows to define XenServer default templates"]
~lifecycle: [Published, rel_falcon, "Allows to define default templates"]
~doc:"Makes the specified VM a default template."
~params:[
Ref _vm, "vm", "The VM that will become a default template";
Expand Down Expand Up @@ -1111,7 +1111,7 @@ let power_behaviour =
let call_plugin = call
~name:"call_plugin"
~in_product_since:rel_cream
~doc:"Call a XenAPI plugin on this vm"
~doc:"Call an API plugin on this vm"
~params:[Ref _vm, "vm", "The vm";
String, "plugin", "The name of the plugin";
String, "fn", "The name of the function within the plugin";
Expand Down Expand Up @@ -1310,7 +1310,7 @@ let set_HVM_boot_policy = call ~flags:[`Session]

field ~ty:Int "user_version" "Creators of VMs and templates may store version information here.";
field ~effect:true ~ty:Bool "is_a_template" "true if this is a template. Template VMs can never be started, they are used only for cloning other VMs";
field ~ty:Bool ~default_value:(Some (VBool false)) ~qualifier:DynamicRO ~writer_roles:_R_POOL_ADMIN ~lifecycle:[Published, rel_falcon, "Identifies XenServer default templates"] "is_default_template" "true if this is a default template. Default template VMs can never be started or migrated, they are used only for cloning other VMs";
field ~ty:Bool ~default_value:(Some (VBool false)) ~qualifier:DynamicRO ~writer_roles:_R_POOL_ADMIN ~lifecycle:[Published, rel_falcon, "Identifies default templates"] "is_default_template" "true if this is a default template. Default template VMs can never be started or migrated, they are used only for cloning other VMs";
field ~qualifier:DynamicRO ~ty:(Ref _vdi) "suspend_VDI" "The VDI that a suspend image is stored on. (Only has meaning if VM is currently suspended)";

field ~writer_roles:_R_VM_POWER_ADMIN ~qualifier:DynamicRO ~ty:(Ref _host) "resident_on" "the host the VM is currently resident on";
Expand Down
2 changes: 1 addition & 1 deletion scripts/examples/python/shell.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,4 +114,4 @@ def munge_types (str):
sys.exit(3)
sys.exit(0)
else:
Shell().cmdloop('Welcome to the XenServer shell. (Try "VM.get_all")')
Shell().cmdloop('Welcome to the Citrix Hypervisor shell. (Try "VM.get_all")')
2 changes: 1 addition & 1 deletion scripts/motd
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@


XenServer simulator VM
Citrix Hypervisor simulator VM

Language bindings and examples are in /SDK

2 changes: 1 addition & 1 deletion scripts/xe-backup-metadata
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
trap "cleanup" TERM INT

if [ ! -e @INVENTORY@ ]; then
echo Must run on a XenServer host.
echo Must run on a Citrix Hypervisor host.
exit 1
fi

Expand Down
2 changes: 1 addition & 1 deletion scripts/xe-edit-bootloader
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# Script which lets you edit the grub.conf in a Linux guest virtual disk.

if [ ! -e @INVENTORY@ ]; then
echo Must run on a XenServer host.
echo Must run on a Citrix Hypervisor host.
exit 1
fi

Expand Down
2 changes: 1 addition & 1 deletion scripts/xe-restore-metadata
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Citrix Systems Inc, 2008

if [ ! -e @INVENTORY@ ]; then
echo Must run on a XenServer host.
echo Must run on a Citrix Hypervisor host.
exit 1
fi

Expand Down
2 changes: 1 addition & 1 deletion scripts/xe-set-iscsi-iqn
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ XE="@BINDIR@/xe"
configkey="iscsi_iqn"

if [ ! -f @INVENTORY@ ]; then
echo Error: Not a XenServer host
echo Error: Not a Citrix Hypervisor host
exit 1
fi

Expand Down
2 changes: 1 addition & 1 deletion scripts/xe-xentrace
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ done
SIZE=$((${SIZE_GB} * 1024 * 1024 * 1024))

if [ ! -e @INVENTORY@ ]; then
echo Must run on a XenServer host.
echo Must run on a Citrix Hypervisor host.
exit 1
fi

Expand Down

0 comments on commit 77e52dd

Please sign in to comment.