Ewan Mellor
f397e61b89
Added uuid to the PIF record.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-01-30 13:51:45 +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
kaf24@localhost.localdomain
5d63cf3871
Fix passing keymap parameter to xen-vncfb.
...
Signed-off-by: Takanori Kasai <kasai.takanori@jp.fujitsu.com >
2007-01-30 13:42:19 +00:00
Alastair Tse
52c24132c3
[XEND] Fix bootable flag bypass in XendConfig
...
Signed-off-by: Alastair Tse <atse@xensource.com >
2007-01-30 11:56:27 +00:00
Alastair Tse
9fd37a7622
[XEND] Unparsable VLAN numbers should default to -1
...
Signed-off-by: Alastair Tse <atse@xensource.com >
2007-01-30 11:37:18 +00:00
Ewan Mellor
4708b773f5
Set the log level back to WARN, reverting accidentally committed change.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-01-30 11:14:23 +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
2ee3755575
Remove XEN_API_CPU_FEATURE enum.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-01-30 00:36:43 +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
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
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
c7f15f456a
Added TASK_HANDLE_INVALID to the messages file.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-01-28 23:06:21 +00:00
Ewan Mellor
02f22726b5
Tidy up the VBD API calls.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-01-28 23:05:59 +00:00
Ewan Mellor
6a288c4b02
Match recent changes to the task class in XenAPI with the get_record call here.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-01-28 18:39:17 +00:00
Ewan Mellor
fcbd69e648
Fix bootloader handling.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-01-28 18:38:47 +00:00
Ewan Mellor
1e382e1113
Fix the handling of MESSAGE_METHOD_UNKNOWN, MESSAGE_PARAMETER_COUNT_MISMATCH,
...
through the AsyncProxy.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-01-28 18:37:42 +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
f3ca404628
Fix interface_name() after change of definition for the vlan field.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-01-28 15:55:55 +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
kfraser@localhost.localdomain
d0ee673709
Fix 'xm create' and 'xm start' when SEDF scheduler is used.
...
If the Xen is running with the sedf scheduler, the following functions
do not call the domain_sched_credit_set().
- domain_create()
- domain_create_from_dict()
- domain_start()
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com >
2007-01-29 10:55:20 +00:00
kaf24@localhost.localdomain
ab8a76bc76
To avoid problems (hang) when doing migration, the Console Controller
...
needs to implement a (dummy) migrate method.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com >
2007-01-28 09:47:22 +00:00
kaf24@localhost.localdomain
455ce559c5
Allow 'xm create' to set scheduling parameters.
...
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com >
2007-01-28 09:37:18 +00:00
kaf24@localhost.localdomain
4e109e6d68
Reject xm sched-* comands for other than the in-use scheduler.
...
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com >
2007-01-28 09:35:00 +00:00
Alastair Tse
247a0089e5
[XEND] Hook in utilisation statistics into Xen API calls.
...
Change PIF to be indexed by device name rather than the interface
number.
Signed-off-by: Alastair Tse <atse@xensource.com >
2007-01-26 15:45:51 +00:00
Alastair Tse
68da406e51
[XEND] Floats for not need to be stringified in Xen API.
...
Signed-off-by: Alastair Tse <atse@xensource.com >
2007-01-26 15:44:41 +00:00
Alastair Tse
f3ada9be62
[XENAPI] Add an example to start HVM guests via the Xen API.
...
Signed-off-by: Alastair Tse <atse@xensource.com >
2007-01-26 15:42:21 +00:00
Alastair Tse
de2d2231bf
[XENAPI] Make server uri easily configurable via ENV or CLI opts.
...
Add a vm-stat command that just polls a vm for instantaneous statistics.
Signed-off-by: Alastair Tse <atse@xensource.com >
2007-01-26 15:41:16 +00:00
Alastair Tse
418a137077
[XEND] Add missing ConsoleController.py
...
Signed-off-by: Alastair Tse <atse@xensource.com >
2007-01-26 02:44:35 +00:00
Alastair Tse
690dd07a38
[XEND] Preliminary console support in Xen API
...
Made serial/vnc consoles a 'fake' device so that we can take advantage
of storing state information in xenstore.
Signed-off-by: Alastair Tse <atse@xensource.com >
2007-01-25 18:54:25 +00:00
Alastair Tse
4b3c5bc127
[XEND] Fix HVM guest creation via Xen API
...
Fixed some of the type declarations for HVM devices, add better
handling for type mismatch errors.
Signed-off-by: Alastair Tse <atse@xensource.com >
2007-01-25 18:50:08 +00:00
Alastair Tse
b41243501b
[XEND] Fix bad patch merge for XendMonitor
...
Signed-off-by: Alastair Tse <atse@xensource.com >
2007-01-25 17:00:18 +00:00
Alastair Tse
2f8bdad823
[XEND] Ignore socket.shutdown() exceptions
...
Add further comments about why that shutdown() exists.
Signed-off-by: Alastair Tse <atse@xensource.com >
2007-01-25 14:52:36 +00:00
Alastair Tse
a68b530fa7
[XEND] Allow TCP XMLRPC address:port to be configured, if enabled.
...
Signed-off-by: Alastair Tse <atse@xensource.com >
2007-01-25 11:58:00 +00:00
Ewan Mellor
a5ae2bb063
Have the sxp parsing cope when the cpus field is a list, which can happen
...
after a reboot.
From Daniele Palumbo <daniele@retaggio.net >.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-01-25 10:34:17 +00:00
Alastair Tse
f3dac803d3
[XEND] Remove usage of set() in XendMonitor as it is a py2.4+ feature
...
Signed-off-by: Alastair Tse <atse@xensource.com >
2007-01-25 10:29:33 +00:00
Alastair Tse
ba01378600
[XEND] Fix typo in XendNode
...
Signed-off-by: Alastair Tse <atse@xensource.com >
2007-01-24 18:06:14 +00:00
Ewan Mellor
787ef778e4
Fix device reordering that occurs when the config gets read into dictionaries.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-01-24 16:48:41 +00:00
Alastair Tse
16324b1aff
[XEND] Add debug class to Xen API plus non-standard debug.wait().
...
debug.wait(seconds) will just do a time.sleep() so the task progress
support can be tested.
Signed-off-by: Alastair Tse <atse@xensource.com >
2007-01-24 15:59:09 +00:00
Alastair Tse
7d65668740
[XEND] Move decorate() to XendAPI.__new__ and have a static flag to
...
ensure it only runs at instantiation time, and only once per Xend
instance. Otherwise, decorate() runs on every invocation of
/usr/sbin/xend, even if it is xend stop.
Signed-off-by: Alastair Tse <atse@xensource.com >
2007-01-24 15:57:10 +00:00
Alastair Tse
2478f46117
[XENAPI] Make test script attempt to login with blank credentials
...
before prompting for passwords.
Signed-off-by: Alastair Tse <atse@xensource.com >
2007-01-24 15:52:26 +00:00
Alastair Tse
64444f844e
[XEND] Cleanup old domains in statistics monitor.
...
Signed-off-by: Alastair Tse <atse@xensource.com >
2007-01-24 15:50:58 +00:00
Alastair Tse
673b964755
[XENAPI] Add vif-list to xapi.py script
...
Signed-off-by: Alastair Tse <atse@xensource.com >
2007-01-24 15:50:02 +00:00
Alastair Tse
464ed488c6
[XEND] Output exception to log files if XendAPI fails to instantiate.
...
Signed-off-by: Alastair Tse <atse@xensource.com >
2007-01-24 15:49:32 +00:00
Alastair Tse
b712f9023e
[XENAPI] Update test scripts to move from VBD.image to creating VDI's
...
with the uri attribute.
Signed-off-by: Alastair Tse <atse@xensource.com >
2007-01-24 15:48:58 +00:00
Alastair Tse
d3cc627bf9
[XEND] Add support for multiple storage repositories.
...
Splits XendStorageRepository into a helper class and
XendQCowStorageRepo as the QCoW File backed repository. This gives us
the opportunity to introduce a pseudo storage repository to represent
the old way of specifying block devices. This is the
XendLocalStorageRepo.
Note that this still introduces a non-Xen API 'uri' attribute to VDIs
in order to support querying VDIs for their actual location relative
to the Xen host.
The QCoW backed repository is now named QCoW, and the pseudo-SR is
named Local.
This removes the 'image' attribute backwards-compat hack in VBDs in
the Xen API.
Signed-off-by: Alastair Tse <atse@xensource.com >
2007-01-24 15:47:31 +00:00