Reduce routing size for testing
This commit is contained in:
parent
336ff2901c
commit
74f5575cd0
2 changed files with 5 additions and 2 deletions
|
@ -723,7 +723,8 @@ p4@ubuntu:~/master-thesis$
|
|||
***** TODO Make switch answer icmp echo request for
|
||||
***** TODO Add default route for v4 hosts
|
||||
**** TODO Translate ipv6 --> ipv4 with a (freely programmable) prefix
|
||||
***** TODO Insert prefix into switch: v6_networks
|
||||
***** DONE Insert prefix into switch: v6_networks
|
||||
***** TODO Support multiple ipv6 source networks: need new table w/ 2 keys!
|
||||
***** TODO Implement the calculation
|
||||
***** TODO Sketch the flow for session handling for icmp6 w/o packet loss
|
||||
- switch receives icmp6 packet for known prefix
|
||||
|
|
|
@ -81,7 +81,9 @@ class L2Controller(object):
|
|||
)
|
||||
|
||||
self.v6_routes['router'] = self.v6_routes['base']
|
||||
self.v6_routes['range_router'] = self.v6_routes['base']
|
||||
|
||||
# only 1 route to avoid table duplicate/conflict
|
||||
self.v6_routes['range_router'] = self.v6_routes['base'][0:1]
|
||||
|
||||
self.v4_routes = {}
|
||||
self.v4_routes[None] = []
|
||||
|
|
Loading…
Reference in a new issue