The nova.db.sqlalchemy.types Module

Custom SQLAlchemy types.

class CIDR(*args, **kwargs)

Bases: sqlalchemy.types.TypeDecorator

An SQLAlchemy type representing a CIDR definition.

impl = Variant(length=43)
process_bind_param(value, dialect)

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

class IPAddress(*args, **kwargs)

Bases: sqlalchemy.types.TypeDecorator

An SQLAlchemy type representing an IP-address.

impl = Variant(length=39)
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

This Page