NAME
App::Netdisco::Core::Nbtstat
DESCRIPTION
Helper subroutines to support parts of the Netdisco application.
There are no default exports, however the :all
tag will export all subroutines.
EXPORT_OK
nbtstat_resolve_async( $ips )
This method uses an asynchronous AnyEvent NetBIOS node status requester App::Netdisco::AnyEvent::Nbtstat
.
Given a reference to an array of hashes will connects to the IPv4
of a node and gets NetBIOS node status information.
Returns the supplied reference to an array of hashes with MAC address, NetBIOS name, NetBIOS domain/workgroup, NetBIOS user, and NetBIOS server service status for addresses which responded.
- store_nbt($nb_hash_ref, $now?)
-
Stores entries in
node_nbt
table from the provided hash reference; MACmac
, IPip
, Unique NetBIOS Node Namenbname
, NetBIOS Domain or Workgroupdomain
, whether the Server Service is runningserver
, and the current NetBIOS usernbuser
.Adds new entry or time stamps matching one.
Optionally a literal string can be passed in the second argument for the
time_last
timestamp, otherwise the current timestamp (now()
) is used.
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 143:
'=item' outside of any '=over'
=over without closing =back