Searched refs:termstyle (Results 1 - 16 of 16) sorted by relevance

/trex/scripts/external_libs/termstyle/
H A Dtest3.py3 from termstyle import *
H A Dtest2.py3 from termstyle import *
H A DMakefile4 -p termstyle.py \
6 python-termstyle.xml
/trex/scripts/automation/trex_control_plane/examples/
H A Dclient_interactive_example.py7 import termstyle namespace
18 intro = termstyle.green("\nInteractive shell to play with Cisco's TRex API.\nType help to view available pre-defined scenarios\n(c) All rights reserved.\n")
39 print termstyle.green("*** Starting pushing files ({trex_files}) to TRex. ***".format (trex_files = ', '.join(filepaths)) )
42 print termstyle.green("*** End of TRex push_files method (success) ***")
44 print termstyle.magenta("*** End of TRex push_files method (failed) ***")
47 print termstyle.magenta(inst)
52 print termstyle.green("*** End of default TRex running parameters ***")
57 print termstyle.green("*** End of TRex running parameters ***")
65 print termstyle.green("*** End of TRex parameters update ***")
67 print termstyle
[all...]
H A Dinteractive_stateless.py7 from termstyle import termstyle namespace
8 # import termstyle
19 intro = termstyle.green("\nInteractive shell to play with Cisco's TRex stateless API.\
83 print termstyle.green("*** Starting pushing files ({trex_files}) to TRex. ***".format(
88 print termstyle.green("*** End of TRex push_files method (success) ***")
90 print termstyle.magenta("*** End of TRex push_files method (failed) ***")
93 print termstyle.magenta(inst)
96 parser = ArgumentParser(description=termstyle.cyan('Run TRex client stateless API demos and scenarios.'),
122 print termstyle
[all...]
/trex/scripts/automation/regression/
H A Dinteractive_platform.py6 import termstyle namespace
14 intro = termstyle.green("\nInteractive shell to control a remote Cisco IOS platform.\nType help to view available pre-defined configurations\n(c) All rights reserved.\n")
24 cfg_yaml_path = raw_input(termstyle.cyan("Please enter a readable .yaml configuration file path: "))
36 print(termstyle.magenta(inst))
42 print(termstyle.green("*** End of interface configuration ***"))
48 print(termstyle.green("*** End of nat configuration ***"))
50 print(termstyle.magenta(inst))
57 print(termstyle.green("*** End of static route configuration ***"))
59 print(termstyle.magenta(inst))
69 print(termstyle
[all...]
H A DCProgressDisp.py7 import termstyle namespace
28 print(termstyle.green("Done!\n"), end=' ')
H A Dtrex_unit_test.py40 import termstyle namespace
642 print(termstyle.green("""
662 print(termstyle.red("""
/trex/scripts/
H A Dtrex_daemon_server36 from termstyle import termstyle namespace
38 import termstyle namespace
62 print(termstyle.green('TRex server daemon is running'))
64 print(termstyle.red('TRex server daemon is NOT running'))
69 print(termstyle.red('TRex server daemon is already running'))
77 print(termstyle.green('TRex server daemon is started'))
80 fail(termstyle.red('TRex server daemon failed to run'))
90 fail(termstyle.red('TRex server daemon is already running'))
104 print(termstyle
[all...]
H A Ddaemon_server36 from termstyle import termstyle namespace
38 import termstyle namespace
62 print(termstyle.green('TRex server daemon is running'))
64 print(termstyle.red('TRex server daemon is NOT running'))
69 print(termstyle.red('TRex server daemon is already running'))
77 print(termstyle.green('TRex server daemon is started'))
80 fail(termstyle.red('TRex server daemon failed to run'))
90 fail(termstyle.red('TRex server daemon is already running'))
104 print(termstyle
[all...]
H A Dscapy_daemon_server25 from termstyle import termstyle namespace
27 import termstyle namespace
39 print(termstyle.green(' ' + success_msg))
42 print(termstyle.red(' ' + fail_msg))
47 print(termstyle.red(' Timeout'))
110 print(termstyle.green('Scapy server is running'))
112 print(termstyle.red('Scapy server is NOT running'))
117 print(termstyle.red('Scapy server is already running'))
162 print(termstyle
[all...]
H A Dmaster_daemon.py19 import termstyle namespace
98 fail(termstyle.red('Master daemon failed to run. Please look in log: %s' % logging_file))
257 print(termstyle.red(e))
264 print(termstyle.green('%s is %s' % (daemon.name, passive[args.action])))
267 print(termstyle.red('%s is NOT %s' % (daemon.name, passive[args.action])))
/trex/scripts/automation/trex_control_plane/unit_tests/
H A Dcontrol_plane_unit_test.py13 import termstyle namespace
50 print termstyle.green("""
H A Dcontrol_plane_general_test.py32 import termstyle namespace
/trex/scripts/external_libs/rednose-0.4.1/
H A Drednose.py39 import termstyle namespace
117 'force': termstyle.enable,
118 'off': termstyle.disable
119 }.get(options.rednose_color, termstyle.auto)
172 self._print_test(failure, termstyle.red)
180 self._print_test(error, termstyle.yellow)
184 self._print_test(success, termstyle.green)
188 self._print_test(skip, termstyle.blue)
209 self._line(termstyle.black)
218 additionals.append(termstyle
[all...]
/trex/scripts/automation/regression/stateful_tests/
H A Dtrex_general_test.py36 import termstyle namespace
132 print(termstyle.green('\t!!!\tRunning with modes: %s, not suitable tests will be skipped.\t!!!' % list(self.modes)))
135 print(termstyle.green("Done instantiating TRex scenario!\n"))
428 print(termstyle.green('\n>>>>>>>>>>>>>>> Daemon log <<<<<<<<<<<<<<<'))
436 print(termstyle.green('>>>>>>>>>>>>>>>> Trex log <<<<<<<<<<<<<<<<'))

Completed in 11 milliseconds