code: def _bsd_bradd(br):
      '''
      Internal, creates the bridge
      '''
      kernel = __grains__['kernel']
      ifconfig = _tool_path('ifconfig')
  
      if not br:
          return False
  
      if __salt__['cmd.retcode']('{0} {1} create up'.format(ifconfig, br),
                                 python_shell=False) != 0:
          return False
  
      # NetBSD is two cmds
      if kernel == 'NetBSD':
          brconfig = _tool_path('brconfig')
          if __salt__['cmd.retcode']('{0} {1} up'.format(brconfig, br),
                                     python_shell=False) != 0:
              return False
  
      return Truf _bsd_bradd(br):
      '''
      Internal, creates the bridge
      '''
      kernel = __grains__['kernel']
      ifconfig = _tool_path('ifconfig')
  
      if not br:
          return False
  
      if __salt__['cmd.retcode']('{0} {1} create up'.format(ifconfig, br),
                                 python_shell=False) != 0:
          return False
  
      # NetBSD is two cmds
      if kernel == 'NetBSD':
          brconfig = _tool_path('brconfig')
          if __salt__['cmd.retcode']('{0} {1} up'.format(brconfig, br),
                                     python_shell=False) != 0:
              return False
  
      return True
docs: Internal, creates the bridge