]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
NEC plugin: PFC packet fitler support
authorAkihiro MOTOKI <motoki@da.jp.nec.com>
Wed, 23 Oct 2013 04:40:53 +0000 (13:40 +0900)
committerThomas Goirand <thomas@goirand.fr>
Thu, 13 Mar 2014 07:20:42 +0000 (15:20 +0800)
commit76297768525ca605badcb756a43fee503bc3e6d1
tree984de8bec24b98fe8d858511898b59ee32435d47
parent97a26de8e000ec129098bce61642db91e17242c8
NEC plugin: PFC packet fitler support

It also enhances the following points of packet filter code:
- Allow to clear filter fields to wildcard by specifying None
  in PUT method
- Return None for wildcard fields in an API response
- Determine eth_type based on protocol field on DB layer
- Support OFC driver-specific API validation and update support
- Refactor packet filter code and better validations

Implements blueprint nec-packet-filter-pfc
Change-Id: I2b208c66a9f119ef6d2ef78079d9a7e5965202e7
17 files changed:
neutron/api/v2/attributes.py
neutron/plugins/nec/db/api.py
neutron/plugins/nec/db/packetfilter.py
neutron/plugins/nec/drivers/__init__.py
neutron/plugins/nec/drivers/pfc.py
neutron/plugins/nec/drivers/trema.py
neutron/plugins/nec/extensions/packetfilter.py
neutron/plugins/nec/nec_plugin.py
neutron/plugins/nec/ofc_driver_base.py
neutron/plugins/nec/ofc_manager.py
neutron/plugins/nec/packet_filter.py
neutron/tests/unit/nec/stub_ofc_driver.py
neutron/tests/unit/nec/test_ofc_manager.py
neutron/tests/unit/nec/test_packet_filter.py
neutron/tests/unit/nec/test_pfc_driver.py
neutron/tests/unit/nec/test_trema_driver.py
neutron/tests/unit/test_attributes.py