This repo houses the code for the F5 OpenStack LBaaSv1 plugin. Please see the documentation for more information.
See the documentation.
If you find an issue we would love to hear about it. Please let us know by filing an issue in this repository and tell us as much as you can about what you found and how you found it.
See Contributing.
Creating packages requires that docker engine being installed and running on the build machine. Instructions on how to accomplish this are located at https://docs.docker.com.
Specify the docker_debs makefile target to build debian packages for the Ubuntu 14.04 LTS (Trusty) release.
$ make docker_debs
Packages are built in the following directory:
./build/deb_dist
Specify the docker_el7_rpms makefile target to build RPM packages for the CentOS/RedHat 7 release.
$ make docker_el7_rpms
Packages are built in the following directory:
./build/el7
Specify the docker_el6_rpms makefile target to build RPM packages for the CentOS/RedHat 6 release.
$ make docker_el6_rpms
Packages are built in the following directory:
./build/el6
Specify the package makefile target to build packages for all supported releases.
$ make package
To make a PyPI package...
python setup.py sdist
Before you open a pull request, your code must have passing pytest unit tests. In addition, you should include a set of functional tests written to use a real BIG-IP device for testing. Information on how to run our set of tests is included below.
We use pytest for our unit tests.
If you haven't already, install the required test packages and the requirements.txt in your virtual environment.
$ pip install hacking pytest pytest-cov $ pip install -r requirements.txt
Run the tests and produce a coverage repor. The
--cov-report=html
will create ahtmlcov/
directory that you can view in your browser to see the missing lines of code.py.test --cov ./icontrol --cov-report=html open htmlcov/index.html
We use the hacking module for our style checks (installed as part of step 1 in the Unit Test section).
$ flake8 ./
Copyright 2013-2016 F5 Networks Inc.
See Support
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. ou may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Individuals or business entities who contribute to this project must have completed and submitted the F5 Contributor License Agreement to [email protected] prior to their code submission being included in this project.