diff options
| author | Vishvananda Ishaya <vishvananda@yahoo.com> | 2010-08-17 13:02:11 -0700 |
|---|---|---|
| committer | Vishvananda Ishaya <vishvananda@yahoo.com> | 2010-08-17 13:02:11 -0700 |
| commit | 8a8a1400426ca5355fa778ee34edc7b72ae74566 (patch) | |
| tree | 05943f2d2131d2744ee43b0e567dbbd66a51e9bf | |
| parent | 383764fb36858f5f7f2b36ca283563d2581dabdb (diff) | |
| download | nova-8a8a1400426ca5355fa778ee34edc7b72ae74566.tar.gz nova-8a8a1400426ca5355fa778ee34edc7b72ae74566.tar.xz nova-8a8a1400426ca5355fa778ee34edc7b72ae74566.zip | |
start with model code
| -rw-r--r-- | nova/models.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/nova/models.py b/nova/models.py index 561a722fc..e4075faeb 100644 --- a/nova/models.py +++ b/nova/models.py @@ -193,6 +193,18 @@ class Volume(Base, NovaBase): attach_status = Column(String) # FIXME enum delete_on_termination = Column(Boolean) +class Network(Base, NovaBase): + __tablename__ = 'networks' + +class FixedIp(Base, NovaBase): + __tablename__ = 'fixed_ips' + +class ElasticIp(Base, NovaBase): + __tablename__ = 'elastic_ips' + +class Vpn(Base, NovaBase): + __tablename__ = 'vpns' + def create_session(engine=None): return NovaBase.get_session() |
