implement port properties table and error disable gathering to it

This commit is contained in:
Oliver Gorwits
2018-02-20 22:45:53 +00:00
parent 3e7ffe8045
commit 7191a1cd00
7 changed files with 114 additions and 1 deletions

View File

@@ -171,6 +171,17 @@ __PACKAGE__->has_many(
'ip', { join_type => 'RIGHT' }
);
=head2 properties_ports
Returns the set of ports known to have recorded properties
=cut
__PACKAGE__->has_many(
properties_ports => 'App::Netdisco::DB::Result::DevicePortProperties',
'ip', { join_type => 'RIGHT' }
);
=head2 powered_ports
Returns the set of ports known to have PoE capability