Commit Graph
374 Commits
Author SHA1 Message Date
Ewan Mellor 8389ab43f5 Added host.dmesg method.
Also, fixed all of the host methods, which had been broken by the introduction
of the host_metrics class.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-02-02 10:25:17 +00:00
Ewan Mellor d650ce4366 Remove VM_power_state value ShuttingDown. This should be indicated with
an in-progress task, when known.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-02-02 10:07:58 +00:00
Ewan Mellor 73c92d7bb2 Change VM.HVM_boot to VM.HVM_boot_policy and VM.HVM_boot_params.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-02-01 11:55:31 +00:00
Ewan Mellor 8a3405e402 Added VM_metrics class, taking some of the fields from VM. Make VM.static_max
and static_min read-write.  Added VM.VCPUs/{max,at_startup}.  Make
VM.VCPUs/params a string -> string map.

This is the modelling, the C bindings, and the message file -- Xend support to
follow.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-30 18:30:18 +00:00
Ewan Mellor 77442ed1d3 Added task.session field.
Fix session.get_by_uuid and get_uuid, and remove session.get_all.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-30 16:09:16 +00:00
Ewan Mellor 899dc94915 Added VM.is_control_domain field.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-30 15:27:10 +00:00
kaf24@localhost.localdomain a36b1fbb02 Align vTPM support in the Xen-API, documentation and lib-xen
(after the recent changes).

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
2007-01-30 14:51:05 +00:00
Ewan Mellor e9363fa86b Added host_metrics class.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-30 13:46:46 +00:00
Ewan Mellor 93775fde38 Added modelling and C bindings for crashdumps, and suspend VDIs.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-30 12:43:40 +00:00
Ewan Mellor f1efb233c1 Added host.logging, to hold server-side logging configuration.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-30 12:31:20 +00:00
Ewan Mellor 9057060b19 Added host.other_config.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-30 01:23:58 +00:00
Ewan Mellor e9ee2b1071 Remove VM.actions_after_suspend, which never made any sense.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-30 00:34:31 +00:00
Ewan Mellor ff9fb017b3 Remove the CPU feature handling, unimplementable as it stands.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-30 00:10:05 +00:00
Ewan Mellor 0c787417a5 Document PIF_HANDLE_INVALID and PIF_METRICS_HANDLE_INVALID.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-29 19:04:54 +00:00
Ewan Mellor bc1f80dd2c Move the io bandwidth fields from PIF onto a new PIF_metrics class.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-29 19:00:48 +00:00
Ewan Mellor 32890a0e31 Fix documentation so that the connection objects (PIF, VBD, and VIF) are
connected to their referands through StaticRO fields.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-29 14:52:27 +00:00
Ewan Mellor 3c828fdc18 Added modelling and C bindings for the PBD class. PBDs are the analogue of
PIFs, indicating how an SR is attached to a host.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-29 13:17:53 +00:00
Ewan Mellor a698e69d29 Tidy-ups; no semantic-change.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-29 13:16:00 +00:00
Ewan Mellor 826c1590e8 Remove VIF.name from the documentation, matching recent change to Xend.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-29 12:57:49 +00:00
Ewan Mellor 8ed82355a0 Remove the VDI.parent and VDI.children fields -- this needs more thinking out,
and cannot be supported in this form.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-29 12:19:40 +00:00
Ewan Mellor 22309ac566 Rename VM.otherConfig to VM.other_config, for consistency with the other fields,
and implement add_to_other_config and remove_from_other_config in the C
bindings.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-29 12:11:13 +00:00
Ewan Mellor fbe0a45886 Remove VBD.driver, VIF.type, VIF.name, VTPM.driver. This modelling was never
correct, and the values are best left implicit.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-29 00:05:40 +00:00
Ewan Mellor 83bd001dc6 Document TASK_HANDLE_INVALID.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-28 23:07:37 +00:00
Ewan Mellor 063417a54b Add task.allowed_operations field, and task.cancel message. The
task_status_type enum has gained cancelling and cancelled values.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-28 18:05:13 +00:00
Ewan Mellor e9d603068b Made task.name_* read-only (these are set by Xend) and drop task.eta.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-28 17:33:50 +00:00
Ewan Mellor e0ad524018 Make session.this_host and session.this_user ROrun -- they are implicitly set
by a call to session.login_with_password, and cannot be created through a
constructor.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-28 17:21:37 +00:00
Ewan Mellor bdafeefd69 Added a VBD.bootable flag.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-28 17:11:40 +00:00
Ewan Mellor e32e2f1314 Document new error codes VLAN_TAG_INVALID and PIF_IS_PHYSICAL.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-28 13:50:56 +00:00
Ewan Mellor bd16434c05 Document existing PIF.create_VLAN, and remove PIF.create (PIFs are implicitly
created from the physical host configuration).

