From ada8c62d7393e22cee7fccf9eb1b16b8ebe3c7c8 Mon Sep 17 00:00:00 2001 From: Dan Klein Date: Tue, 6 Oct 2015 01:53:24 +0300 Subject: Removed any "T-Rex" string out of the code and documentation, using GREP! --- .../automation/trex_control_plane/client_utils/general_utils.py | 2 +- .../automation/trex_control_plane/client_utils/trex_yaml_gen.py | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'scripts/automation/trex_control_plane/client_utils') diff --git a/scripts/automation/trex_control_plane/client_utils/general_utils.py b/scripts/automation/trex_control_plane/client_utils/general_utils.py index b5912628..5488b9dd 100755 --- a/scripts/automation/trex_control_plane/client_utils/general_utils.py +++ b/scripts/automation/trex_control_plane/client_utils/general_utils.py @@ -37,7 +37,7 @@ def find_path_to_pardir (pardir, base_path = os.getcwd() ): """ Finds the absolute path for some parent dir `pardir`, starting from base_path - The request is only valid if the stop intitiator is the same client as the T-Rex run intitiator. + The request is only valid if the stop initiator is the same client as the TRex run initiator. :parameters: pardir : str diff --git a/scripts/automation/trex_control_plane/client_utils/trex_yaml_gen.py b/scripts/automation/trex_control_plane/client_utils/trex_yaml_gen.py index 755674ea..c26fef29 100755 --- a/scripts/automation/trex_control_plane/client_utils/trex_yaml_gen.py +++ b/scripts/automation/trex_control_plane/client_utils/trex_yaml_gen.py @@ -7,7 +7,7 @@ import os class CTRexYaml(object): """ - This class functions as a YAML generator according to T-Rex YAML format. + This class functions as a YAML generator according to TRex YAML format. CTRexYaml is compatible with both Python 2 and Python 3. """ @@ -38,7 +38,7 @@ class CTRexYaml(object): :parameters: trex_files_path : str - a path (on T-Rex server side) for the pcap files using which T-Rex can access it. + a path (on TRex server side) for the pcap files using which TRex can access it. """ self.yaml_obj = list(CTRexYaml.YAML_TEMPLATE) @@ -114,7 +114,7 @@ class CTRexYaml(object): :parameters: None - :reaturn: + :return: None """ @@ -193,7 +193,7 @@ class CTRexYaml(object): """ Returns a list of all files related to the YAML object, including the YAML filename itself. - .. tip:: This method is especially useful for listing all the files that should be pushed to T-Rex server as part of the same yaml selection. + .. tip:: This method is especially useful for listing all the files that should be pushed to TRex server as part of the same yaml selection. :parameters: None -- cgit