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=b9574957a561215df41288eb7fbc22f55f552a30;hpb=6a80c9028d71a1502a2f2a64b4646af4c5958733;p=csit.git diff --git a/resources/tools/trex/trex_server_info.py b/resources/tools/trex/trex_server_info.py index b9574957a5..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.61/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()