pfSense Gold Subscription

Author Topic: FauxAPI :: A REST API interface for pfSense to facilitate dev-ops  (Read 2290 times)

0 Members and 1 Guest are viewing this topic.

Offline ndejong

  • Newbie
  • *
  • Posts: 7
  • Karma: +5/-0
    • View Profile
Hi,

I'm looking for feedback on a pfSense package I've created, FauxAPI that provides a REST style API interface to pfSense 2.3+

At this stage
 - feedback on any glaring problems with the release would be very much appreciated
 - input on best/accepted practices in releasing pfSense packages into the pfSense FreeBSD-ports tree would be helpful
 - I'll likely avoid adding new features in the immediate term until the release process is more clear to me

Code can found here:-
https://github.com/ndejong/pfsense_fauxapi

A pfSense package release can be downloaded here to save you needing to build:-
https://github.com/ndejong/pfsense_fauxapi/tree/master/package

N

« Last Edit: November 28, 2016, 04:09:36 am by ndejong »

Offline chuchuchu

  • Newbie
  • *
  • Posts: 24
  • Karma: +1/-0
    • View Profile
    • Google
Re: FauxAPI :: A REST API interface for pfSense to facilitate dev-ops
« Reply #1 on: March 08, 2017, 02:22:32 am »
Hi,

I'm looking for feedback on a pfSense package I've created, FauxAPI that provides a REST style API interface to pfSense 2.3+

At this stage
 - feedback on any glaring problems with the release would be very much appreciated
 - input on best/accepted practices in releasing pfSense packages into the pfSense FreeBSD-ports tree would be helpful
 - I'll likely avoid adding new features in the immediate term until the release process is more clear to me

Code can found here:-
https://github.com/ndejong/pfsense_fauxapi

A pfSense package release can be downloaded here to save you needing to build:-
https://github.com/ndejong/pfsense_fauxapi/tree/master/package

N

begin testing for this. Thanks in advance for your work

greetings from germany,

chris

Offline archenroot

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: FauxAPI :: A REST API interface for pfSense to facilitate dev-ops
« Reply #2 on: April 05, 2017, 04:37:36 am »
Great stuff this is actually the future to go, provide common configuration interface for remote management.

I use pfSense and being happy how stable it is, but now wanted to create some more complex kind of VPN setup, traffic shaping, network rules via custom web pages with autoconfiguration and this is the way of course in these days.

Thanks a lot for this effort!

I will look at this and will let you know.

Offline archenroot

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: FauxAPI :: A REST API interface for pfSense to facilitate dev-ops
« Reply #3 on: April 05, 2017, 07:03:55 am »
Actually I saw also some project regarding new pfSense web GUI interface and I think it might be good approach (based on my experience - I am doing microservice and SOA solution) to make this new face working via REST API completely.

I found some ticket https://redmine.pfsense.org/issues/5719, but the referred github project doesn't exist anymore...

Offline heper

  • Hero Member
  • *****
  • Posts: 2669
  • Karma: +252/-11
    • View Profile
Re: FauxAPI :: A REST API interface for pfSense to facilitate dev-ops
« Reply #4 on: April 05, 2017, 09:28:11 am »
That redmine is unrelated to rest

Offline ndejong

  • Newbie
  • *
  • Posts: 7
  • Karma: +5/-0
    • View Profile
Re: FauxAPI :: A REST API interface for pfSense to facilitate dev-ops
« Reply #5 on: August 12, 2017, 06:56:19 am »
FauxAPI has received an update to v1.1

In brief:-
 - new API call `alias_update_urltables` - forces the immediate update of remote URL tables
 - new API call `gateway_status` - returns the current status of the gateways
 - updated documentation
 - tested against pfSense 2.3.2 and 2.3.3

The package has received some great feedback and users deploying in complex large environments - enjoy, send feedback.