diff options
author | Kristian Lyngstol <kly@kly@.no> | 2016-03-22 19:53:30 +0100 |
---|---|---|
committer | Kristian Lyngstol <kly@kly@.no> | 2016-03-22 19:53:30 +0100 |
commit | 05fedaa7461c6fd67c402671f0e129b3d1772fbf (patch) | |
tree | a973895e01934566f57ccbd1ec46380950bbf8d6 /web/nms-public.gathering.org/api/public/switches | |
parent | 79d9099cf563c276f67b07ca2e62fc51f40288be (diff) |
NMS: Tweak NMS public API and draw linknets
Diffstat (limited to 'web/nms-public.gathering.org/api/public/switches')
-rwxr-xr-x | web/nms-public.gathering.org/api/public/switches | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/nms-public.gathering.org/api/public/switches b/web/nms-public.gathering.org/api/public/switches index 7e7f10b..3aa8af8 100755 --- a/web/nms-public.gathering.org/api/public/switches +++ b/web/nms-public.gathering.org/api/public/switches @@ -12,7 +12,7 @@ use Data::Dumper; $nms::web::cc{'max-age'} = "60"; -my $q2 = $nms::web::dbh->prepare('select switch,sysname,placement,ip,poll_frequency,community,last_updated from switches where placement is not null'); +my $q2 = $nms::web::dbh->prepare('select switch,sysname,placement,mgmt_v4_addr,mgmt_v6_addr,mgmt_v4_gw,mgmt_v4_netsize,mgmt_v6_gw,mgmt_v6_netsize,mgmt_vlan,traffic_vlan,last_config_fetch,current_mac,poll_frequency,community,last_updated,switchtype from switches where placement is not null'); $q2->execute(); while (my $ref = $q2->fetchrow_hashref()) { |