← Back to team overview

netplan-developers team mailing list archive

gretap support for Open vSwitch

 

Greetings,

I've been experimenting using netplan to control Open vSwitch (OVS)
bridges/interfaces and am wondering if there is any appetite to add support
for gretap tunnels via native OVS commands? It's a little tricky to
implement as the interface *must* be attached to an OVS bridge and it does
not appear that there is a fool-proof method of linking a tunnel to a
bridge.  For example, VLAN interfaces have the "link" attribute whereas the
only existing method of linking a tunnel would be via the bridge's
"interfaces" attribute.

I looked through the netplan code to see if there was any way to abuse the
"other-config" attribute to get this to work but the "add-port" method of
ovs-vsctl is gated solely behind patch ports.

I'm willing to spend some time trying to implement this (I submitted 2
minor patches recently!) but am looking for some direction on how to firmly
establish the br<->tunnel linkage before beginning.

- Brian

Follow ups