X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Ftools%2Ftrex%2Ftrex_server_info.py;h=b34709b2067430527490d0aa2b1cbadae0454afa;hb=654bfa4c33dca6d6eeba6636199de0ff80f75652;hp=eaab6d794adc7d6539d84404f53e961887ae0b5e;hpb=dc3efb44b1b30554f2aa46752cf0db119b79ee6c;p=csit.git diff --git a/resources/tools/trex/trex_server_info.py b/resources/tools/trex/trex_server_info.py index eaab6d794a..b34709b206 100755 --- a/resources/tools/trex/trex_server_info.py +++ b/resources/tools/trex/trex_server_info.py @@ -28,10 +28,12 @@ Functionality: import sys -sys.path.insert(0, "/opt/trex-core-2.54/scripts/automation/"+\ - "trex_control_plane/interactive/") +sys.path.insert( + 0, u"/opt/trex-core-2.73/scripts/automation/trex_control_plane/interactive/" +) from trex.stl.api import * + def main(): """Check server info and quit.""" client = STLClient() @@ -48,5 +50,5 @@ def main(): client.disconnect() -if __name__ == "__main__": +if __name__ == u"__main__": main()