SQLAlchemy storage backend.
-
class
ironic.db.sqlalchemy.api.
Connection
[source]
Bases: ironic.db.api.Connection
SqlAlchemy connection.
-
add_node_tag
(node_id, tag)[source]
-
clear_node_reservations_for_conductor
(hostname)[source]
-
clear_node_target_power_state
(hostname)[source]
-
create_chassis
(values)[source]
-
create_node
(values)[source]
-
create_port
(values)[source]
-
create_portgroup
(values)[source]
-
create_volume_connector
(connector_info)[source]
-
create_volume_target
(target_info)[source]
-
delete_node_tag
(node_id, tag)[source]
-
destroy_chassis
(chassis_id)[source]
-
destroy_node
(node_id)[source]
-
destroy_port
(port_id)[source]
-
destroy_portgroup
(portgroup_id)[source]
-
destroy_volume_connector
(ident)[source]
-
destroy_volume_target
(ident)[source]
-
get_active_driver_dict
(interval=None)[source]
-
get_active_hardware_type_dict
()[source]
-
get_chassis_by_id
(chassis_id)[source]
-
get_chassis_by_uuid
(chassis_uuid)[source]
-
get_chassis_list
(limit=None, marker=None, sort_key=None, sort_dir=None)[source]
-
get_conductor
(hostname)[source]
-
get_node_by_id
(node_id)[source]
-
get_node_by_instance
(instance)[source]
-
get_node_by_name
(node_name)[source]
-
get_node_by_port_addresses
(addresses)[source]
-
get_node_by_uuid
(node_uuid)[source]
-
get_node_list
(filters=None, limit=None, marker=None, sort_key=None, sort_dir=None)[source]
-
get_node_tags_by_node_id
(node_id)[source]
-
get_nodeinfo_list
(columns=None, filters=None, limit=None, marker=None, sort_key=None, sort_dir=None)[source]
-
get_offline_conductors
()[source]
-
get_port_by_address
(address)[source]
-
get_port_by_id
(port_id)[source]
-
get_port_by_uuid
(port_uuid)[source]
-
get_port_list
(limit=None, marker=None, sort_key=None, sort_dir=None)[source]
-
get_portgroup_by_address
(address)[source]
-
get_portgroup_by_id
(portgroup_id)[source]
-
get_portgroup_by_name
(name)[source]
-
get_portgroup_by_uuid
(portgroup_uuid)[source]
-
get_portgroup_list
(limit=None, marker=None, sort_key=None, sort_dir=None)[source]
-
get_portgroups_by_node_id
(node_id, limit=None, marker=None, sort_key=None, sort_dir=None)[source]
-
get_ports_by_node_id
(node_id, limit=None, marker=None, sort_key=None, sort_dir=None)[source]
-
get_ports_by_portgroup_id
(portgroup_id, limit=None, marker=None, sort_key=None, sort_dir=None)[source]
-
get_volume_connector_by_id
(db_id)[source]
-
get_volume_connector_by_uuid
(connector_uuid)[source]
-
get_volume_connector_list
(limit=None, marker=None, sort_key=None, sort_dir=None)[source]
-
get_volume_connectors_by_node_id
(node_id, limit=None, marker=None, sort_key=None, sort_dir=None)[source]
-
get_volume_target_by_id
(db_id)[source]
-
get_volume_target_by_uuid
(uuid)[source]
-
get_volume_target_list
(limit=None, marker=None, sort_key=None, sort_dir=None)[source]
-
get_volume_targets_by_node_id
(node_id, limit=None, marker=None, sort_key=None, sort_dir=None)[source]
-
get_volume_targets_by_volume_id
(volume_id, limit=None, marker=None, sort_key=None, sort_dir=None)[source]
-
list_conductor_hardware_interfaces
(conductor_id)[source]
-
list_hardware_type_interfaces
(hardware_types)[source]
-
node_tag_exists
(node_id, tag)[source]
-
register_conductor
(values, update_existing=False)[source]
-
register_conductor_hardware_interfaces
(conductor_id, hardware_type, interface_type, interfaces, default_interface)[source]
-
release_node
(tag, node_id)[source]
-
reserve_node
(tag, node_id)[source]
-
set_node_tags
(node_id, tags)[source]
-
touch_conductor
(hostname)[source]
-
touch_node_provisioning
(node_id)[source]
-
unregister_conductor
(hostname)[source]
-
unregister_conductor_hardware_interfaces
(conductor_id)[source]
-
unset_node_tags
(node_id)[source]
-
update_chassis
(chassis_id, values)[source]
-
update_node
(node_id, values)[source]
-
update_port
(port_id, values)[source]
-
update_portgroup
(portgroup_id, values)[source]
-
update_volume_connector
(ident, connector_info)[source]
-
update_volume_target
(ident, target_info)[source]