Skip to content

Commit 77e52dd

Browse files
authored
Merge pull request #3682 from michael2012z/private/fengyangz/CP-29084
CP-29084: Rebranding XenServer to Citrix Hypervisor in Toolstack
2 parents 7b02afd + 127c5c9 commit 77e52dd

File tree

14 files changed

+20
-20
lines changed

14 files changed

+20
-20
lines changed

README.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Xapi Project's XenAPI Management Toolstack
88
Xen API (or xapi) is a management stack that configures and controls
99
Xen-enabled hosts and resource pools, and co-ordinates resources
1010
within the pool. Xapi exposes the Xen API interface for many
11-
languages and is a component of the XenServer project.
11+
languages and is a component of the Citrix Hypervisor project.
1212
Xen API is written mostly in [OCaml](http://caml.inria.fr/ocaml/)
1313
4.04.2
1414

ocaml/doc/basics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# API Basics
22

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

66
The API is presented here as a set of Remote Procedure Calls (RPCs). There are

ocaml/doc/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
<div id="header"></div>
3434
<div id="main">
3535
<div id="container"><div id="content">
36-
<h1 class="title">XenAPI Classes</h1>
36+
<h1 class="title">API Classes</h1>
3737
<p>Click on a class to view the associated fields and messages.</p>
3838

3939
<img src="classes.png" usemap="#graph" border="0" />

ocaml/doc/templates/branding.mustache

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@
1313
*/
1414

1515
function make_title() {
16-
document.write('<title>Citrix XenServer Management API</title>');
16+
document.write('<title>Citrix Hypervisor Management API</title>');
1717
}
1818

1919
function make_header(t) {
2020
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">'
21-
+ '<h1 style="float:left; font-size: 24px;"><a href="index.html">XenServer Management API</a></h1>'
21+
+ '<h1 style="float:left; font-size: 24px;"><a href="index.html">Citrix Hypervisor Management API</a></h1>'
2222
document.getElementById('header').innerHTML = html;
2323
}
2424

ocaml/idl/datamodel.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2633,7 +2633,7 @@ module VDI = struct
26332633
~in_product_since:rel_boston
26342634
~params:[Ref _vdi, "self", "The VDI which contains the database to open"]
26352635
~result:(Ref _session, "A session which can be used to query the database")
2636-
~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."
2636+
~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."
26372637
~allowed_roles:_R_POOL_OP
26382638
()
26392639

ocaml/idl/datamodel_host.ml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,7 @@ let host_query_ha = call ~flags:[`Session]
591591
let call_plugin = call
592592
~name:"call_plugin"
593593
~in_product_since:rel_orlando
594-
~doc:"Call a XenAPI plugin on this host"
594+
~doc:"Call an API plugin on this host"
595595
~params:[Ref _host, "host", "The host";
596596
String, "plugin", "The name of the plugin";
597597
String, "fn", "The name of the function within the plugin";
@@ -614,7 +614,7 @@ let host_query_ha = call ~flags:[`Session]
614614
~name:"call_extension"
615615
~in_product_since:rel_ely
616616
~custom_marshaller:true
617-
~doc:"Call a XenAPI extension on this host"
617+
~doc:"Call an API extension on this host"
618618
~params:[Ref _host, "host", "The host";
619619
String, "call", "Rpc call for the extension";]
620620
~result:(String, "Result from the extension")
@@ -1053,7 +1053,7 @@ let host_query_ha = call ~flags:[`Session]
10531053
let set_ssl_legacy = call
10541054
~name:"set_ssl_legacy"
10551055
~lifecycle:[Published, rel_dundee, ""]
1056-
~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."
1056+
~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."
10571057
~params:[
10581058
Ref _host, "self", "The host";
10591059
Bool, "value", "True to allow SSLv3 and ciphersuites as used in old XenServer versions";
@@ -1430,7 +1430,7 @@ let host_query_ha = call ~flags:[`Session]
14301430
field ~qualifier:DynamicRO ~lifecycle:[Published, rel_boston, ""] ~ty:(Set (Ref _pci)) "PCIs" "List of PCI devices in the host";
14311431
field ~qualifier:DynamicRO ~lifecycle:[Published, rel_boston, ""] ~ty:(Set (Ref _pgpu)) "PGPUs" "List of physical GPUs in the host";
14321432
field ~qualifier:DynamicRO ~lifecycle:[Published, rel_inverness, ""] ~ty:(Set (Ref _pusb)) "PUSBs" "List of physical USBs in the host";
1433-
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.";
1433+
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.";
14341434
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";
14351435
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";
14361436
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";

ocaml/idl/datamodel_vm.ml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ let power_behaviour =
299299
let set_is_default_template = call
300300
~name:"set_is_default_template"
301301
~hide_from_docs:true
302-
~lifecycle: [Published, rel_falcon, "Allows to define XenServer default templates"]
302+
~lifecycle: [Published, rel_falcon, "Allows to define default templates"]
303303
~doc:"Makes the specified VM a default template."
304304
~params:[
305305
Ref _vm, "vm", "The VM that will become a default template";
@@ -1111,7 +1111,7 @@ let power_behaviour =
11111111
let call_plugin = call
11121112
~name:"call_plugin"
11131113
~in_product_since:rel_cream
1114-
~doc:"Call a XenAPI plugin on this vm"
1114+
~doc:"Call an API plugin on this vm"
11151115
~params:[Ref _vm, "vm", "The vm";
11161116
String, "plugin", "The name of the plugin";
11171117
String, "fn", "The name of the function within the plugin";
@@ -1310,7 +1310,7 @@ let set_HVM_boot_policy = call ~flags:[`Session]
13101310

13111311
field ~ty:Int "user_version" "Creators of VMs and templates may store version information here.";
13121312
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";
1313-
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";
1313+
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";
13141314
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)";
13151315

13161316
field ~writer_roles:_R_VM_POWER_ADMIN ~qualifier:DynamicRO ~ty:(Ref _host) "resident_on" "the host the VM is currently resident on";

scripts/examples/python/shell.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,4 +114,4 @@ def munge_types (str):
114114
sys.exit(3)
115115
sys.exit(0)
116116
else:
117-
Shell().cmdloop('Welcome to the XenServer shell. (Try "VM.get_all")')
117+
Shell().cmdloop('Welcome to the Citrix Hypervisor shell. (Try "VM.get_all")')

scripts/motd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22

3-
XenServer simulator VM
3+
Citrix Hypervisor simulator VM
44

55
Language bindings and examples are in /SDK
66

scripts/xe-backup-metadata

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
trap "cleanup" TERM INT
66

77
if [ ! -e @INVENTORY@ ]; then
8-
echo Must run on a XenServer host.
8+
echo Must run on a Citrix Hypervisor host.
99
exit 1
1010
fi
1111

0 commit comments

Comments
 (0)