2b57d15c64
Manila can now configure a share network with multiple subnets in an availability zone. Also, it can add a new subnet for an availability that has share servers, which will triger an update share server allocations. Changes: - API: - Bump version to 2.70. - setup share network with multiple subents per az. - Block manage server with multiple subnets. - Allow add subnet for in-use share servers. - `share_network_subnet_id` is dropped from ShareServer view - `share_network_subnet_ids` is added in ShareServer view - `network_allocation_update_support` is added to ShareServer and ShareNetwork views. - Add a check operation for share network subnet create. - DB: - Remove `share_network_subnet_id` from share_servers. - Create mapping table `share_server_share_network_subnet_mappings`. - Fix queries with new db design. - Add migration downgrade and upgrade alembic. - Add `share_network_subnet_id` to the NetworkAllocations. - Scheduler: - Change `AvailabilityZoneFilter` to take in account if the host supports the allocation required by the setup request. - Manager: - Bump RPC API version. - `_setup_server` allocating multiple subnets. - Modify signature of driver `_setup_server` interface, passing a list of `network_info` for each subnet. - Share server DB creation to inform a list of subnets and create with `network_allocation_update_support`. - Implement `check_update_share_server_network_allocations` and `update_share_server_network_allocations`. - Drivers: - For legacy compatibility, all drivers implementing `_setup_server` consume the first element of the `network_ino`. - Dummy Driver: - Implement `_setup_server` with new signature as multiple subnet. - Modify the `backend_details` to save allocations for all subnets. - Report update allocation and share server multiple subnet support. - Implement `check_update_share_server_network_allocations` and `update_share_server_network_allocations` interfaces. Signed-off-by: Felipe Rodrigues <felipefuty01@gmail.com> Co-Authored-By: Andre Beltrami <debeltrami@gmail.com> Co-Authored-By: Fábio Oliveira <fabioaurelio1269@gmail.com> Co-Authored-By: Nahim Alves de Souza <nahimsouza@outlook.com> Co-Authored-By: Caique Mello <caique_mellosbo@hotmail.com> DocImpact APIImpact Partially-Implements: blueprint multiple-share-network-subnets Change-Id: I7de9de4ae509182e9494bba604979cce03acceec |
||
---|---|---|
.. | ||
drivers | ||
evaluator | ||
filters | ||
weighers | ||
__init__.py | ||
base_handler.py | ||
host_manager.py | ||
manager.py | ||
rpcapi.py | ||
scheduler_options.py | ||
utils.py |