group-based-policy-specs/specs/juno/gbp-odl-policy-driver.rst
Igor Duarte Cardoso de694f7164 tox doesn't fail anymore at the py27 environment
This patch fixes existing specs to totally conform to tox py27 environment
tests as specified by tests/test_titles.py. Semantic information of all
existing specs has not been changed.

Specifically, this patch makes the following changes:
* Fixes all titles and subtitles' capitalization inconsistencies:
  defaulting to only having the first word being capitalized (this seems
  to be the general rule in group-based-policy-specs);
* Adds missing titles and subtitles to some specs;
* Changes tests/test_titles.py for consistency: only 1st word capitalized;
* Changes tests/tests_titles.py: subtitle count inside Testing or
  Documentation impact no longer restricted to 0.

Change-Id: I88e30b0825f5279a8c6808fd9a2fc2987b6611f9
Closes-Bug: #1437282
2015-04-15 10:44:25 +01:00

3.2 KiB

Group Based Policy Driver for OpenDaylight Controller

Launchpad blueprint: https://blueprints.launchpad.net/group-based-policy/+spec/gbp-odl-driver

GBP plugin has defined a multi-driver based framework to support various implementation technologies (like ML2 has done for L2 support). This blueprint proposes a Group Based Policy (GBP) driver to enable GBP plugin to be used with OpenDaylight (ODL) controller.

Problem description

The Group Based Policy blueprint has proposed new application centric APIs for Neutron. Similar to the work in Neutron, there is work in the OpenDaylight project to implement these APIs as well. With the APIs being implenented in both of these open source projects, we propose a GBP driver to allow OpenStack GBP to orchrestrate ODL GBP

Proposed change

The proposed change will: 1. Add a new ODL GBP Policy Mapping Driver to support OpenDaylight GBP. It will implement the PolicyDriver interface as defined in the abstract base class services.group_policy_driver_api.PolicyDriver, as documented in the GBP BP. The proposed GBP/ODL Mapping Driver will interface with ODL controller for GBP related operations, and with Neutron ML2 for network/subnet/port related operations.

  1. Add a new ODL GBP Mechanism Driver for Neutron ML2 Plugin. Such a mechanism driver will provide a feedback loop to the ODL GBP Policy Mapping Driver to trigger policy target related operations when a VM is plugged into the Neutron port.

Alternatives

There are no alternatives to leverage the native GBP API in ODL.

Data model impact

None, as this change is simply adding support for new API extensions.

REST API impact

The ODL policy driver will have support for the new GBP API extensions added.

Security impact

None.

Notifications impact

None.

Other end user impact

Users deploying OpenStack with the Group Based Policy extensions will be able to utilze these new APIs in conjunction with the Helium version of OpenDaylight.

Performance impact

No change here.

Other deployer impact

To utilize the GBP APIs with OpenDaylight, the following versions of software are required: * Neutron: Juno * OpenDaylight: Helium

Developer impact

None.

Implementation

Assignee(s)

Stephen Wong (s3wong) YaPeng Wu Yi Yang

Work items

  1. Add an OpenDaylight policy mapping driver to support Group Based Policy APIs
  2. Add an OpenDaylight GBP Mechanism Driver for Neutron ML2 Plugin

Dependencies

Group Based Policy Service Plugin

Testing

Additional unit tests will be added. Furthermore, ODL policy driver should be added as part of OpenStack GBP's CI system

Documentation impact

None

References

http://git.openstack.org/cgit/stackforge/group-based-policy-specs/tree/specs/juno/group-based-policy-abstraction.rst https://wiki.opendaylight.org/view/Group_Policy:Main