Commit Graph

959 Commits

Author SHA1 Message Date
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 67afa855d0 [NDP] apply table... 2019-02-26 15:33:37 +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 e8e33c78ea [p4] --typo 2019-02-23 21:15:47 +01:00
Nico Schottelius 67bf3878d0 [p4] update parser to emit all (potentially] modified headers 2019-02-23 21:15:10 +01:00
Nico Schottelius 3fecfad989 [p4] +, 2019-02-23 21:07:05 +01:00
Nico Schottelius a5c8be40be [p4] begin icmp6 checksum 2019-02-23 21:05:46 +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 d3e4f920cf [p4] apply table 2019-02-23 18:59:46 +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 c2133dc40f [doc] add ipaddress bug note 2019-02-23 18:03:35 +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 858e8bf448 [P4] fix routing table size 2019-02-23 14:31:19 +01:00
Nico Schottelius 368ad03792 [P4] only apply tables on valid headers 2019-02-23 14:29:36 +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 214ccd4479 +headers +parsers [udp, icmp, icmp6] 2019-02-22 00:01:53 +01:00
Nico Schottelius 8bc292564e ++todos ++proto 2019-02-21 23:48:04 +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
Nico Schottelius b795374efb Add tcp_length 2019-02-21 23:27:55 +01:00
Nico Schottelius 64109ce917 +metadata struct 2019-02-21 23:25:27 +01:00
Nico Schottelius 3f15fc6fb4 header cleanup 2019-02-21 23:23:30 +01:00
Nico Schottelius 07e7d6f859 --typo 2019-02-21 23:22:21 +01:00
Nico Schottelius b6bd281c3a create P4 basis + smaller updates
Signed-off-by: Nico Schottelius <nico@nico-notebook.schottelius.org>
2019-02-21 23:19:17 +01:00
Nico Schottelius 7f904bdcef [P4] basic headers 2019-02-21 23:11:02 +01:00
Nico Schottelius d20c8a0a8b [P4] basic parser 2019-02-21 23:09:03 +01:00
Nico Schottelius 71825d21bd all doc in one dir
Signed-off-by: Nico Schottelius <nico@nico-notebook.schottelius.org>
2019-02-21 20:32:21 +01:00