Coder Social home page Coder Social logo

adobe / havoc Goto Github PK

View Code? Open in Web Editor NEW
4.0 18.0 8.0 25 KB

HAvOC (HAproxy clOud Configuration)

License: Apache License 2.0

Python 94.47% Makefile 5.53%
haproxy openstack aws configuration-management haproxy-configuration havoc haproxy-cloud-configuration

havoc's Introduction

HAvOC (HAproxy clOud Configuration)

Generate HAproxy Configuration based on AWS and Openstack API (Nova). Leverage Jinja2 for templating.

$ havoc --help
Usage: havoc [OPTIONS]

  HAvOC (HAproxy clOud Configuration)

  Generate HAproxy Configuration based on AWS and Openstack API (Nova).

  HAvOC leverages Jinja2 for templating :
  http://jinja.pocoo.org/docs/dev/templates

Options:
  --config TEXT               HAvOC configuration file (YAML format)
  --cli                       Run HAvOC as a command without daemon
  --daemonize                 Start the HAvOC daemon
  --interval TEXT             Define the interval between every run
  --pidfile TEXT              Define the pidfile when running as daemon
  --template TEXT             Jinja 2 template
  --haproxy-cfg TEXT          The HAproxy configuration file
  --pools TEXT                List of HAproxy Backend Pools  [required]
  --cpus INTEGER              Reserved CPUS for HAproxy (nbproc)
  --system-cpus INTEGER       Reserved CPUS for the system
  --log-send-hostname TEXT    Hostname for the syslog header
  --access_key_id TEXT        AWS Access Key ID
  --access_key_secret TEXT    AWS Access Key Secret
  --overflow-aws-region TEXT  Overflow AWS region
  --overflow-aws-zone TEXT    Overflow AWS zone
  --aws-vpc TEXT              AWS VPC name
  --os-auth-url TEXT          Openstack Auth URL
  --os-username TEXT          Openstack Username
  --os-api-key TEXT           Openstack API Key
  --os-project-id TEXT        Openstack Project ID
  --os-tenant TEXT            Openstack tenant name
  --os-tenant TEXT            Openstack tenant name
  --logfile TEXT              Logging file when the application is in daemon
                              mode
  --dry-run                   If use, HAvOC will display the result and not
                              change haproxy.cfg
  --debug                     Debug mode
  --help                      Show this message and exit.

Installation

TODO

Contributors

havoc's People

Contributors

orieg avatar pryz avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

havoc's Issues

Cannot run `--help`

I may be missing some steps... I am trying to send a pull request for installation instructions in the README, but I just can't quite get the setup right. Here is what I thought I needed to do to get this setup (and all of these finished successfully):

make venv
make install
make setup

However, when I try to run the help, I get:

โžœ make run_help
"havoc_venv"/bin/python havoc/app.py --help
Traceback (most recent call last):
  File "havoc/app.py", line 20, in <module>
    from havoc.config import Config
ModuleNotFoundError: No module named 'havoc.config'
make: *** [run_help] Error 1

I can't find a havoc/config dir in the code, though. Maybe I'm doing this wrong, but any help would be appreciated!

Thanks,
Fil

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.