Commit graph

153 commits

Author SHA1 Message Date
Nico Schottelius
da7fda57bf ++ 2019-03-04 15:38:42 +01:00
Nico Schottelius
c60b5f2d9e pass in prefix len 2019-03-04 15:38:16 +01:00
Nico Schottelius
cf844477a9 typo 2019-03-04 15:34:46 +01:00
Nico Schottelius
4b52b12846 + debug + stringify 2019-03-04 15:34:12 +01:00
Nico Schottelius
615e0f89ef Use int for masks 2019-03-04 15:32:27 +01:00
Nico Schottelius
77e92b12be Refactor code for ipaddress support 2019-03-04 15:30:38 +01:00
Nico Schottelius
3047750add use network_address for multicast base 2019-03-04 15:01:12 +01:00
Nico Schottelius
3dc56677a1 derive addr from addr not dict 2019-03-04 14:59:44 +01:00
Nico Schottelius
7c3cb5a368 +args fix 2019-03-04 14:57:27 +01:00
Nico Schottelius
6fea6ed19f -import error 2019-03-04 14:56:52 +01:00
Nico Schottelius
dddcc306e3 -typo 2019-03-04 14:56:09 +01:00
Nico Schottelius
fbadfddee8 [icmp6] add dedicated multicast address listener 2019-03-04 14:48:15 +01:00
Nico Schottelius
6f83eeddb2 Keep packet type correct for multicast / ndp 2019-03-04 14:27:12 +01:00
Nico Schottelius
142bc29c82 -typo 2019-03-04 14:24:28 +01:00
Nico Schottelius
1b59727708 Improve controller robustness 2019-03-04 14:24:02 +01:00
Nico Schottelius
28b2bc46f2 Test debug function 2019-03-04 14:22:36 +01:00
Nico Schottelius
d1433c3e0b [icmp6] don' iterate over multicast network 2019-03-04 14:11:55 +01:00
Nico Schottelius
0fa70432d1 [icmp6] forward NDP multicast to controller in correct fashion 2019-03-04 14:07:05 +01:00
Nico Schottelius
4c331dc296 adjust table/action 2019-03-03 22:37:58 +01:00
Nico Schottelius
7f1e9f6252 Begin icmp6 in controller -> pass special info 2019-03-03 22:36:25 +01:00
Nico Schottelius
b29cf1a296 [p4, controller] hack NDP reply 2019-02-28 10:56:22 +01:00
Nico Schottelius
2081d30136 [controller] re-enable ipv6 for ALL interfaces 2019-02-26 18:52:28 +01:00
Nico Schottelius
0ea9e708de [p4] If non matching ndp -> escalate to controller 2019-02-26 15:53:48 +01:00
Nico Schottelius
ed27a8e77c [controller] stringify all parts for the table 2019-02-26 15:49:47 +01:00
Nico Schottelius
38995d913c [p4 debug] how to add the port 2019-02-26 15:47:55 +01:00
Nico Schottelius
a92a9b82ea [NDP] try to pass in port as integer 2019-02-26 15:42:56 +01:00
Nico Schottelius
5bd7eb57a6 [NDP] try different notation of IPv6 address
Getting this error:

Invalid match key: Error while parsing 1 - Invalid input, could not cast to integer, try in hex with 0x prefix
Invalid match key: Error while parsing 2 - Invalid input, could not cast to integer, try in hex with 0x prefix
Invalid match key: Error while parsing 3 - Invalid input, could not cast to integer, try in hex with 0x prefix
Invalid match key: Error while parsing 4 - Invalid input, could not cast to integer, try in hex with 0x prefix

Suspecting that the code is not able to parse "ff02::1:ff00:0/104"
2019-02-26 15:37:41 +01:00
Nico Schottelius
72c600d8da [NDP] Begin to add multicast / NDP support 2019-02-26 15:30:47 +01:00
Nico Schottelius
6895a6ab34 Create multicast groups for NDP support 2019-02-26 15:08:53 +01:00
Nico Schottelius
8ca0c7fdf4 [controller] Add support in hosts for link local 2019-02-24 20:13:42 +01:00
Nico Schottelius
a420c7e6d8 [controller] debug use __repr__() 2019-02-24 15:58:15 +01:00
Nico Schottelius
1fbbbbbd52 [controller] --bug 2019-02-24 15:54:32 +01:00
Nico Schottelius
949560c995 [controller,p4] add debug print into controller 2019-02-24 15:53:10 +01:00
Nico Schottelius
c38eb0dfc4 [p4,controller] Begin to add icmp6 echo reply support + more NDP "fixes" 2019-02-23 19:52:01 +01:00
Nico Schottelius
6b601a09f7 [controller] table name correction 2019-02-23 19:03:34 +01:00
Nico Schottelius
7f0427a4f2 [controller] fix v6addr port 2019-02-23 19:02:38 +01:00
Nico Schottelius
c4a4e370f0 ++todos; begin router mode 2019-02-23 18:58:04 +01:00
Nico Schottelius
2cafdc5e12 [controller] ipv4 network switch fix 2019-02-23 18:28:47 +01:00
Nico Schottelius
4251379bc6 [controller] ++args 2019-02-23 18:27:09 +01:00
Nico Schottelius
bc390a21ea [controller] save args in class 2019-02-23 18:26:34 +01:00
Nico Schottelius
4e5f3c65a0 [controller] ++ debug output 2019-02-23 18:25:53 +01:00
Nico Schottelius
bd49e36544 [controller] remove // in ip address concat 2019-02-23 18:20:07 +01:00
Nico Schottelius
7928866b3b [controller] python2.7 subprocess change 2019-02-23 18:19:00 +01:00
Nico Schottelius
abff485183 [controller] staticmethod 2019-02-23 18:17:00 +01:00
Nico Schottelius
f9ec915449 [controller] Workaround python 2.7 / ipaddres bug 2019-02-23 18:14:34 +01:00
Nico Schottelius
5903529c0e [controller] avoid key error [doc] python2 issue 2019-02-23 15:32:03 +01:00
Nico Schottelius
f5b9baff78 [controller] setup IPv6 hosts 2019-02-23 15:13:47 +01:00
Nico Schottelius
8a14c40c7b [controller] clear tables before filling 2019-02-23 14:49:18 +01:00
Nico Schottelius
e92742f9c0 [controller] move post config part out of init() 2019-02-23 14:39:26 +01:00
Nico Schottelius
8d4402a0e5 [controller] order matters 2019-02-23 14:36:19 +01:00
Nico Schottelius
bec7dc548e Begin to implement egress handling, make controller usable, update notes 2019-02-23 14:22:46 +01:00
Nico Schottelius
c64e6d3950 [controller] +arg 2019-02-21 23:38:45 +01:00
Nico Schottelius
58ee92f46f Add very basic controller 2019-02-21 23:38:09 +01:00