672906eef3
This patch adds "sudo" to "Running Kuryr" section of README.rst. Some people get stuck with the errors of pyroute2 and that's because of the lack of the privilege for manipulating the veth interfaces. Related-Bug: #1516539 Change-Id: I44f44755a1aec4ec29d0afa4852e989eca28d381 Signed-off-by: Taku Fukushima <f.tac.mac@gmail.com> |
||
---|---|---|
contrib/vagrant | ||
devstack | ||
doc | ||
etc | ||
kuryr | ||
rally-jobs | ||
releasenotes/notes | ||
scripts | ||
tools | ||
usr/libexec/kuryr | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.testr.conf | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
MANIFEST.in | ||
README.rst | ||
__init__.py | ||
babel.cfg | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.rst
kuryr
Docker for OpenStack Neutron
Kuryr is a Docker network plugin that uses Neutron to provide networking services to Docker containers. It provides containerised images for the common Neutron plugins.
- Free software: Apache license
- Documentation: http://docs.openstack.org/developer/kuryr
- Source: http://git.openstack.org/cgit/openstack/kuryr
- Bugs: http://bugs.launchpad.net/kuryr
Features
- TODO
Prerequisites
$ sudo pip install -r requirements.txt
Running Kuryr
Please run the following script, it creates
/usr/lib/docker/plugins/kuryr
and the JSON spec file,
/usr/lib/docker/plugins/kuryr/kuryr.json
, if they don't
exist. Kuryr requires the root privilege for creating and deleting the
veth pairs with pyroute2 to
run.
$ sudo ./scripts/run_kuryr.sh
Testing Kuryr
$ tox
You can also run specific test cases using the -e
flag,
e.g., to only run the fullstack test case.
$ tox -e fullstack
Generate Documentation
We use Sphinix to maintain the documentation. You can install Sphinix using pip.
$ pip install -U Sphinx
The source code of the documentation are under doc, you can generate the html files using the following command. If the generation succeeds,a build/html dir will be created under doc.
$ cd doc
$ make html
Now you can serve the documentation at http://localhost:8080 as a simple website.
$ cd build/html
$ python -m SimpleHTTPServer 8080