+ test for ping4

This commit is contained in:
Nico Schottelius 2019-03-31 15:54:39 +02:00
parent aff342898e
commit 241b5da61f

View file

@ -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")