¡@

Home 

OpenStack Study: api.py

OpenStack Index

**** CubicPower OpenStack Study ****

def bm_node_get_all(context, service_host=None):

    return IMPL.bm_node_get_all(context,

                                service_host=service_host)

**** CubicPower OpenStack Study ****

def bm_node_get_associated(context, service_host=None):

    return IMPL.bm_node_get_associated(context,

                                service_host=service_host)

**** CubicPower OpenStack Study ****

def bm_node_get_unassociated(context, service_host=None):

    return IMPL.bm_node_get_unassociated(context,

                                service_host=service_host)

**** CubicPower OpenStack Study ****

def bm_node_find_free(context, service_host=None,

                      memory_mb=None, cpus=None, local_gb=None):

    return IMPL.bm_node_find_free(context,

                                  service_host=service_host,

                                  memory_mb=memory_mb,

                                  cpus=cpus,

                                  local_gb=local_gb)

**** CubicPower OpenStack Study ****

def bm_node_get(context, bm_node_id):

    return IMPL.bm_node_get(context, bm_node_id)

**** CubicPower OpenStack Study ****

def bm_node_get_by_instance_uuid(context, instance_uuid):

    return IMPL.bm_node_get_by_instance_uuid(context,

                                             instance_uuid)

**** CubicPower OpenStack Study ****

def bm_node_get_by_node_uuid(context, node_uuid):

    return IMPL.bm_node_get_by_node_uuid(context, node_uuid)

**** CubicPower OpenStack Study ****

def bm_node_create(context, values):

    return IMPL.bm_node_create(context, values)

**** CubicPower OpenStack Study ****

def bm_node_destroy(context, bm_node_id):

    return IMPL.bm_node_destroy(context, bm_node_id)

**** CubicPower OpenStack Study ****

def bm_node_update(context, bm_node_id, values):

    return IMPL.bm_node_update(context, bm_node_id, values)

**** CubicPower OpenStack Study ****

def bm_node_associate_and_update(context, node_uuid, values):

    return IMPL.bm_node_associate_and_update(context, node_uuid, values)

**** CubicPower OpenStack Study ****

def bm_interface_get(context, if_id):

    return IMPL.bm_interface_get(context, if_id)

**** CubicPower OpenStack Study ****

def bm_interface_get_all(context):

    return IMPL.bm_interface_get_all(context)

**** CubicPower OpenStack Study ****

def bm_interface_destroy(context, if_id):

    return IMPL.bm_interface_destroy(context, if_id)

**** CubicPower OpenStack Study ****

def bm_interface_create(context, bm_node_id, address, datapath_id, port_no):

    return IMPL.bm_interface_create(context, bm_node_id, address,

                                    datapath_id, port_no)

**** CubicPower OpenStack Study ****

def bm_interface_set_vif_uuid(context, if_id, vif_uuid):

    return IMPL.bm_interface_set_vif_uuid(context, if_id, vif_uuid)

**** CubicPower OpenStack Study ****

def bm_interface_get_by_vif_uuid(context, vif_uuid):

    return IMPL.bm_interface_get_by_vif_uuid(context, vif_uuid)

**** CubicPower OpenStack Study ****

def bm_interface_get_all_by_bm_node_id(context, bm_node_id):

    return IMPL.bm_interface_get_all_by_bm_node_id(context, bm_node_id)