diff --git a/p4app/test.py b/p4app/test.py index 7ef1112..a934567 100755 --- a/p4app/test.py +++ b/p4app/test.py @@ -25,6 +25,15 @@ class TestStuff(object): return cmd + def test_ping4_switch(self): + host = "h3" + dst = ipaddress.ip_address("10.0.0.66") + + log.info("Trying to reach {} from {}".format(dst, host)) + cmd = "mx h1 ping -c1 {}".format(dst).split(" ") + + return cmd + def test_v6_static_mapping(self): host = "h1" nat64_prefix = ipaddress.ip_network("2001:db8:1::/96")