Louis,

I am OK with a little SQL:) That's no problem.

But the DB schema changes once in awhile and that is why perhaps we want to
hide it behind an API/CLI.

Cheers,

Boris.


On Tue, Jun 2, 2015 at 5:49 PM, Louis Munro <[email protected]> wrote:

> On Jun 2, 2015, at 17:43 , Boris Epstein <[email protected]> wrote:
>
> Is there a way to force a deletion of phantom nodes - nodes who are still
> listed as having a location even though they have not been connected for
> days? What I get trying to delete them is:
>
> pfcmd node delete 00:11:bb:68:b5:0d
> Cannot delete node 00:11:bb:68:b5:0d since there are some records in
> locationlog table indicating that this node might still be connected and
> active on the network
>
>
> I just do something like the following:
>
> # mysql -p -u pf pf -e ‘delete from node where mac="00:11:bb:68:b5:0d";’
>
> But then again, I am old fashioned...
>
>
> Regards,
> --
> Louis Munro
> [email protected]  ::  www.inverse.ca
> +1.514.447.4918 x125  :: +1 (866) 353-6153 x125
> Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (
> www.packetfence.org)
>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> PacketFence-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/packetfence-users
>
>
------------------------------------------------------------------------------
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to