os-cmpi-xen

view schema/Xen_ComputerSystemSettingData.mof @ 88:9a96ebba2b60

Added support for localtime, stdvga, OnPoweroff, OnReboot, and OnCrash to Xen_ComputerSystemSettingData.

Signed-off-by: Jim Fehlig <jfehlig@novell.com>
author Jim Fehlig <jfehlig@novell.com>
date Mon Feb 26 14:52:36 2007 -0700 (2007-02-26)
parents 4ae953dc7f33
children eb8803aa395b
line source
1 // Copyright (c) 2006 IBM. All rights reserved.
3 // ==================================================================
4 // Xen_ComputerSystemSettingData
5 // ==================================================================
6 [Provider ("cmpi:Xen_ComputerSystemSettingData"),
7 Description (
8 "A class derived from CIM_VirtualSystemSettingData to "
9 "represent the current and/or recorded settings of "
10 "a Xen domain.")]
11 class Xen_ComputerSystemSettingData : CIM_VirtualSystemSettingData
12 {
13 // [Write(false),
14 // Description("ID of Xen domain.")]
15 // uint32 ID;
17 // [Write(false),
18 // Description("SSID of Xen domain.")]
19 // uint32 SSID;
21 // [Description("Uptime of Xen domain.")]
22 // uint64 Uptime;
24 [Description ("Path to the kernel image.")]
25 string Kernel;
27 [Description ("Path to a ramdisk image.")]
28 string RAMDisk;
30 [Description ("Command line options to pass to the kernel.")]
31 string KernelOptions = "";
33 [Description ("Bootloader used to extract kernel for booting. "
34 "Examples are \"/usr/lib/xen/boot/domUloader.py\" or "
35 "\"/usr/bin/pygrub\". If Bootloader is specified, values "
36 "contained in Kernel and RAMDisk will be ignored.")]
37 string Bootloader;
39 [Description ("Options to pass to the bootloader specified in "
40 "property Bootloader.")]
41 string BootloaderOptions;
43 [Description ("String used to specify order of boot devices. "
44 "This property will only be examined by the instrumentation "
45 "when property VirtualSystemType is set to \"Xen HVM\". "
46 "BootOrder will be ignored for all other virtual system types.")]
47 string BootOrder;
49 [Description ("UUID assigned to this domain.")]
50 string UUID;
52 [Description ("Specify whether domain expects virtual hardware "
53 "clock to be in local time or UTC.")]
54 boolean localtime;
56 [Description ("Specify emulation of standard VGA instead of "
57 "cirrus logic.")]
58 boolean stdvga;
60 [Description ("Specify behavior when domain is powered-off"),
61 ValueMap { "0", "1", ".." },
62 Values { "Destroy", "Restart", "Reserved"}]
63 uint16 OnPoweroff;
65 [Description ("Specify behavior when domain is rebooted"),
66 ValueMap { "0", "1", ".." },
67 Values { "Destroy", "Restart", "Reserved"}]
68 uint16 OnReboot;
70 [Description ("Specify behavior when domain crashes"),
71 ValueMap { "0", "1", "2", "3", "4", "5", ".." },
72 Values { "Destroy", "Restart", "Core Dump and Destroy",
73 "Core Dump and Restart", "Preserve", "Rename and Restart",
74 "Reserved"}]
75 uint16 OnCrash;
77 };