Add gre tunneling support for the ML2 plugin

This patch add the type_driver GRE to enable the creation of GRE
tunnels with the OVS agent.
No Endpoints ID are managed. Only Endpoint IP are stored in DB,
and this IP is proposed as an endpoint ID for the OVS agent.
It also fixes the bug 1201471.

Implements: blueprint ml2-gre
Change-Id: I1a33a4bd3ebc4c97eecf17a59ce16b8c2066ec66
This commit is contained in:
mathieu-rohon
2013-07-16 13:24:25 +02:00
parent 9ef9b60019
commit ba948fe6c1
14 changed files with 607 additions and 47 deletions

View File

@@ -95,7 +95,8 @@ class PluginApi(proxy.RpcProxy):
agent_id=agent_id),
topic=self.topic)
def tunnel_sync(self, context, tunnel_ip):
def tunnel_sync(self, context, tunnel_ip, tunnel_type=None):
return self.call(context,
self.make_msg('tunnel_sync', tunnel_ip=tunnel_ip),
self.make_msg('tunnel_sync', tunnel_ip=tunnel_ip,
tunnel_type=tunnel_type),
topic=self.topic)