def tunnel_sync(self):
resync = False
try:
for tunnel_type in self.tunnel_types: details = self.plugin_rpc.tunnel_sync(self.context, self.local_ip, tunnel_type)
if not self.l2_pop: tunnels = details['tunnels'] for tunnel in tunnels: if self.local_ip != tunnel['ip_address']:
you can quite clearly see that if l2_pop is enabled, then tunnel ports are not setup after the restart.
Looking at the tunnel_sync function in Icehouse:
def tunnel_sync(self):
details = self.plugin_ rpc.tunnel_ sync(self. context,
self. local_ip,
tunnel_ type)
tunnels = details['tunnels']
for tunnel in tunnels:
if self.local_ip != tunnel[ 'ip_address' ]:
resync = False
try:
for tunnel_type in self.tunnel_types:
if not self.l2_pop:
you can quite clearly see that if l2_pop is enabled, then tunnel ports are not setup after the restart.