aboutsummaryrefslogtreecommitdiff
path: root/docker/openvswitch
AgeCommit message (Collapse)AuthorFilesLines
2017-07-24Ensure interface exists before adding OVS portPavel Glushchak1-2/+8
Otherwise fail. Change-Id: Ia84d146e568071a84a7d0e06fcd88e64427904b8 Closes-Bug: #1700745 Signed-off-by: Pavel Glushchak <pglushchak@virtuozzo.com>
2017-07-05introduces support for the OVS DPDK dataplaneSean Mooney1-0/+4
- DPDK is a userspace library for high-performance networking. - This change enable support of Open vSwitch with the DPDK accelerated netdev datapath. - This change provided binary and source support via a template-override. - This change provides an example template override file and corresponding documentation. Co-Authored-By: Mauricio Lima <mauriciolimab@gmail.com> Partial-Implements: blueprint ovs-dpdk Change-Id: I7c3a5dddeca1886fe1c7681ce8d5bebde08f3102
2017-05-03Override image's meta info.Jawon Choo3-3/+3
centos based images have wrong label info, these changes fix own image's name and build-date. Change-Id: I1d13f8f386c8db12b5fbe5f8ecbbf9e3fbb4ba1c Closes-Bug: #1680341
2017-04-20Use LABEL instead of MAINTAINER (deprecated) in all Dockerfile.j2Chen3-3/+3
Use LABEL instruction instead of MAINTAINER (deprecated) instruc- tion as suggested by Docker's official dockerfile guide. docs.docker.com/engine/reference/builder/#maintainer-deprecated Closes-Bug: #1683652 Change-Id: Ie87a1ddf31aefcd0b623fd2837d78de420e76898
2017-04-04debian: enable all images enabled for UbuntuMarcin Juszkiewicz1-1/+1
Debian support is not maintained in Kolla so it got a bit behind Ubuntu one. This changeset enables Debian for all images. Jessie (even with backports) may be too old for some images though. Also unify distro check to ['debian', 'ubuntu'] to keep alphabetical order like it is done for RPM distributions. Partially-Implements: blueprint multiarch-and-arm64-containers Change-Id: I056233fbfa277e0e2360c07c3f80d9558c554357
2017-02-05Remove include_header and include_footer in all DockerfilesJeffrey Zhang2-2/+0
include_header and include_footer parameter is already removed, remove them in all Dockerfiles. Add missing footer block. Change-Id: I90da03eb9f95a3827361d5f5ede65fde7d6be2b3
2017-01-05Remove footer block and variable in *-base imagesJeffrey Zhang1-1/+0
Change-Id: I39aa88489f744f779150695f3f55ef80d42e1c61 Closes-Bug: #1653247
2016-12-15Move openvswitch db file into docker volumeJeffrey Zhang2-6/+6
openvswitch db file is created in /etc/openvswitch/conf.db. It will be lost during upgrade openvswitch_db container. This patch moves the db file into /var/lib/openvswitch folder, which located in docker volume. Change-Id: I73604fddacd21655590b9e66ee2805014795b9f1 Closes-Bug: #1649290
2016-12-11Fix some typopangliye1-1/+1
Co-Authored-By: caoyuan <cao.yuan@99cloud.net> TrivialFix Change-Id: Ie576114a3f6f4579a4df3175232a5f6c63c7a795
2016-11-03Remove Fedora supportChristian Berendt1-1/+1
Closes-bug: #1616387 Change-Id: Id97f88b9baa3d48d33ce120962450a374282d044
2016-09-13Add header blocks to all DockerfilesPaul Bourke3-0/+7
Change needed to add header blocks to all Dockerfiles, similar to the base. Use case is to easily run something before packages are installed, e.g. to COPY a local rpm in that can be added to the package list. Change-Id: I1bbfdf0b762da0a392aa8bf47781315b45377bee Closes-Bug: 1618969
2016-09-08Merge "Fix lost parameter --remote in generated start_ovsdb_server.sh"Jenkins1-1/+1
2016-09-06Fix lost parameter --remote in generated start_ovsdb_server.shPengfei Du1-1/+1
Change-Id: I2e2546fbc292975742f48ab35b92455b1bfc685c Closes-Bug: #1616779
2016-08-29Change source with dot at extend_start filesEduardo Gonzalez1-1/+1
Is a best practice in Unix/Linux scripts to use dots instead of source command. Using dots will avoid issues with non BASH shells TrivialFix Change-Id: Ie6480a1954f853f79faffa093452715ebd9f7d90 Signed-off-by: Eduardo Gonzalez <dabarren@gmail.com>
2016-08-19Handle empty package list for install_packagesShaun Smekel1-1/+1
Currently if the install_packages macro is run with an empty package list, it will add a yum or apt-get command with no packages listed. This bug fix aims to omit this line when no packages have been given, or, the operator wants to use the "_override" / "_remove" functionality to disable all packages being installed in a Dockerfile. Co-Authored-By: Paul Bourke <paul.bourke@oracle.com> Change-Id: Ifaaaebfccc3adb0f2f68a35ac08e59378bc87fdb Closes-bug: 1612446
2016-08-18Update openvswitch base Dockerfile to include footersSwapnil Kulkarni (coolsvap)1-0/+3
This is not in sync with the current changes being merged for customization Change-Id: I7779a52cdeea9a4b6f7580388b86faa1d8c673eb Partially-implements: blueprint third-party-plugin-support
2016-08-09Introduce a script to launch ovsdb-server processSerguei Bezverkhi2-1/+34
The reason for introducing this script is to be able to launch ovsdb-server and initialize it (create external bridge and plug external interface) in one shot. It is applicable ONLY to Kubernetes environment and it is required for Kubernetes DaemonSet usage. The behavior in classical Kolla has not been changed. TrivialFix Change-Id: I54897cc2c0f2bcaaf0411822f3409bf96e92833d
2016-07-26Customizations for openvswitchriwinter3-8/+8
This patchset contains customization of Dockerfiles of openvswitch containers Change-Id: I9404fbee8552d5218ac57abf8a01bf259db729f5 Partially-implements: blueprint third-party-plugin-support
2016-06-27Merge "Enable openvswitch container logs in host volumes"Jenkins4-4/+19
2016-06-26Enable openvswitch container logs in host volumesHui Kang4-4/+19
Allow heka container to pick up the openvswitch logs like other services Change-Id: I396ae9419540070c6ab01b8f62607ab46b1f08aa closes-Bug: #1573199
2016-05-26Update ubuntu dockerfiles for formattingSwapnil Kulkarni (coolsvap)1-1/+1
Change-Id: If4be00b937e14ec93443dcb7249cf17099d57cbe Closes-Bug: #1569417
2016-04-21Update openvswitch dockerfile for formattingSwapnil Kulkarni (coolsvap)1-1/+1
Change-Id: Ia9c8a4d4a24f3a80652b950924917091ba7d16fe Partial-Bug:#1569417
2016-04-12Update OpenVSwitch dockerfile for formattingSwapnil Kulkarni (coolsvap)1-1/+2
Change-Id: Ie76b3ada37266aded0bd9808dffdc1b578be1172 Partial-Bug:#1569417
2015-12-03configure ovs bridge in openvswitch-db containerSean Mooney3-5/+5
- this change moves the ovs_ensure_configured.sh file to the openvswitch-db container. - this change reorders the plays in ansible/roles/neutron/tasks/start.yml to configure the ovs bridges before starting the vswitchd container. Change-Id: Ied1a82d48377534c15680406df9a96caf3b79515 Closes-Bug: #1522133
2015-11-23Remove hardcoded MAINTAINER in DockerfilesSwapnil Kulkarni (coolsvap)3-3/+3
Added new option in kolla-build.conf Change-Id: I45fe51966bcb59ea19d112281ba3d5a1ba091a56 Closes-Bug:#1514304
2015-10-06Bring Kolla inline with FHSSam Yaple1-3/+2
This brings Kolla images inline with FHS and should make finding locations of things more consistent and reliable with the linux world at large. Change-Id: Iece5b4da4bace0fb8b1f41a65ab2c852ec73e6f8 Closes-Bug: #1485742
2015-10-06Common start.shSam Yaple6-20/+7
The majority of the start.sh code is identical. This removes that duplicate code while still maintaining the ability to call code in a specific container. The start.sh is moved into /usr/local/bin/kolla_start in the container The extend_start.sh script is called by the kolla_start script at the location /usr/local/bin/kolla_extend_start . It always exists because we create a noop kolla_extend_start in the base directory. We override it with extend_start.sh in a specific image should we need to. Of note, the neutron-agents container is exempt from this new structure due to it being a fat container. Additionally, we fix the inconsistent permissions throughout. 644 for repo files and the scripts are set to 755 via a Docker RUN command to ensure someones local perm change won't break upstream containers. Change-Id: I7da8d19965463ad30ee522a71183e3f092e0d6ad Closes-Bug: #1501295
2015-09-28Rename ovs to openvswitchSam Yaple6-2/+2
Our openvswitch image does not follow the naming convention of any of our other containers and it should. Change-Id: If1b815117bb39df74061218e48778479b8d674bc Closes-Bug: #1500392
2015-09-28Merge "Implement a install_type and install_metatype"Jenkins3-3/+3
2015-09-28Implement a install_type and install_metatypeSteven Dake3-3/+3
This prepares for the RHEL OSP implementation by making the build tool convert all binary-* into an install_type of binary and * into an install_metatype variable substitution inside the Dockerfiles. Further binary-* is substituted as install_name to enable proper building only. Change-Id: Ib681b29176eb79a3cab12ec824313fdecb6e7a5f Partially-Implements: blueprint rhel-based-image-support
2015-09-27remove set_configsSam Yaple2-6/+0
Change-Id: I9bb0a1fac63cc326234b0f06b1e56b43e0753279 Partially-Implements: blueprint replace-config-external
2015-09-27Replace config-external - openvswitchSam Yaple2-27/+10
Change-Id: Ib05442c6ee146d2deb49fc235ba16fc7e0c3d6c8 Partially-Implements: blueprint replace-config-external
2015-09-25Fix removal of config-externalSam Yaple2-2/+1
I removed the files but not the COPY commands thus breaking all of Kolla Change-Id: I37d3e0cb94a1ecc12971f485f953310ba8fee53c Partially-Implements: blueprint replace-config-external
2015-09-25Remove config-external.shSam Yaple2-6/+0
Removes config-external for all services that have been replaced in Ansible Change-Id: I839a14418638b977fbc1d02ba6839811b0f909ea Partially-Implements: blueprint replace-config-external
2015-09-17Fix broken centos-source- build: add rdo repositoryVladislav Belogrudov1-7/+0
openvswitch requires rdo repository to be installed Change-Id: I173bb3d32bcef2b890ab482083b0ffb830c3b7fb Closes-Bug: #1495470
2015-09-04Add 'rhel' for RPM distrosSteven Dake1-1/+1
Add 'rhel' to list for RPM based distros. Also sort the distro list for rpm packages for affected lines. Change-Id: Ied4cb3e9763d6c6359f314d16185383ac3e006ed Partially-Implements: blueprint rhel-based-image-support
2015-08-28Move docker_templates to docker dirSam Yaple8-0/+107
Updated build.py to reflect this change. Deprecate --template option and make it a noop. Change-Id: I7cd98d1ee684a4c64984a49597159868152683b2 Partially-Implements: blueprint remove-docker-dir