Skip to content

Integrate VRF changes #2596

Open
Open
@anarkiwi

Description

@anarkiwi

On Fri, Oct 26, 2018 at 9:08 AM Atri Indiresan [email protected] wrote:
Hi Josh,

Here are our diffs from 1.8.9. The test case is
FaucetUntaggedExpireIPv4InterVLANInterVRFRouteTest

The change is very simple, and similar to the Global IP. For any
collection of VLANs, define a VRF VLAN, and translate the VLAN for
routed packets in the eth_src table. The FIB table now uses the VRF VLAN
for the FIB lookup, instead of incoming VLAN, and that is what allows
the scale - same as Global VLAN.

Unlike Global VLAN, we did not encode the ingress VLAN in the dest mac,
but used the IP address to infer the VLAN for resolving the ARP. We also
had checks to make sure no L2 properties applied to the VRF vlan. In
general, it is useful to have a concept of a purely routed VLAN.

The diffs are fairly small, and a lot of it is the added test cases,
some debug code - it took us some time to get the hang of what was going
on inside Faucet.

This work was done by our summer intern, Sherry Feng
(https://www.linkedin.com/in/sherry-feng/) under my guidance, and the
original concept was by Manas, Christophe and me.

Cisco will be happy to put this code in the public domain, and will not
make any proprietary claims with regard to it.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions