MONROE-PROJECT / Scheduler

The MONROE scheduling server, and deployment daemon
https://www.monroe-project.eu/
0 stars 2 forks source link

Initial support for neat proxy #16

Closed jonakarl closed 5 years ago

jonakarl commented 6 years ago

Adds support for neat proxy.

TODO: Evaluate the pro/cons of creating "dynamic" circle.d rules vs using iptable commands directly In the currrent implementation using iptable directly on line 139 does not work since line 151 will restart circle and clear iptable after the iptable commands are executed.

Related PR: MONROE-PROJECT/Utilities#15

jonakarl commented 6 years ago

I have reworked this to only start the container when needed (and stop it)

I have installed the scripts on node 232 and run a manual test (https://www.monroe-system.eu/user/neat-benefits/)

The URL_NEAT_PROXY must be added to default/experiments $ cat /etc/default/monroe-experiments

URL_NEAT_PROXY=trozensztrauch/neat-proxy