# FAP - Fast and Agile Provisioning
Tools (DHCP daemon + HTTP daemon + DB) for managing provisioning towards a large number of factory default Juniper switches (EX2200) using ZTP (Zero Touch Protocol) over DHCP relays.
The project is built with Python (>3.4.0) and PostgreSQL (>9.3.5).
Licensed under the GNU GPL, version 2. See the included COPYING file.
## Usage
Launch the python scripts for fap from tgmanage directory.
### HTTPD
j@lappie:~/git/tgmanage$ sudo python3 fap/httpd/server_http.py
Example: httpd/terminal.log
### DHCPD
j@lappie:~/git/tgmanage$ sudo python3 fap/dhcpd/server_dhcp.py
Example: dhcpd/terminal.log
# TODO
* DONE: Support for IPv6 management
* Process multiple HTTP request simultaneously
* Support for only pushing JunOS image to switch - no config (for backup switches)
* Try/catch on whole ethernet frame in DHCPD
* Timestamps on each line in log both from DHCPD and HTTPD