[ovs-discuss] double the encap

Brandon Heller brandonh at stanford.edu
Tue May 8 17:32:47 UTC 2012


On Tue, May 8, 2012 at 8:22 AM, Jesse Gross <jesse at nicira.com> wrote:

> On Mon, May 7, 2012 at 6:48 PM, Brandon Heller <brandonh at stanford.edu>
> wrote:
> > I'd like to configure OVS using OpenFlow+Nicira extensions to push two
> VLAN
> > tags, to load-balance at higher levels of a multi-rooted tree on physical
> > switches that only support OpenFlow 1.0 in firmware and so don't support
> > ECMP.  Double-stacked VLANs aren't strictly necessary; double IP-in-IP or
> > VLAN + IP-in-IP would probably work too.
> >
> > One possibility may be to use a nicira_header to add a VLAN header with
> > OFPAT_SET_VLAN_VID and then output to NXAST_RESUBMIT.   The resubmit
> match
> > would then need to encap a VLAN the next time rather than set it, and I
> > don't see an action for that other than maybe tunneling.
>
> Resubmitting won't help since it doesn't change the action - the
> OpenFlow 1.0 action will just set it the second time.  Internally OVS
> has the ability to push multiple tags but that's not exposed to the
> outside.
>

Time to expose it, then.  Can you provide a pointer to the code section and
private action?   Thanks.


> You could do vlan in GRE or if you took multiple trips through OVS,
> GRE in GRE or GRE in vlan.
>

To my knowledge, the Indigo firmware on the hardware switches does not
support matching on GRE, so I'm not sure how to make use of GRE.

Thanks,
-b
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20120508/49bf6938/attachment-0001.html>


More information about the discuss mailing list