diff --git a/ffs-updatetest.py b/ffs-updatetest.py index be24895d14c8fc1da3a091b0fd46519646849198..95e92ffd7d7e6c5d5823a1bf39d42348d2d0969c 100755 --- a/ffs-updatetest.py +++ b/ffs-updatetest.py @@ -17,6 +17,7 @@ ap.add_argument("--updatecount", help="Number of updates to perform", default=10 ap.add_argument("--debug", help="Enable debugging output", action="store_true") ap.add_argument("--before-version", help="Version expected running before update", default="2.0+2020-09-26-g.8547bd43-s.f16f34e") ap.add_argument("--after-version", help="Version expected running after update", default="2.1+2020-12-11-g.90d0e33c-s.de75272") +ap.add_argument("--ping-ip", help="IP to ping to verify connectivity to GW", default="fd21:b4dc:4b00::a38:1") args = ap.parse_args() if args.debug: @@ -63,7 +64,7 @@ def run_in_vm(cmd, asynchronous=False): return result def has_gw_connection(): - result = run_in_vm(["ping", "-c1", "fd21:b4dc:4b00::a38:1"]) + result = run_in_vm(["ping", "-c1", args.ping_ip]) return result["exitcode"] == 0 def wait_for_gw_connection():