neutron/neutron
Harald Jensas b6d117fcd5 Allow setting network-segment on subnet update
To enable the possibility to migrate a non-routed network to a
routed network allow updating the segment_id of a subnet.

Only allow the operation if:
 - The network only has one segment
 - The network only has one subnet
 - The current segment_id == None

APIImpact: The segment_id attribute of subnets now allows put operation.
Closes-Bug: #1692490
Depends-On: Iffda823a149a1143f46ee9a05e9640b34bf42c51
Change-Id: I1aee29dfb59e9769ec0f1cb1f5d2933bc5dc0dc5
2018-05-24 01:09:02 +02:00
..
agent Merge "Fix lack of routes for neighbour IPv4 subnets" 2018-05-21 22:29:15 +00:00
api Merge "Fix lack of routes for neighbour IPv4 subnets" 2018-05-21 22:29:15 +00:00
cmd Fix all pep8 E129 errors 2018-05-03 13:44:04 +09:00
common Merge "remove rpc create_connection" 2018-05-04 00:08:03 +00:00
conf Merge "Make OVSDB debug logging optional" 2018-05-15 17:43:44 +00:00
core_extensions use qos constants from neutron-lib 2017-10-26 19:57:19 +00:00
db Allow setting network-segment on subnet update 2018-05-24 01:09:02 +02:00
debug Fix all pep8 E265 errors 2018-04-30 16:35:52 -04:00
extensions Allow setting network-segment on subnet update 2018-05-24 01:09:02 +02:00
hacking hacking: Remove dead code 2017-07-19 13:43:44 +02:00
ipam Fix W503 pep8 warnings 2018-04-17 14:22:58 +00:00
locale Imported Translations from Zanata 2018-03-03 06:08:46 +00:00
notifiers Fix W503 pep8 warnings 2018-04-17 14:22:58 +00:00
objects Allow setting network-segment on subnet update 2018-05-24 01:09:02 +02:00
pecan_wsgi Fix all pep8 E129 errors 2018-05-03 13:44:04 +09:00
plugins Merge "of_interface: Implement bundled() method" 2018-05-11 18:39:24 +00:00
privileged py3: Fix list_entries for netlink_lib 2018-05-15 19:06:36 +00:00
quota Fix all pep8 E129 errors 2018-05-03 13:44:04 +09:00
scheduler Fix all pep8 E129 errors 2018-05-03 13:44:04 +09:00
server Make code follow log translation guideline 2017-08-14 02:01:48 +00:00
services Allow setting network-segment on subnet update 2018-05-24 01:09:02 +02:00
tests Allow setting network-segment on subnet update 2018-05-24 01:09:02 +02:00
__init__.py
_i18n.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00
auth.py Use oslo.context class method to construct context object 2017-03-23 09:02:46 +00:00
manager.py Fix all pep8 E129 errors 2018-05-03 13:44:04 +09:00
neutron_plugin_base_v2.py Do not load default service plugins if core plugin is not DB based 2017-11-09 20:34:52 +00:00
opts.py Merge "Remove deprecated cache_url" 2018-01-03 06:35:59 +00:00
policy.py consume neutron-lib resources attr map 2018-03-09 13:37:28 -07:00
service.py Enable mutable config in Neutron 2018-03-21 20:35:19 +00:00
version.py
worker.py replace WorkerSupportServiceMixin with neutron-lib's WorkerBase 2017-06-14 06:56:48 -06:00
wsgi.py Fix all pep8 E265 errors 2018-04-30 16:35:52 -04:00