diff options
| author | zhaokun <[email protected]> | 2024-11-25 16:12:15 +0800 |
|---|---|---|
| committer | zhaokun <[email protected]> | 2024-11-25 16:12:15 +0800 |
| commit | 7dbd7e03d5c2b18449be43c199c91ed844a415fa (patch) | |
| tree | 45861cbc6720092d340d60d5596e430350fc9164 | |
| parent | 5ce77c1173cf468a312cf9c1cb1a787dee0cc909 (diff) | |
add if logic for trexdevelop
| -rw-r--r-- | app.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -72,7 +72,7 @@ def run_traffic_env(): elif tool == "vxlan": print(datetime.now().strftime("%Y-%m-%d %H:%M:%S"), str(datetime.now().microsecond)[:3], "Simulate vxlan traffic by tcpreplay.", flush=True) print("to be added") - elif tool == "": + elif tool == "trex": print("Execute {} operation.".format(type)) pcap_name = json_data.get("pcap_name") + ".pcap" yaml_name = json_data.get("yaml_name") + ".yaml" |
