Python neutron_lib.db.model_base.BASEV2 Examples

The following are 1 code examples of neutron_lib.db.model_base.BASEV2(). You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may also want to check out all available functions/classes of the module neutron_lib.db.model_base , or try the search function .
Example #1
Source File: gateway_device.py    From networking-midonet with Apache License 2.0 5 votes vote down vote up
def __table_args__(cls):
        return (
            sa.ForeignKeyConstraint(['device_id'],
                                    ['midonet_gateway_devices.id'],
                                    ondelete="CASCADE"),
            model_base.BASEV2.__table_args__,
        )