1 ##############################################################################
2 # Copyright (c) 2015 Huawei Technologies Co.,Ltd and others.
4 # All rights reserved. This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 # http://www.apache.org/licenses/LICENSE-2.0
8 ##############################################################################
11 from sigtools.modifiers import autokwoargs
12 from vstf.controller.settings.mail_settings import MailSettings
13 from vstf.controller.settings.perf_settings import PerfSettings
14 from vstf.controller.settings.cpu_settings import CpuSettings
15 from vstf.controller.settings.tool_settings import ToolSettings
19 def sinput(mail=False, perf=False, affctl=False, tool=False):
20 """Settings command line input
22 mail: if start mail settings
24 perf: if start perf settings
26 affctl: if start set cpu affability
28 tool: if start set tool properties
33 MailSettings().sinput()
35 PerfSettings().sinput()
37 CpuSettings().sinput()
39 ToolSettings().sinput()
45 if __name__ == '__main__':