X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=GPL%2Ftraffic_scripts%2Fsend_icmp_wait_for_reply.py;fp=resources%2Ftraffic_scripts%2Fsend_icmp_wait_for_reply.py;h=78554634af479f6556577d6db016f950567b65a4;hp=2c79ae71366f10ae2de3564d8f5d23824da956c1;hb=79f5ba9bf7656972dd988508eff9465562dde42c;hpb=16ef90a2415aa3b65341fdb6517cf58721bfff7a diff --git a/resources/traffic_scripts/send_icmp_wait_for_reply.py b/GPL/traffic_scripts/send_icmp_wait_for_reply.py old mode 100755 new mode 100644 similarity index 95% rename from resources/traffic_scripts/send_icmp_wait_for_reply.py rename to GPL/traffic_scripts/send_icmp_wait_for_reply.py index 2c79ae7136..78554634af --- a/resources/traffic_scripts/send_icmp_wait_for_reply.py +++ b/GPL/traffic_scripts/send_icmp_wait_for_reply.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -# Copyright (c) 2016 Cisco and/or its affiliates. +# Copyright (c) 2020 Cisco and/or its affiliates. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: @@ -24,8 +24,8 @@ from scapy.layers.inet6 import IPv6, ICMPv6EchoRequest, ICMPv6EchoReply,\ from scapy.layers.l2 import Ether from scapy.packet import Raw -from resources.libraries.python.PacketVerifier import RxQueue, TxQueue -from resources.libraries.python.TrafficScriptArg import TrafficScriptArg +from .PacketVerifier import RxQueue, TxQueue +from .TrafficScriptArg import TrafficScriptArg def valid_ipv4(ip):