Oliver Gorwits > App-Netdisco-2.006000 > App::Netdisco::DB::ResultSet::NodeIp

Download:
App-Netdisco-2.006000.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Source   Latest Release: App-Netdisco-2.029014

search_by_ip( \%cond, \%attrs? ) ^

 my $set = $rs->search_by_ip({ip => '192.0.2.1', active => 1});

Like search(), this returns a ResultSet of matching rows from the NodeIp table.

To limit results only to active IPs, set {active => 1} in cond.

search_by_name( \%cond, \%attrs? ) ^

 my $set = $rs->search_by_name({dns => 'foo.example.com', active => 1});

Like search(), this returns a ResultSet of matching rows from the NodeIp table.

To limit results only to active IPs, set {active => 1} in cond.

search_by_mac( \%cond, \%attrs? ) ^

 my $set = $rs->search_by_mac({mac => '00:11:22:33:44:55', active => 1});

Like search(), this returns a ResultSet of matching rows from the NodeIp table.

To limit results only to active IPs, set {active => 1} in cond.

syntax highlighting: