def bridge_delete(br, if_exists=True):
 param_if_exists = _param_if_exists(if_exists)
 cmd = 'ovs-vsctl {1}del-br {0}'.format(br, param_if_exists)
 result = __salt__['cmd.run_all'](cmd)
 retcode = result['retcode']
 return _retcode_to_bool(retcode)

def bridge_delete ( br , if_exists = True ) : param_if_exists = _param_if_exists ( if_exists ) cmd = 'ovs-vsctl {1}del-br {0}' . format ( br , param_if_exists ) result = __salt__ [ 'cmd.run_all' ] ( cmd ) retcode = result [ 'retcode' ] return _retcode_to_bool ( retcode )
deletes bridge and all of its ports .