Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
35 lines (27 sloc) 948 Bytes
Install acl_server on Cumulus Linux 3.4+
----------------------------------------
sudo wget -P /usr/sbin/ https://raw.githubusercontent.com/pphaal/acl_server/master/acl_server
sudo wget -P /lib/systemd/system/ https://raw.githubusercontent.com/pphaal/acl_server/master/acl_server.service
sudo chmod +x /usr/sbin/acl_server
sudo systemctl enable acl_server.service
sudo systemctl start acl_server.service
Integrate with Cumulus Linux HTTP API
-------------------------------------
https://docs.cumulusnetworks.com/display/DOCS/HTTP+API
sudo vi /etc/nginx/sites-available/nginx-restapi.conf
Add the following lines to the end of the server section:
http {
...
server {
...
location / {
...
}
# Forward requests to acl_server daemon
location /acl/ {
proxy_redirect off;
proxy_pass http://localhost:8081/;
}
}
}
sudo systemctl restart nginx.service