Remove logging

This commit is contained in:
2021-03-09 20:37:31 +01:00
parent 9c6a16f983
commit 01c39a1700
-2
View File
@@ -255,11 +255,9 @@ def delete_endpoint():
try: try:
if LIBRARY == 'NDB': if LIBRARY == 'NDB':
logger.info('1')
bridge = net_bridge(req['NetworkID']) bridge = net_bridge(req['NetworkID'])
interface.DelPort(LIBRARY, bridge.ifname, if_host.ifname) interface.DelPort(LIBRARY, bridge.ifname, if_host.ifname)
else: else:
logger.info('2')
interface.DelPort(LIBRARY, 'dummy0', if_host.ifname) interface.DelPort(LIBRARY, 'dummy0', if_host.ifname)
interface.RemoveInterface(LIBRARY, if_host.ifname) interface.RemoveInterface(LIBRARY, if_host.ifname)
except Exception as e: except Exception as e: