Because the openstack common project does not stick to latest pep8 rules,
I have to exclude some bad-ruled files in the tox.ini and run_tests.sh.
However pep8 does not support exclude option in the format quantum/openstack/common,
so I have to exclude some of openstack common files one by one.
Also, I have changed the Qunatum Context to base on the common context.
I does not update the setup.py in our openstack common dir and the one
under quantum top dir, since it should be maintained in a consistent way
across all of openstack projects.
After this introduction, we are ready for notification feature.
Change-Id: I2729c2dc3958835374c88d704e842e613785ec14
Fixes bug 1018833. We're looking at this as a possible pan-project
option instead of manual MANIFEST.in inclusion and then looking for
where the tarballs differ.
Change-Id: I25287d5aca2046c6b613b05d54281533bdd6f79f
bug #1012438
Additional work for bp v2-api-melange-integration
- rename few attributes:
op_state -> status
additional_routes -> additional_host_routes
prefix -> cidr
- expand request body validation to indicate whether fields can be
specified during create and or update.
- add test cases to validate defaults, and input validation.
- update db_base_plugin_v2 to generate gateway_ip for subnet and mac
for port when unspecified.
- validate that tenant-id is only specified in req by admin users
- automatically set tenant-id based on request.context.tenant_id if needed
- enable port tests in test_db_plugin.py
Change-Id: If7f5101e4974a6ef93ff8a1d945f8642dd21b16e
In email discussions we decided that the master branch should always
pull in the lastest version of the pep8 tool, which keeps us closest
to the real pep-8 document. Therefore, I'm removing the hardcoded
version here to match the lack of a pep8 version in tox.ini (which is
what the CI infrastructure uses when running the gating pep8 checks).
Note that your pep8 version will only update when you re-run
pip install --upgrade -r tools/test-requires .
Change-Id: I242cb042cff5f5969aa50d40312f87979191c7b7
update webob to be version 1.2 or above
It's running without any issue with 1.2, the exception problem was caused
by WebTest. We should use at least version 1.3.3 (supplied by Ubuntu 12.04 and Debian Wheezy)
Version to WebTest==1.3.3
Change-Id: Ia8ef543e32ae46f503dd52e93bed4290d077c286
That method now catches any non-expected errors raised by the controller's
action method and turn them into an HTTPServerError. Fixes bug 980033.
Change-Id: I7f71c029fae0e27a799f11de0802bde1003683e2
* quantum previously depended on python-quantumclient for the
functionality in quantum/common. This change migrates
the required modules to the quantum repo and removes that
dependency.
* Addresses bug 977711
Change-Id: Ia17a486859eb1aa993900a5f3b582b258c6a6d78
* Maintaining version parity with other OpenStack projects is
essential to packaging efforts and shared installation (devstack).
* fixes bug 950374
Change-Id: I9b16f29a3641df7063ec80bc86b03b4857776b42
blueprint ovs-driver-extention
This patch implements the blueprint ovs-driver-extention
https://blueprints.launchpad.net/quantum/+spec/ovs-driver-extension
This patch factors out ovs common logic from ovs plugin into ovscommon
and adds Ryu NOS plugin.
This patch enhances ovs plugin for generic OVS controller support and
This patch is to add ofp controller support to OVS.
Store ofp controller address in ovs quantum data base.
- nova firewall_driver
- nova linuxnet_interface_driver
There may be ports unmanaged by nova/quantum. Those ports are used
to connect vm to outside of physical machine. They needs special care.
---
Changes 12 -> 13:
- rebased to 543e150d6dc9144ebcc588b7d2bd66374a107730
changed files are only MANIFEST.in, setup.py, tools/pip-requres
Changes 11 -> 12:
- ryu agent
eliminated from quantum.common import exceptions as exc
- ryu.db.api
eliminated ofp_has_servers
- ryu.nova
eliminated from quantum.plugins.ryu.nova import ovs_utils
and eliminate ovs_utils
Chnages 10 -> 11:
- rebased to a945d1a30478c644d307c77a8a85f3a08e5a834e
- more Maru's review
- setup.py: fix setup() argument
This isn't directly related to ryu plugin though
- improve fake ini file when unit test
remove fake ini file after unit tests.
use StringIO when no file is required.
- LOG: don't use %
Chnages 8 -> 9 -> 10:
- minor fixes: forgot to commit some hunks
Chnages 7 -> 8:
- rebased to d6bf2b76162ba806b2ad1f636f6273e47e03a117
- catch up d6bf2b76162ba806b2ad1f636f6273e47e03a117 change
introduced bin/quantum_ryu_agent
- addressed Maru's review
- avoid custom patching, use mock for test
and added mox and mock to pip-requires
- more pep8
- avoid \ for line continuation
- avoid single char variables
- db.api: first() -> one()
- utilize implicit conversion
var is not None -> var
- and more...
Changes 6 -> 7:
- update comment in ryu/run_tests.py
- make unit tests pass without ryu installed
i.e.
PLUGIN_DIR=quantum/plugins/ryu/ ./run_tests.sh
works now
Chages 5 -> 6:
- remove comment
Change 4 -> 5:
- eliminate relative imports
- copyright
- doc string
- naming (s/CONF_FILE/conf_file/g)
- add " check to ryu/nova/ovs_utils
- ryu/nova/linux_net: comment
- ryu agent: eliminated unused methods
- updated ryu/README: add http://www.osrg.net/ryu/using_with_openstack.html
- added unit tests
Changes 3 -> 4:
- reflected Dan's review
- on-OVS in ryu.ini
- update @author
- some naming
Changes 2 -> 3:
- rebased to 04d144ae0b2ad5618847d1784cea48a08d53a46a
- abandoned to share code and duplicated codes from openvswitch plugin
for ovs plugin stability.
- dropped setup_ryu.sh and added README
- update nova driver to catch up upstream change (gflags -> cfg)
Changes 1 -> 2:
- unbreak openvswtich unit test
- MANIFEST.in
Changes 3 -> new 1:
- rebased to 1eb3c693b5f6f3f301047100c36c7915434f8be7
- factor out common loginc from openvswitch plugin into ovscommon
- Introduced a new independent ryu plugin
- try new review due to the previous effort was marked abandoned.
> https://review.openstack.org/#change,3055
> Change-Id: I17801a7a74d4087838a8a26c1b1f97f28c2dcef3
Changes:
- rebased to 9c5c2caef13fa58234987527ab6caff829a37050
- some clean ups
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Change-Id: Ia9fe87525cebccc87b7c18a533f48607272cd97f
Enhance existing Quantum OVS Plugin with a tunneling agent that
enables Hypervisors to be connected via GRE tunnels. The new agent
can be enabled/disabled via configuration file and provides backwards
compatibility with existing non-tunneling OVS Agent.
Change-Id: Id3b79430726b162fcb84f99df152d88a5766328f
This moves the tree to having a standard setup.py. For those who want to
build individual packages you'll need to use the setup_<package>.py files.
This allows us to support the traditional setup.py commands (i.e. sdist, etc)
that the openstack CI scripts will be using.
Change-Id: I7fe286d9973f43ae118a715276b0c089230f4f7e
This simplifies a number of Jenkins jobs which currently, other
than directory names, could be the same for all OpenStack
projects. By renaming the virtualenv directory, the redundant
Jenkins virtualenv build and copy jobs can be eliminated.
Change-Id: I93c7f6577b4c3a76b021f002bda59fcb8fac3f95
Fixes bug 906636.
The cisco plugin included ncclient, but does not use it when testing.
The openvswitch plugin included SQLAlchemy which is already required
by quantum itself.
I've also changed the install_venv.py script to only look at
tools/pip-requires, so that it behaves more like the rest of the
OpenStack projects. In Jenkins that's the only file we look at
to see if we need to rebuild the virtualenv, so it would be best
if the project only hade one pip-requires.
Also added .gitignore to ignore files created during testing.
Change-Id: Ic460452ec89aa8377c975ca63b57563119860e6b
This change condenses the directory structure to something more similar to
what we had before while producing similar packages.
It also introduces version.py which allows us to get the version from git tags
(or a fallback version if not available).
Fixes lp bug 889336
Fixes lp bug 888795
Change-Id: I86136bd9dbabb5eb1f8366ed665ed9b54f695124
The git line for the cisco pip-requires was wrong.
The venv needs to be installed in the source tree, not in the home
directory for self-contained builds.
The version of python can't be assumed and must be calculated.
Change-Id: I23d381eb273e82796e309483086dc68f27ce6093
Use version 0.6.24 of python-distribute which allows us to find all of the
test directories on ubuntu oneiric.
Change-Id: Ibdd7f84e3f344b98cc979b2afcdd3dd2d423dfd1