From e4199aa3b63babad4422275f30bb1e3242cbaadb Mon Sep 17 00:00:00 2001 From: Mitchell E Berger Date: Thu, 17 May 2018 20:06:11 -0400 Subject: [PATCH] Add other_action column to nics table --- debian/changelog | 5 +++-- python/database/models.py | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) 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)) -- 1.7.9.5