Commit Graph

4 Commits

Author SHA1 Message Date
Sean McGinnis 7839f35ca3
Retire repo
This patch completes step 2 of the infra project retirement process
found here:

https://docs.opendev.org/opendev/infra-manual/latest/drivers.html#step-2-remove-project-content

Reference:

http://lists.openstack.org/pipermail/openstack-discuss/2020-June/015600.html

Depend-on: https://review.opendev.org/737566

Change-Id: Id3a5477860323547a4e17155061f597a8c96640b
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-06-23 10:49:40 -05:00
Shachar Snapiri a56aaea410 Set absolute path for docker entrypoint
In case dragonflow is used as a base image for another docker image, and the
WORKDIR is set to something other than /opt/dragonflow before running the
container, the call to run_dragonflow.sh will fail as the reference is relative
so it will not be found.

Change-Id: If9f25f94520fd74ab14658cf63f43c940da7b2ea
2019-01-02 08:20:42 +02:00
Shachar Snapiri 5167fd3b70 Add creation of /var/run/dragonflow directory in docker
When running Dragonflow controller in container, an exception is thrown
as the /var/run/dragonflow directory does not exist

Change-Id: Ie2f83d5b34a1fd1fe6b6e0fe9975a24f1d6eeb6b
Closes-Bug: #1808816
2018-12-18 18:18:13 +00:00
Shachar Snapiri 94bb542246 Add Fedora based docker file creation
This docker image is using Python 3.6 as default instead of the 2.6
version used by the default image.
In order to create the Fedora docker image, use the following command:
docker build -t dragonflow -f Dockerfile.fedora .

Recently we have added features that are supported only with Python 3,
so this docker will allow us to run them natively.
e.g. https://review.openstack.org/#/c/616106

Co-Authored-By: Omer Anson <omer.anson@toganetworks.com>
Change-Id: Iefd88738424906e832564b23f69320b775c98376
Partially-Implements: blueprint add-dragonflow-api
2018-11-12 06:32:41 +00:00