SQLAlchemy storage backend.
ironic.db.sqlalchemy.api.
Connection
[source]¶Bases: ironic.db.api.Connection
SqlAlchemy connection.
check_versions
()[source]¶Checks the whole database for incompatible objects.
This scans all the tables in search of objects that are not supported; i.e., those that are not specified in ironic.common.release_mappings.RELEASE_MAPPING. This includes objects that have null ‘version’ values.
Returns: | A Boolean. True if all the objects have supported versions; False otherwise. |
---|
get_nodeinfo_list
(columns=None, filters=None, limit=None, marker=None, sort_key=None, sort_dir=None)[source]¶get_not_versions
(model_name, versions)[source]¶Returns objects with versions that are not the specified versions.
This returns objects with versions that are not the specified versions. Objects with null versions (there shouldn’t be any) are also returned.
Parameters: |
|
---|---|
Returns: | list of the DB objects |
Raises: | IronicException if there is no class associated with the name |
get_ports_by_portgroup_id
(portgroup_id, 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_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]¶register_conductor_hardware_interfaces
(conductor_id, hardware_type, interface_type, interfaces, default_interface)[source]¶Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.