VirtualBox

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

Last change on this file since 107044 was 106061, checked in by vboxsync, 2 months ago

Copyright year updates by scm.

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