<<

NAME

pfappserver::Model::Node - Catalyst Model

DESCRIPTION

Catalyst Model.

METHODS

exists

field_names

Field names to be displayed. The first one is the default sort field.

countAll

search

Used to perform a simple search

view

From pf::lookup::node::lookup_node()

create

Create and register a node

update

See subroutine manage of pfcmd.pl

import

See pf::import::nodes

delete

reevaluate

availableStatus

violations

Return the open violations associated to the MAC.

addViolation

closeViolation

runViolation

closeViolations

_closeViolation

helper function for doing a force close

bulkApplyViolation

_graphIplogHistory

The associated HTML template to show the graph could look like this:

Last 2 weeks
[%- IF node.iplog.series.size %]
[%- ELSE %]
Warning! [% l('This MAC address has not been seen recently.') %]
[%- END %]

And the corresponding JavaScript:

bulkRegister

bulkDeregister

bulkApplyRole

bulkApplyBypassRole

bulkReevaluateAccess

AUTHOR

Inverse inc. <info@inverse.ca>

COPYRIGHT

Copyright (C) 2005-2015 Inverse inc.

LICENSE

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

<<