Fix test to use correct host
This commit is contained in:
parent
30dcc0af81
commit
55aab8cc84
2 changed files with 23 additions and 23 deletions
40
doc/plan.org
40
doc/plan.org
|
@ -670,6 +670,26 @@ INFO:main:unhandled reassambled=<Ether dst=33:33:ff:00:00:42 src=00:00:0a:00:00
|
|||
INFO:main:unhandled reassambled=<Ether dst=33:33:ff:00:00:42 src=00:00:0a:00:00:01 type=0x86dd |<IPv6 version=6 tc=0 fl=0 plen=32 nh=ICMPv6 hlim=255 src=fe80::200:aff:fe00:1 dst=ff02::1:ff00:42 |<ICMPv6ND_NS type=Neighbor Solicitation code=0 cksum=0x37df res=0 tgt=2001:db8::42 |<ICMPv6NDOptSrcLLAddr type=1 len=1 lladdr=00:00:0a:00:00:01 |>>>> from table TABLE_V6_NETWORKS
|
||||
INFO:main:unhandled reassambled=<Ether dst=33:33:ff:00:00:42 src=00:00:0a:00:00:01 type=0x86dd |<IPv6 version=6 tc=0 fl=0 plen=32 nh=ICMPv6 hlim=255 src=2001:db8::1 dst=ff02::1:ff00:42 |<ICMPv6ND_NS type=Neighbor Solicitation code=0 cksum=0x13a7 res=0 tgt=2001:db8::42 |<ICMPv6NDOptSrcLLAddr type=1 len=1 lladdr=00:00:0a:00:00:01 |>>>> from table TABLE_NAT64
|
||||
INFO:main:unhandled reassambled=<Ether dst=00:00:0a:00:00:42 src=00:00:0a:00:00:01 type=0x86dd |<IPv6 version=6 tc=0 fl=920946 plen=64 nh=ICMPv6 hlim=64 src=2001:db8::1 dst=2001:db8:1::a00:1 |<ICMPv6EchoRequest type=Echo Request code=0 cksum=0x3d1a id=0xade seq=0x1 data='\x1f\x92\x9a\\\x00\x00\x00\x00WU\x02\x00\x00\x00\x00\x00\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f !"#$%&\'()*+,-./01234567' |>>> from table TABLE_V4_NETWORKS
|
||||
**** DONE Solve logic problem: Valid headers
|
||||
- If ipv6 header is valid && nat64 will be made and afterwards v4 egress needs to be applied
|
||||
- If ipv4 header is valid && nat46 will be made and afterwards v6 egress needs to be applied
|
||||
**** TODO Check translated fields
|
||||
***** DONE source correctly translated to 10.1.1.1
|
||||
***** DONE destination correctly translated to 10.0.0.1 -> pings h3
|
||||
***** DONE egress is correct, comes out at h3
|
||||
***** DONE protocol 58 is wrong -> should be 1
|
||||
***** DONE figure out switch() syntax
|
||||
***** TODO transform protocol specific: icmp6 -> icmp
|
||||
****** DONE Implement double table, as there are no if's in actions
|
||||
****** DONE Debug Ethernet frame check sequence error -> need to compute checksum
|
||||
https://en.wikipedia.org/wiki/Frame_check_sequence
|
||||
|
||||
According to Edgar this should not be seen anyway.
|
||||
****** TODO Calculate ICMP checksum
|
||||
****** TODO Check field lengths
|
||||
***** TODO transform protocol specific: icmp -> icmp6
|
||||
**** TODO Make switch answer IPv4 icmp echo request for
|
||||
**** TODO Add / check default route for v4 hosts
|
||||
**** TODO Update p4c to avoid compiler bug
|
||||
***** TODO Updating p4c
|
||||
****** DONE Try1
|
||||
|
@ -739,26 +759,6 @@ p4@ubuntu:~/p4-tools/p4c/build$
|
|||
[16:37] line:p4c% git describe --always
|
||||
900557c5
|
||||
****** TODO Build on VM with 900557c5 after removing build/
|
||||
**** DONE Solve logic problem: Valid headers
|
||||
- If ipv6 header is valid && nat64 will be made and afterwards v4 egress needs to be applied
|
||||
- If ipv4 header is valid && nat46 will be made and afterwards v6 egress needs to be applied
|
||||
**** TODO Check translated fields
|
||||
***** DONE source correctly translated to 10.1.1.1
|
||||
***** DONE destination correctly translated to 10.0.0.1 -> pings h3
|
||||
***** DONE egress is correct, comes out at h3
|
||||
***** DONE protocol 58 is wrong -> should be 1
|
||||
***** DONE figure out switch() syntax
|
||||
***** TODO transform protocol specific: icmp6 -> icmp
|
||||
****** DONE Implement double table, as there are no if's in actions
|
||||
****** DONE Debug Ethernet frame check sequence error -> need to compute checksum
|
||||
https://en.wikipedia.org/wiki/Frame_check_sequence
|
||||
|
||||
According to Edgar this should not be seen anyway.
|
||||
****** TODO Calculate ICMP checksum
|
||||
****** TODO Check field lengths
|
||||
***** TODO transform protocol specific: icmp -> icmp6
|
||||
**** TODO Make switch answer IPv4 icmp echo request for
|
||||
**** TODO Add / check default route for v4 hosts
|
||||
*** TODO Get p4 VM / vagrant running
|
||||
**** DONE install libvirtd-daemon
|
||||
**** DONE install ebtables
|
||||
|
|
|
@ -21,7 +21,7 @@ class TestStuff(object):
|
|||
dst_ipv6 = ipaddress.ip_address("2001:db8::42")
|
||||
|
||||
log.info("Trying to reach {} from {}".format(dst_ipv6, host))
|
||||
cmd = "mx h1 ping6 -c1 {}".format(dst_ipv6).split(" ")
|
||||
cmd = "mx {} ping6 -c1 {}".format(host, dst_ipv6).split(" ")
|
||||
|
||||
return cmd
|
||||
|
||||
|
@ -30,7 +30,7 @@ class TestStuff(object):
|
|||
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(" ")
|
||||
cmd = "mx {} ping -c1 {}".format(host, dst).split(" ")
|
||||
|
||||
return cmd
|
||||
|
||||
|
@ -41,7 +41,7 @@ class TestStuff(object):
|
|||
translated_ipv4 = nat64_prefix[int(dst_ipv4)]
|
||||
|
||||
log.info("Trying to reach {} ({}) from {}".format(dst_ipv4, translated_ipv4, host))
|
||||
cmd = "mx h1 ping6 -c1 {}".format(translated_ipv4).split(" ")
|
||||
cmd = "mx {} ping6 -c1 {}".format(host, translated_ipv4).split(" ")
|
||||
|
||||
return cmd
|
||||
|
||||
|
|
Loading…
Reference in a new issue