def baremetal_models(call=None):
    '''
    Return a dict of all available baremetal models with relevant data.
    '''
    if call == 'action':
        raise SaltCloudSystemExit(
            'The baremetal_models function must be called with '
            '-f or --function'
        )

    conn = get_conn()

    bmodels = conn.list_baremetal_models()

    return bmodels
def baremetal_models ( call = None ) : if call == 'action' : raise SaltCloudSystemExit ( 'The baremetal_models function must be called with ' '-f or --function' ) conn = get_conn ( ) bmodels = conn . list_baremetal_models ( ) return bmodels
Return a dict of all available baremetal models with relevant data.