The ironic.db.sqlalchemy.models Module

SQLAlchemy models for baremetal data.

class ironic.db.sqlalchemy.models.Chassis(**kwargs)[source]

Bases: sqlalchemy.ext.declarative.api.Base

Represents a hardware chassis.

class ironic.db.sqlalchemy.models.Conductor(**kwargs)[source]

Bases: sqlalchemy.ext.declarative.api.Base

Represents a conductor service entry.

class ironic.db.sqlalchemy.models.ConductorHardwareInterfaces(**kwargs)[source]

Bases: sqlalchemy.ext.declarative.api.Base

Internal table used to track what is loaded on each conductor.

class ironic.db.sqlalchemy.models.IronicBase[source]

Bases: oslo_db.sqlalchemy.models.TimestampMixin, oslo_db.sqlalchemy.models.ModelBase

as_dict()[source]
class ironic.db.sqlalchemy.models.Node(**kwargs)[source]

Bases: sqlalchemy.ext.declarative.api.Base

Represents a bare metal node.

class ironic.db.sqlalchemy.models.NodeTag(**kwargs)[source]

Bases: sqlalchemy.ext.declarative.api.Base

Represents a tag of a bare metal node.

class ironic.db.sqlalchemy.models.Port(**kwargs)[source]

Bases: sqlalchemy.ext.declarative.api.Base

Represents a network port of a bare metal node.

class ironic.db.sqlalchemy.models.Portgroup(**kwargs)[source]

Bases: sqlalchemy.ext.declarative.api.Base

Represents a group of network ports of a bare metal node.

class ironic.db.sqlalchemy.models.VolumeConnector(**kwargs)[source]

Bases: sqlalchemy.ext.declarative.api.Base

Represents a volume connector of a bare metal node.

class ironic.db.sqlalchemy.models.VolumeTarget(**kwargs)[source]

Bases: sqlalchemy.ext.declarative.api.Base

Represents a volume target of a bare metal node.