def add_fabrics(cfmclient, switch_ip, name, description):
    """
    Function to add a new fabric for management under a specific CFM instance
    :param cfmclient:
    :param switch_ip: IP address of one switch in the fabric
    :param name: Name of the new fabric
    :param description: description of the fabric
    :return:
    """
    path = 'v1/fabrics'
    data = {
        'host': '{}'.format(switch_ip),
        'name': '{}'.format(name),
        'description': '{}'.format(description)
    }
    return cfmclient.post(path, data=data).json().get('result')