def create_pipeline(url, auth, json_payload, verify_ssl):
title = json_payload['<STR_LIT>']['<STR_LIT:title>']<EOL>description = json_payload['<STR_LIT>']['<STR_LIT:description>']<EOL>params = {'<STR_LIT:description>':description, '<STR_LIT>':True}<EOL>logging.info('<STR_LIT>' + title)<EOL>put_result = requests.put(url + '<STR_LIT:/>' + title, params=params, headers=X_REQ_BY, auth=auth, verify=verify_ssl)<EOL>put_result.raise_for_status()<EOL>create_json = put_result.json()<EOL>logging.debug(create_json)<EOL>logging.info('<STR_LIT>')<EOL>return create_json<EOL>
Create a new pipeline.

    Args:
        url           (str): the host url in the form 'http://host:port/'.
        auth        (tuple): a tuple of username, and password.
        json_payload (dict): the exported json paylod as a dictionary.
        verify_ssl   (bool): whether to verify ssl certificates

    Returns:
        dict: the response json