aboutsummaryrefslogtreecommitdiffstats
path: root/web/nms.gathering.org/api/write/switch-add
diff options
context:
space:
mode:
authorKristian Lyngstol <kly@kly@.no>2016-03-22 16:05:04 +0100
committerKristian Lyngstol <kly@kly@.no>2016-03-22 16:05:04 +0100
commit10271b0e95a424e191926a945fe785e9cce046c1 (patch)
tree9116f8c485fda55f02f20916d3db1c81fd8a7247 /web/nms.gathering.org/api/write/switch-add
parent89c78bc9eab3b69fe31babe5e64f0343386f67be (diff)
NMS: Update schema to FAP
Diffstat (limited to 'web/nms.gathering.org/api/write/switch-add')
-rwxr-xr-xweb/nms.gathering.org/api/write/switch-add2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/nms.gathering.org/api/write/switch-add b/web/nms.gathering.org/api/write/switch-add
index 48f62fc..411a76b 100755
--- a/web/nms.gathering.org/api/write/switch-add
+++ b/web/nms.gathering.org/api/write/switch-add
@@ -22,7 +22,7 @@ my @dups;
my $sth = $nms::web::dbh->prepare("SELECT sysname FROM switches WHERE sysname=?");
-my @fields = ('ip', 'sysname', 'last_updated', 'locked', 'poll_frequency', 'community', 'lldp_chassis_id', 'secondary_ip', 'subnet4', 'subnet6', 'placement', 'distro', 'secondary_ip');
+my @fields = ( 'community', 'current_mac', 'distro_name', 'distro_phy_port', 'lldp_chassis_id', 'mgmt_v4_addr', 'mgmt_v4_gw', 'mgmt_v4_netsize', 'mgmt_v6_addr', 'mgmt_v6_gw', 'mgmt_v6_netsize', 'mgmt_vlan', 'placement', 'poll_frequency', 'subnet4', 'subnet6', 'switchtype', 'sysname', 'traffic_vlan');
sub convertplace
{