]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Adds support for router rules to Big Switch plugin
authorKevin Benton <kevin.benton@bigswitch.com>
Thu, 6 Jun 2013 21:40:45 +0000 (14:40 -0700)
committerKevin Benton <kevin.benton@bigswitch.com>
Fri, 21 Jun 2013 17:19:55 +0000 (10:19 -0700)
commit4c48e48d65959c6a1a5ea1a1093828c9bf852417
tree10ddc7468c096c2175ade4649e25a2aae5b6db11
parentdffb130a4d23aa8e584f6a16707d30c6693e3736
Adds support for router rules to Big Switch plugin

Implements: blueprint bsn-router-rules

Adds bigswitch plugin extension which adds 'rules' dictionary to router objects.
Adds validation code and database components to store router rules
Adds configuration option to plugin to set default router rules and max router rules
Adds unit tests to test all router rule functionality
Adds database migration for router rules tables

The Big Switch controller's Virtual Router implementation supports "routing rules"
which are of the form:
<source, destination, next-hop, action>
This extension aims to expose this abstraction via the Big Switch Quantum plugin.

These rules are applied at the router level, allowing tenants to control
communication between networks at a high level without requiring security policies.
(e.g. prevent servers in a publicly accessible subnet from communicating with
database servers).

Change-Id: I37a2740dca93b0a8b5111764458d39f1c2b885ce
etc/quantum/plugins/bigswitch/restproxy.ini
quantum/db/migration/alembic_migrations/versions/5918cbddab04_add_tables_for_route.py [new file with mode: 0644]
quantum/plugins/bigswitch/extensions/__init__.py [new file with mode: 0644]
quantum/plugins/bigswitch/extensions/routerrule.py [new file with mode: 0644]
quantum/plugins/bigswitch/plugin.py
quantum/plugins/bigswitch/routerrule_db.py [new file with mode: 0644]
quantum/tests/unit/bigswitch/etc/restproxy.ini.test
quantum/tests/unit/bigswitch/test_router_db.py