#1009 neighbour map depth and/or until end of lldp chains
* sidebar and style changes * switch server code to new params and values * working algo for cloud and neighbor depth * store map positions for lldp cloud with depth * color the root node uniquely * restrict all devices, depth, cloud map to < 1000 devices
This commit is contained in:
@@ -86,6 +86,7 @@ get '/device' => require_login sub {
|
||||
template 'device', {
|
||||
netdisco_device => $first,
|
||||
display_name => ($others ? $first->ip : ($first->dns || $first->ip)),
|
||||
device_count => schema(vars->{'tenant'})->resultset('Device')->count(),
|
||||
lgroup_list => [ schema(vars->{'tenant'})->resultset('Device')->get_distinct_col('location') ],
|
||||
hgroup_list => setting('host_group_displaynames'),
|
||||
device => params->{'tab'},
|
||||
|
||||
Reference in New Issue
Block a user