def bridge_create(br, may_exist=True):
 param_may_exist = _param_may_exist(may_exist)
 cmd = 'ovs-vsctl {1}add-br {0}'.format(br, param_may_exist)
 result = __salt__['cmd.run_all'](cmd)
 return _retcode_to_bool(result['retcode'])

def bridge_create ( br , may_exist = True ) : param_may_exist = _param_may_exist ( may_exist ) cmd = 'ovs-vsctl {1}add-br {0}' . format ( br , param_may_exist ) result = __salt__ [ 'cmd.run_all' ] ( cmd ) return _retcode_to_bool ( result [ 'retcode' ] )
creates a new bridge .