diff options
author | Jonas Lindstad <jonaslindstad@gmail.com> | 2015-03-17 21:30:23 +0100 |
---|---|---|
committer | Jonas Lindstad <jonaslindstad@gmail.com> | 2015-03-17 21:30:23 +0100 |
commit | dff222fbec7e95fa19ae822141a58d5ca46d233d (patch) | |
tree | ebfdb3bd2f63fbb053893f857162b552fad8291b /fap/httpd/server_http.py | |
parent | 939b606944b6892d26581bce598c66c790786de9 (diff) |
foobar apache+PHP funker nĂ¥..
Diffstat (limited to 'fap/httpd/server_http.py')
-rw-r--r-- | fap/httpd/server_http.py | 5 |
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() |