From dff222fbec7e95fa19ae822141a58d5ca46d233d Mon Sep 17 00:00:00 2001 From: Jonas Lindstad Date: Tue, 17 Mar 2015 21:30:23 +0100 Subject: =?UTF-8?q?foobar=20apache+PHP=20funker=20n=C3=A5..?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fap/httpd/server_http.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'fap/httpd/server_http.py') diff --git a/fap/httpd/server_http.py b/fap/httpd/server_http.py index bc9ceea..a9ae74c 100644 --- a/fap/httpd/server_http.py +++ b/fap/httpd/server_http.py @@ -62,7 +62,10 @@ def main(): 'mgmt_cidr': row['mgmt_cidr'], 'mgmt_gw': row['mgmt_gw'], 'mgmt_vlan': row['mgmt_vlan'], - 'traffic_vlan': row['traffic_vlan'] + 'traffic_vlan': row['traffic_vlan'], + 'mgmt_v6_addr': row['mgmt_v6_addr'], + 'mgmt_v6_cidr': row['mgmt_v6_cidr'], + 'mgmt_v6_gw': row['mgmt_v6_gw'] } cur.execute("UPDATE switches SET last_config_fetch = '%s' WHERE hostname = '%s'" % (str(time.time()).split('.')[0], hostname)) # updated DB with last config fetch conn.commit() -- cgit v1.2.3