The nova.db.sqlalchemy.types Module

Custom SQLAlchemy types.

class CIDR(*args, **kwargs)

Bases: sqlalchemy.sql.type_api.TypeDecorator

An SQLAlchemy type representing a CIDR definition.

impl

alias of String

load_dialect_impl(dialect)
process_bind_param(value, dialect)

Process/Formats the value before insert it into the db.

process_result_value(value, dialect)
class IPAddress(*args, **kwargs)

Bases: sqlalchemy.sql.type_api.TypeDecorator

An SQLAlchemy type representing an IP-address.

impl

alias of String

load_dialect_impl(dialect)
process_bind_param(value, dialect)

Process/Formats the value before insert it into the db.

Previous topic

The nova.db.sqlalchemy.models Module

Next topic

The nova.db.sqlalchemy.utils Module

Project Source

This Page