]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Keep dns nameserver order consistency
authorchangzhi <changzhi@unitedstack.com>
Thu, 16 Jul 2015 02:14:16 +0000 (10:14 +0800)
committerchangzhi <changzhi@unitedstack.com>
Wed, 29 Jul 2015 09:13:44 +0000 (17:13 +0800)
commitcb60d0bb4e0cc0cba68f59fdf5f4e89d6ec52950
tree5e0c0de8af67df8ad198be7c9def8c98f7a415aa
parent6b0ab7fd639919985d49a4dc9622e59fd7a245b0
Keep dns nameserver order consistency

Currently, there is no dns servers prioritization for subnets
for Neutron.

Generally speaking, it is useful to keep the order of dns
nameservers consistent. Add a new column named 'order' in table
'dnsnameservers' and add nameserver into DB one by one.

Closes-Bug: #1218629
Implements: blueprint keep-dns-nameserver-orderconsistency
Change-Id: Id937aea411397d39370368a4eb45be26c4eefa9e
doc/source/devref/dns_order.rst [new file with mode: 0644]
doc/source/devref/index.rst
neutron/db/db_base_plugin_common.py
neutron/db/ipam_backend_mixin.py
neutron/db/migration/alembic_migrations/versions/HEADS
neutron/db/migration/alembic_migrations/versions/liberty/expand/1c844d1677f7_dns_nameservers_order.py [new file with mode: 0644]
neutron/db/models_v2.py
neutron/tests/unit/agent/linux/test_dhcp.py
neutron/tests/unit/db/test_db_base_plugin_v2.py