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

@@ -166,6 +166,17 @@ __PACKAGE__->might_have( power => 'App::Netdisco::DB::Result::DevicePortPower',
'foreign.ip' => 'self.ip', 'foreign.port' => 'self.port',
});
=head2 properties
Returns a row from the C<device_port_properties> table if one refers to this
device port.
=cut
__PACKAGE__->might_have( properties => 'App::Netdisco::DB::Result::DevicePortProperties', {
'foreign.ip' => 'self.ip', 'foreign.port' => 'self.port',
});
=head2 ssid
Returns a row from the C<device_port_ssid> table if one refers to this