* 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
8 lines
158 B
PL/PgSQL
8 lines
158 B
PL/PgSQL
BEGIN;
|
|
|
|
ALTER TABLE netmap_positions ADD COLUMN "depth" integer DEFAULT 0 NOT NULL;
|
|
|
|
UPDATE netmap_positions SET depth = 0 WHERE device IS NOT NULL;
|
|
|
|
COMMIT;
|