Closed ggiamarchi closed 6 years ago
Short story - afaict, ParseType is unused in the current code at all. I've actually never seen this referenced before and will have to do some digging to better understand what it (historically?) was supposed to do. The only reference to it that I see is in a test for our packet capture feature. So bottom line - no, this does not do what the comment implies.
I see... I should have searched in the code first. It was straightforward. Is there any other way to prevent FBOSS reading L3 information?
So far, I don't know exactly why FBOSS crash. Maybe the IPv6 stack on some servers connected to the Wedge is broken (some experimental things) but for this use case I need only L2 features on the Wedge.
On a Wedge 16x I'm running FBOSS version a376ab2 compiled from sources and running on ONL-DEB8 with kernel 3.16.53. I'm using the configuration fboss/agent/configs/sample1.json.
In this configuration,
parserType
is set to0
for all ports. By the way I see in logs information about IP addresses.https://github.com/facebook/fboss/blob/a376ab24f4cde708f1c2192700837a99210db57f/fboss/agent/switch_config.thrift#L20-L29
Example
And FBOSS is crashing when handling IPv6 packets
It looks like with only IPv4 traffic I don't get any crash.
For now, my priority is to use my switchs as basic L2 switchs.
Any ideas ?