1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-29 02:08:10 +00:00

Missing file in previous commit

This commit is contained in:
Julien Duponchelle 2017-07-12 11:42:37 +02:00
parent cf17176bfc
commit 4a55a367e3
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

View File

@ -590,6 +590,14 @@ class BaseNode:
yield from self._ubridge_send('bridge start {name}'.format(name=bridge_name))
yield from self._ubridge_apply_filters(bridge_name, destination_nio.filters)
@asyncio.coroutine
def ubridge_delete_bridge(self, name):
"""
:params name: Delete the bridge with this name
"""
if self.ubridge:
yield from self._ubridge_send("bridge delete {name}".format(name=name))
@asyncio.coroutine
def _update_ubridge_udp_connection(self, bridge_name, source_nio, destination_nio):
yield from self._ubridge_apply_filters(bridge_name, destination_nio.filters)