Change PIF.name to PIF.device, for consistency with other uses, and make
PIF.VLAN an int.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-28 13:40:07 +00:00
Ewan Mellor 8359e64538 Integrate the Xen-API doc into the build.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-27 18:26:41 +00:00
Ewan Mellor a95d80318e Minor tidy-up.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-27 15:02:00 +00:00
kfraser@localhost.localdomain edf5361fb2 Add scheduler name to 'xm info' output.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
2007-01-17 14:54:06 +00:00
kfraser@localhost.localdomain 671248b38b Document vfb configuration.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2007-01-17 14:03:12 +00:00
Ewan Mellor a8ca4c264c This fixes the xen-api documentation latex-compilation.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
2007-01-11 18:54:09 +00:00
Ewan Mellor 4faade7465 Fix examples to have correct class names and error handling.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-05 15:52:58 +00:00
Ewan Mellor 66e0f08171 Added session.last_active field. Removed the constructors and destructors for
session and task classes -- these are implicitly added and removed, so we
should not have explicit constructors and destructors for them.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-05 15:51:39 +00:00
Ewan Mellor a76d47f9b7 Added NETWORK_ALREADY_CONNECTED error code to the documentation.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-05 15:50:20 +00:00
Ewan Mellor 79a9f1f484 Rename the 3DNOW and 3DNOWEXT API constants to THREEDNOW, so that they may be
used directly as identifiers in bindings.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-05 15:34:47 +00:00
Ewan Mellor dcd6000dae Improve the documentation of the set add/remove methods.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-12-28 16:14:48 +00:00
Ewan Mellor 17afe524e1 Added the BAD_VM_STATE error code, and tidy up the error code section.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-12-25 18:44:27 +00:00
Ewan Mellor a99ec19fc3 Fix escaping.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-12-23 11:37:01 +00:00
Ewan Mellor 0883cc63a1 Fix description of ErrorDescription to be all strings, and update the examples.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-12-22 11:49:19 +00:00
Ewan Mellor 0317e15cfc More error codes.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-12-21 17:38:02 +00:00
Ewan Mellor 3f30d0805d Document a few error codes.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-12-21 13:12:09 +00:00
Ewan Mellor cc3b3deb34 Document recent changes to the booting API, introducing PV and HVM groups in
favour of the old kernel / BIOS sections.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-12-21 13:11:24 +00:00
Ewan Mellor 12e12aa8f9 Added VM.set_VCPUs_features_force_on, VM.set_VCPUs_features_force_off,
VM.set_otherConfig.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-12-06 16:33:48 +00:00
Ewan Mellor a784042736 Make VM.VCPUs.number a writable field.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-12-06 16:26:53 +00:00
Ewan Mellor af87afdaaf Added VBD.type field (CD or Disk).
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-12-06 15:45:09 +00:00
Ewan Mellor 76b9ef8804 Add extra detail to the VM.destroy description.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-12-06 15:42:28 +00:00
Ewan Mellor b916a8f279 Add VM.auto_power_on field.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-12-06 15:40:26 +00:00