<<

NAME

pf::cmd::pf::node add documentation

SYNOPSIS

 pfcmd node <add|count|view|edit|delete> mac [assignments]

manipulate node entries

examples:

  pfcmd node view all
  pfcmd node view all order by pid limit 10,20
  pfcmd node view pid="admin" order by pid desc limit 10,20
  pfcmd node count all
  pfcmd node add 00:01:02:03:04:05 status="reg" pid="admin"
  pfcmd node edit 00:01:02:03:04:05 status="reg"
  pfcmd node delete 00:01:02:03:04:05

DESCRIPTION

pf::cmd::pf::node

action_view

handles 'pfcmd node view' command

parse_view

parse and validate the arguments for 'pfcmd node view' command

action_add

handles 'pfcmd node add' command

parse_add

parse and validate the arguments for 'pfcmd node add' command

action_count

handles 'pfcmd node count' command

parse_view

parse and validate the arguments for 'pfcmd node count' command

action_edit

handles 'pfcmd node edit' command

parse_edit

parse and validate the arguments for 'pfcmd node edit' command

action_delete

handles 'pfcmd node delete' command

parse_delete

parse and validate the arguments for 'pfcmd node delete' command

_parse_attributes

parse and validate the arguments for 'pfcmd node add|edit' commands

print_results

print the results of a query;

cleanup_row

Clean up the row for display

AUTHOR

Inverse inc. <info@inverse.ca>

Minor parts of this file may have been contributed. See CREDITS.

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.

<<