From: Mitchell E Berger Date: Fri, 18 May 2018 00:06:11 +0000 (-0400) Subject: Add other_action column to nics table X-Git-Tag: 0.2.13^0 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-database.git/commitdiff_plain/e4199aa3b63babad4422275f30bb1e3242cbaadb Add other_action column to nics table --- diff --git a/debian/changelog b/debian/changelog index 2b9e55f..860654e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,9 @@ invirt-database (0.2.13) unstable; urgency=low - * Add columns for netmask, gateway, and an "other_" set of ip params + * Add columns for netmask, gateway, and an "other_" set of ip params, + with an other_action column to indicate what to do with those. - -- Mitchell Berger Wed, 25 Apr 2018 02:38:22 -0400 + -- Mitchell Berger Thu, 17 May 2018 20:07:00 -0400 invirt-database (0.2.12) unstable; urgency=low diff --git a/python/database/models.py b/python/database/models.py index 965bda8..287e957 100644 --- a/python/database/models.py +++ b/python/database/models.py @@ -78,6 +78,7 @@ nic_table = Table('nics', meta, Column('other_ip', String, nullable=True), Column('other_netmask', String, nullable=True), Column('other_gateway', String, nullable=True), + Column('other_action', String, nullable=True), Column('hostname', String, nullable=True), Column('reusable', Boolean, nullable=False, default=True))