.. versionadded:: 2019.2.0

    Create a new device site

    site
        String of device site, e.g., ``BRU``

    CLI Example:

    .. code-block:: bash

        salt myminion netbox.create_site BRU

def create_site(site):
    '''
    .. versionadded:: 2019.2.0

    Create a new device site

    site
        String of device site, e.g., ``BRU``

    CLI Example:

    .. code-block:: bash

        salt myminion netbox.create_site BRU
    '''
    nb_site = get_('dcim', 'sites', name=site)
    if nb_site:
        return False
    else:
        payload = {'name': site, 'slug': slugify(site)}
        site = _add('dcim', 'sites', payload)
        if site:
            return {'dcim': {'sites': payload}}
        else:
            return False