+ test for ping4
This commit is contained in:
parent
aff342898e
commit
241b5da61f
1 changed files with 9 additions and 0 deletions
|
@ -25,6 +25,15 @@ class TestStuff(object):
|
||||||
|
|
||||||
return cmd
|
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):
|
def test_v6_static_mapping(self):
|
||||||
host = "h1"
|
host = "h1"
|
||||||
nat64_prefix = ipaddress.ip_network("2001:db8:1::/96")
|
nat64_prefix = ipaddress.ip_network("2001:db8:1::/96")
|
||||||
|
|
Loading…
Reference in a new issue