Ewan Mellor
6bd6a1390e
Fix missing bits of the docs from cset 14020, and match that change by removing
...
the similar fields on host_metrics, PIF_metrics, and VM_guest_metrics.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-27 01:52:27 +00:00
Ewan Mellor
b33bb1e4d9
Implementation of host_metrics.get_all, PIF_metrics.get_all, and docs and
...
bindings for many of the get_all methods elsewhere that Xend already
implemented.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-27 01:05:32 +00:00
Ewan Mellor
d8309d27a1
Added some more fields to host_cpu.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-27 00:37:27 +00:00
Ewan Mellor
f8b1ed8706
Remove unused network.default_{gateway,netmask}.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-26 00:07:14 +00:00
Ewan Mellor
51b6900b84
Redefine units of VDI.virtual_size to be bytes, not sectors.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-25 23:45:39 +00:00
Ewan Mellor
496ee4e22a
Added host.capabilities field.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-25 23:37:05 +00:00
Ewan Mellor
d8f5871da1
Replace VM.tools_version with a richer VM_guest_metrics class.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-25 23:17:14 +00:00
Ewan Mellor
719e521fa2
Added documentation and C bindings for VBD/VIF.status_detail, status_code, and
...
currently_attached fields. Not yet implemented.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-25 22:47:29 +00:00
Ewan Mellor
9421735453
Added a VM.domid field.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-25 22:31:43 +00:00
Ewan Mellor
5baa3458c5
Added host.API_version_{major,minor,vendor,vendor_implementation} fields.
...
Fix missing host.other_config from the record returned by Xend.
Improve the error diagnosis when we catch TypeError.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-25 17:20:51 +00:00
Ewan Mellor
b0a0faf30a
Added VBD. and VIF.qos_supported_algorithms fields, with C bindings, Xend
...
implementation to follow.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-21 23:03:00 +00:00
Keir Fraser
6948b54199
dump-core: documentation on its format.
...
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp >
2007-02-24 14:33:34 +00:00
Ewan Mellor
160d895b13
Added host.supported_bootloaders field.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-20 22:54:30 +00:00
Ewan Mellor
c24f2b2bec
Remove host.create and host.destroy -- these never made any sense.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-20 22:46:21 +00:00
Ewan Mellor
1a84dd141d
Added modelling and C bindings for VIF/VBD QoS parameter setting. No Xend
...
implementation yet.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-20 22:40:55 +00:00
Ewan Mellor
fa4627735b
Split the VIF I/O statistics fields out into a VIF_metrics class. Implement
...
this in Xend, and fix the VBD_metrics implementation. Implement C bindings
also.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-20 21:55:11 +00:00
Ewan Mellor
d8d0f7d08c
Split the VBD I/O statistics out into a VBD_metrics class. Document the
...
VBD.type field, and add it to the C bindings (this was already in Xend).
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-20 21:28:19 +00:00
Ewan Mellor
c2592685ff
Added Console.other_config to the docs (Xend already has this).
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-20 19:38:24 +00:00
Ewan Mellor
cdbec983af
Rename Console.uri to location. Xend already uses the latter.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-20 19:23:28 +00:00
Ewan Mellor
ada588411f
Remove VM.VCPUs_number and VM.VCPUs_utilisation as these have moved onto the
...
VM_metrics class. Remove VM_metrics.VM -- the backreference is unnecessary
and awkward to deal with.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-20 16:30:24 +00:00
Ewan Mellor
d5ae26ac7a
Replace the X_HANDLE_INVALID error codes with a single HANDLE_INVALID that
...
names the class as a parameter.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-20 15:24:01 +00:00
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