Comment 9 for bug 2020410

Revision history for this message
Tore Anderson (toreanderson) wrote :

Hi, thanks! I haven't read or tested the code, but I was wondering about this:

«The L2VNI is simply calculated by adding +1 onto the L3VNI.»

This seems to assume a 1:1 relationship between L2VNI and L3VNI, which isn't usually the case.

Normally you can have an arbitrary number of L2VNIs (with IRBs) per L3VNI.

Typical case is to have VRFs such as "Internet", "Management", "Customer X", and so on. Each individual VRF is bound to a single L3VNI. However each VRF can obviously be associated with multiple distinct provider networks, each of which needs a distinct L2VNI.

Ideally it should also be possible to create L2VNIs without IRB binding (and thus no L3VNI binding) as well. This is useful in the case where the gateway address is external to OpenStack.

Tore