Add first test in test.py
This commit is contained in:
parent
adac2c92d5
commit
602c52d8bb
2 changed files with 35 additions and 400 deletions
|
|
@ -724,7 +724,13 @@ p4@ubuntu:~/master-thesis$
|
|||
***** TODO Add default route for v4 hosts
|
||||
**** TODO Translate ipv6 --> ipv4 with a (freely programmable) prefix
|
||||
***** DONE Insert prefix into switch: v6_networks
|
||||
***** TODO Support multiple ipv6 source networks: need new table w/ 2 keys!
|
||||
***** TODO Support multiple ipv6 source networks: need new table w/ 2 keys! -> later
|
||||
***** TODO Write test.py to generate correct destination packets
|
||||
>>> a = ipaddress.ip_network("2001:db8::/32")
|
||||
>>> b = ipaddress.ip_address("10.0.0.1")
|
||||
>>> a[int(b)]
|
||||
IPv6Address('2001:db8::a00:1')
|
||||
|
||||
***** TODO Implement the calculation
|
||||
***** TODO Sketch the flow for session handling for icmp6 w/o packet loss
|
||||
- switch receives icmp6 packet for known prefix
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue