forked from sonic-net/sonic-mgmt
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcont_warm_reboot_args.py
More file actions
41 lines (37 loc) · 1012 Bytes
/
Copy pathcont_warm_reboot_args.py
File metadata and controls
41 lines (37 loc) · 1012 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
def add_cont_warm_reboot_args(parser):
'''
Adding arguments required for continuous warm-reboot test case
'''
parser.addoption(
"--continuous_reboot_count",
action="store",
type=int,
default=10,
help="Number of iterations of warm-reboot",
)
parser.addoption(
"--continuous_reboot_delay",
action="store",
type=int,
default=300,
help="Delay period in seconds between subsequent reboots",
)
parser.addoption(
"--enable_continuous_io",
action="store",
type=bool,
default=False,
help="Enable continuous IO",
)
parser.addoption(
"--image_location",
action="store",
default=None,
help="Path to image(s) to be installed",
)
parser.addoption(
"--image_list",
action="store",
default="current",
help="Comma separated list of images to be installed during continuous reboot test",
)