Files
netdisco/lib/App/Netdisco/DB/Result/NetmapPositions.pm
Oliver Gorwits e52f789b45 #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
2023-11-09 19:54:34 +00:00

29 lines
706 B
Perl

use utf8;
package App::Netdisco::DB::Result::NetmapPositions;
use strict;
use warnings;
use base 'App::Netdisco::DB::Result';
__PACKAGE__->table("netmap_positions");
__PACKAGE__->add_columns(
"id",
{ data_type => "integer", is_nullable => 0, is_auto_increment => 1 },
"device",
{ data_type => "inet", is_nullable => 1 },
"host_groups",
{ data_type => "text[]", is_nullable => 0 },
"locations",
{ data_type => "text[]", is_nullable => 0 },
"vlan",
{ data_type => "integer", is_nullable => 0, default => 0 },
"depth",
{ data_type => "integer", is_nullable => 0, default => 0 },
"positions",
{ data_type => "text", is_nullable => 0 },
);
__PACKAGE__->set_primary_key("id");
1;