VirtualBox

source: vbox/trunk/src/VBox/ValidationKit/common/constants/tbreq.py@ 56374

Last change on this file since 56374 was 56374, checked in by vboxsync, 9 years ago

ValidationKit: Added option for skipping raw-mode tests based on testbox config or VirtualBox build. (untested)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.8 KB
Line 
1# -*- coding: utf-8 -*-
2# $Id: tbreq.py 56374 2015-06-11 18:48:31Z vboxsync $
3
4"""
5Test Manager Requests from the TestBox Script.
6"""
7
8__copyright__ = \
9"""
10Copyright (C) 2012-2015 Oracle Corporation
11
12This file is part of VirtualBox Open Source Edition (OSE), as
13available from http://www.virtualbox.org. This file is free software;
14you can redistribute it and/or modify it under the terms of the GNU
15General Public License (GPL) as published by the Free Software
16Foundation, in version 2 as it comes in the "COPYING" file of the
17VirtualBox OSE distribution. VirtualBox OSE is distributed in the
18hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
19
20The contents of this file may alternatively be used under the terms
21of the Common Development and Distribution License Version 1.0
22(CDDL) only, as it comes in the "COPYING.CDDL" file of the
23VirtualBox OSE distribution, in which case the provisions of the
24CDDL are applicable instead of those of the GPL.
25
26You may elect to license modified versions of this file under the
27terms and conditions of either the GPL or the CDDL or both.
28"""
29__version__ = "$Revision: 56374 $"
30
31
32## @name Test Manager actions
33# @{
34## TestBox sign-on.
35SIGNON = 'SIGNON'
36## TestBox request for a command while busy (EXEC).
37REQUEST_COMMAND_BUSY = 'REQUEST_COMMAND_BUSY'
38## TestBox request for a command while idling.
39REQUEST_COMMAND_IDLE = 'REQUEST_COMMAND_IDLE'
40## TestBox ACKs a command.
41COMMAND_ACK = 'COMMAND_ACK'
42## TestBox NACKs a command.
43COMMAND_NACK = 'COMMAND_NACK'
44## TestBox NACKs an unsupported command.
45COMMAND_NOTSUP = 'COMMAND_NOTSUP'
46## TestBox adds to the main log.
47LOG_MAIN = 'LOG_MAIN'
48## TestBox uploads a file to the current test result.
49UPLOAD = 'UPLOAD'
50## TestBox reports completion of an EXEC command.
51EXEC_COMPLETED = 'EXEC_COMPLETED'
52## Push more "XML" results to the server.
53XML_RESULTS = 'XML_RESULTS';
54## @}
55
56
57## @name Parameters for all actions.
58# @{
59ALL_PARAM_ACTION = 'ACTION'
60ALL_PARAM_TESTBOX_ID = 'TESTBOX_ID' ##< Not supplied by SIGNON.
61ALL_PARAM_TESTBOX_UUID = 'TESTBOX_UUID'
62## @}
63
64## @name SIGNON parameters.
65# @{
66SIGNON_PARAM_OS = 'OS';
67SIGNON_PARAM_OS_VERSION = 'OS_VERSION';
68SIGNON_PARAM_CPU_VENDOR = 'CPU_VENDOR';
69SIGNON_PARAM_CPU_ARCH = 'CPU_ARCH';
70SIGNON_PARAM_CPU_NAME = 'CPU_NAME';
71SIGNON_PARAM_CPU_REVISION = 'CPU_REVISION';
72SIGNON_PARAM_CPU_COUNT = 'CPU_COUNT';
73SIGNON_PARAM_HAS_HW_VIRT = 'HAS_HW_VIRT';
74SIGNON_PARAM_HAS_NESTED_PAGING = 'HAS_NESTED_PAGING';
75SIGNON_PARAM_HAS_64_BIT_GUEST = 'HAS_64_BIT_GUST';
76SIGNON_PARAM_HAS_IOMMU = 'HAS_IOMMU';
77## TODO: SIGNON_PARAM_WITH_RAW_MODE
78SIGNON_PARAM_MEM_SIZE = 'MEM_SIZE';
79SIGNON_PARAM_SCRATCH_SIZE = 'SCRATCH_SIZE';
80SIGNON_PARAM_REPORT = 'REPORT';
81SIGNON_PARAM_SCRIPT_REV = 'SCRIPT_REV';
82SIGNON_PARAM_PYTHON_VERSION = 'PYTHON_VERSION';
83## @}
84
85## @name Parameters for actions reporting results.
86# @{
87RESULT_PARAM_TEST_SET_ID = 'TEST_SET_ID'
88## @}
89
90## @name EXEC_COMPLETED parameters.
91# @{
92EXEC_COMPLETED_PARAM_RESULT = 'EXEC_RESULT'
93## @}
94
95## @name COMMAND_ACK, COMMAND_NACK and COMMAND_NOTSUP parameters.
96# @{
97## The name of the command that's being
98COMMAND_ACK_PARAM_CMD_NAME = 'CMD_NAME'
99## @}
100
101## @name LOG_MAIN parameters.
102## The log body.
103LOG_PARAM_BODY = 'LOG_BODY'
104## @}
105
106## @name UPLOAD_FILE parameters.
107## The file name.
108UPLOAD_PARAM_NAME = 'UPLOAD_NAME';
109## The MIME type of the file.
110UPLOAD_PARAM_MIME = 'UPLOAD_MIME';
111## The kind of file.
112UPLOAD_PARAM_KIND = 'UPLOAD_KIND';
113## The file description.
114UPLOAD_PARAM_DESC = 'UPLOAD_DESC';
115## @}
116
117## @name XML_RESULT parameters.
118## The "XML" body.
119XML_RESULT_PARAM_BODY = 'XML_BODY'
120## @}
121
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette