support for storing remote_is_discoverable on a port
This commit is contained in:
@@ -331,6 +331,15 @@ state, or else `undef` if the port is not in an error state.
|
||||
|
||||
sub error_disable_cause { return (shift)->get_column('error_disable_cause') }
|
||||
|
||||
=head2 remote_is_discoverable
|
||||
|
||||
Returns true if Netdisco is permitted to discover the remote device with
|
||||
the configuration of the local poller doing the local device discovery.
|
||||
|
||||
=cut
|
||||
|
||||
sub remote_is_discoverable { return (shift)->get_column('remote_is_discoverable') }
|
||||
|
||||
=head2 remote_is_wap
|
||||
|
||||
Returns true if the remote LLDP neighbor has reported Wireless Access Point
|
||||
|
||||
@@ -13,6 +13,8 @@ __PACKAGE__->add_columns(
|
||||
{ data_type => "text", is_nullable => 0 },
|
||||
"error_disable_cause",
|
||||
{ data_type => "text", is_nullable => 1 },
|
||||
"remote_is_discoverable",
|
||||
{ data_type => "boolean", default_value => \"true", is_nullable => 1 },
|
||||
"remote_is_wap",
|
||||
{ data_type => "boolean", default_value => \"false", is_nullable => 1 },
|
||||
"remote_is_phone",
|
||||
|
||||
Reference in New Issue
Block a user