]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Add Geneve type driver support to ML2
authorAaron Rosen <aaronorosen@gmail.com>
Tue, 5 May 2015 21:35:08 +0000 (14:35 -0700)
committerGal Sagie <gal.sagie@huawei.com>
Thu, 27 Aug 2015 17:04:35 +0000 (20:04 +0300)
commit7b7c15ba4e2f0646000ecca2acecb98081268772
treed4c53623d302078ec33b951434b64f97732df3a4
parent9ed4be7559b1b611b35b505a786c3511dccac58f
Add Geneve type driver support to ML2

More information about Geneve protocol can be found here:
  https://tools.ietf.org/pdf/draft-gross-geneve-02.pdf

Following configuration variables were added:
[ml2_type_geneve]
  vni_ranges - Comma-separated list of <vni_min>:<vni_max> tuples
               enumerating ranges of Geneve VNI IDs that are
               available for tenant network allocation
  max_header_size - Geneve encapsulation header size is dynamic, this
                    value is used to calculate the maximum MTU for the driver
                    this is the sum of the sizes of the outer
                    ETH + IP + UDP + GENEVE header sizes

DocImpact

Change-Id: I8c29a1c1a7c79e02c26ac9e2ad2645d30dfbeefc
Closes-Bug: #1461069
17 files changed:
doc/source/devref/openvswitch_agent.rst
etc/neutron/plugins/ml2/ml2_conf.ini
neutron/cmd/sanity/checks.py
neutron/cmd/sanity_check.py
neutron/db/migration/alembic_migrations/versions/HEADS
neutron/db/migration/alembic_migrations/versions/liberty/contract/11926bcfe72d_add_geneve_ml2_type_driver.py [new file with mode: 0644]
neutron/db/migration/models/head.py
neutron/plugins/common/constants.py
neutron/plugins/common/utils.py
neutron/plugins/ml2/config.py
neutron/plugins/ml2/drivers/openvswitch/agent/common/constants.py
neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py
neutron/plugins/ml2/drivers/type_geneve.py [new file with mode: 0644]
neutron/tests/functional/sanity/test_sanity.py
neutron/tests/unit/plugins/ml2/drivers/openvswitch/agent/openflow/ovs_ofctl/test_br_tun.py
neutron/tests/unit/plugins/ml2/drivers/test_type_geneve.py [new file with mode: 0644]
setup.cfg