Yes you can add it in Avaya.pm and you just need to restart httpd.aaa.

Regards
Fabrice


Le mer. 16 juin 2021 à 14:13, Chris Crawford via PacketFence-users <
packetfence-users@lists.sourceforge.net> a écrit :

> Do I need to put this into the Avaya.pm in …/lib/pf/Switch/Avaya.pm? Or
> can I create a new switch template and put it in it?
>
>
>
> Also, I assume I need to restart PacketFence for this to take affect?
>
>
>
> Cheers,
>
> Chris
>
>
>
> *From:* Quiniou-Briand, Nicolas <nquin...@akamai.com>
> *Sent:* June 14, 2021 9:01 AM
> *To:* packetfence-users@lists.sourceforge.net
> *Cc:* Chris Crawford <chris.crawf...@unb.ca>
> *Subject:* RE: Question regarding CLI Access for Avaya/Nortel/Extreme ERS
> switches
>
>
>
> ✉*External message:* Use caution.
>
> Hello Chris,
>
>
>
> > My question is about how I would add it?
>
>
>
> You normally just need to add two functions in your .pm file:
>
> - returnAuthorizeWrite (to handle read/write access)
>
> - returnAuthorizeRead (to handle read-only access)
>
>
>
> See Generic switch module [1] as an example.
>
>
>
> [1]
> https://github.com/inverse-inc/packetfence/blob/268dd8ce5812e0daf8e83e3fcddd502b1037665a/lib/pf/Switch/Generic.pm
>
>
>
> *Nicolas Quiniou-Briand*
> *Product Support Engineer*
>
> *Office:* +33156696210
>
> Akamai Technologies
> 145 Broadway
> Cambridge, MA 02142
>
> Connect with Us:
>
> <https://community.akamai.com/>  <http://blogs.akamai.com/>
> <https://twitter.com/akamai>  <http://www.facebook.com/AkamaiTechnologies>
>   <http://www.linkedin.com/company/akamai-technologies>
> <http://www.youtube.com/user/akamaitechnologies?feature=results_main>
>
>
> _______________________________________________
> PacketFence-users mailing list
> PacketFence-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/packetfence-users
>
_______________________________________________
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to