ORM is available as a python pip
package and as a Docker image.
pip install origin-routing-machine
orm --help
docker run --name orm --rm -v ${PWD}:${PWD} -w ${PWD} -it svtwebcoreinfra/orm --help
When ORM is run with a path to a ruleset, the rules under the path are:
- validated and checked for any collisions, i.e. instances of overlapping rules that try to modify the same requests
- translated into HAProxy and Varnish configuration
For an example of using ORM with included example rules, and to try it out locally, see example/README.md.
For a more production-like setup, see the lxd/ folder. This deployment is used for the release tests of ORM.