VirtualBox

source: vbox/trunk/src/VBox/ValidationKit/common/constants/tbresp.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: 2.8 KB
Line 
1# -*- coding: utf-8 -*-
2# $Id: tbresp.py 106061 2024-09-16 14:03:52Z vboxsync $
3
4"""
5Test Manager Responses to 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## All test manager actions responses to the testbox include a RESULT field.
43ALL_PARAM_RESULT = 'RESULT'
44
45## @name Statuses (returned in ALL_PARAM_RESULT).
46## Acknowledgement.
47STATUS_ACK = 'ACK'
48## Negative acknowledgement.
49STATUS_NACK = 'NACK'
50## The testbox is dead, i.e. it no longer exists with the test manager.
51# @note Not used by the SIGNON action, but all the rest uses it.
52STATUS_DEAD = 'DEAD'
53## @}
54
55## @name Command names (returned in ALL_PARAM_RESULT).
56# @{
57CMD_IDLE = 'IDLE'
58CMD_WAIT = 'WAIT'
59CMD_EXEC = 'EXEC'
60CMD_ABORT = 'ABORT'
61CMD_REBOOT = 'REBOOT'
62CMD_UPGRADE = 'UPGRADE'
63CMD_UPGRADE_AND_REBOOT = 'UPGRADE_AND_REBOOT'
64CMD_SPECIAL = 'SPECIAL'
65## @ }
66
67## @name SIGNON parameter names.
68# @{
69## The TestBox ID.
70SIGNON_PARAM_ID = 'TESTBOX_ID'
71## The TestBox name.
72SIGNON_PARAM_NAME = 'TESTBOX_NAME'
73## @}
74
75
76## @name EXEC parameter names
77# @{
78## The test set id, used for reporting results.
79EXEC_PARAM_RESULT_ID = 'TEST_SET_ID'
80## The file to download/copy and unpack into TESTBOX_SCRIPT.
81EXEC_PARAM_SCRIPT_ZIPS = 'SCRIPT_ZIPS'
82## The testcase invocation command line (bourne shell style).
83EXEC_PARAM_SCRIPT_CMD_LINE = 'SCRIPT_CMD_LINE'
84## The testcase timeout in seconds.
85EXEC_PARAM_TIMEOUT = 'TIMEOUT'
86## @}
87
88## @name UPGRADE and @name UPGRADE_AND_REBOOT parameter names.
89# @{
90## A URL for downloading new version of Test Box Script archive
91UPGRADE_PARAM_URL = 'DOWNLOAD_URL'
92## @}
93
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