+
Skip to content

akamac/ipvs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker image to reload IPVS configuration from file

Send SIGHUP to reload IPVS config from /ipvs.json formatted for facebook/gnlpy's ipvs.Pool.load_pools_from_json_list().

  • load ip_vs module on the host first with modprobe ip_vs
  • run with --cap-add NET_ADMIN

Run unit tests

docker build -t intermedia/ipvs . && docker build -t ipvs:pytest tests
# run unit tests with coverage
docker run --rm --cap-add=NET_ADMIN -t ipvs:pytest
# run pylint
docker run --rm -t ipvs:pytest pylint ipvssync
# remote interactive debug with pyvdev 
docker run --rm --cap-add=NET_ADMIN -e PYDEV_IP=10.9.3.185 -e PYDEV_PORT=4444 ipvs:pytest

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载