aboutsummaryrefslogtreecommitdiffstats
path: root/fap/httpd/server_http.py
diff options
context:
space:
mode:
authorJonas Lindstad <jonaslindstad@gmail.com>2015-03-17 21:30:23 +0100
committerJonas Lindstad <jonaslindstad@gmail.com>2015-03-17 21:30:23 +0100
commitdff222fbec7e95fa19ae822141a58d5ca46d233d (patch)
treeebfdb3bd2f63fbb053893f857162b552fad8291b /fap/httpd/server_http.py
parent939b606944b6892d26581bce598c66c790786de9 (diff)
foobar apache+PHP funker nĂ¥..
Diffstat (limited to 'fap/httpd/server_http.py')
-rw-r--r--fap/httpd/server_http.py5
1 files changed, 4 insertions, 1 deletions
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()