Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ..
- This work is licensed under a Creative Commons Attribution 3.0 Unported
- License.
- http://creativecommons.org/licenses/by/3.0/legalcode
- ====================================================
- Check if destination_type in block_device_mapping_v2
- ====================================================
- https://blueprints.launchpad.net/nova/+spec/check-if-destination_type-in-block_device_mapping_v2
- Check if destination_type in block_device_mapping_v2 when creating vm
- with block_device_mapping_v2.
- Problem description
- ===================
- When creating vm with block_device_mapping_v2 which miss the
- destination_type param, then we would found there was only one disk
- device attached to the vm. Because of the above, we need to ensure
- destination_type was in the param named block_device_mapping_v2.
- Use Cases
- ---------
- Add restrictions for the param named block_device_mapping_v2.
- Project Priority
- ----------------
- None
- Proposed change
- ---------------
- Add a new API microversion, and check if destination_type in the param
- named block_device_mapping_v2.
- Alternatives
- ------------
- None
- Data model impact
- -----------------
- None
- REST API impact
- ---------------
- The proposed change just add restrictions for request data in the
- servers API to check if the 'destination_type' enum field in
- block_device_mapping_v2.
- Security impact
- ---------------
- None
- Notifications impact
- --------------------
- None
- Other end user impact
- ---------------------
- None
- Performance Impact
- ------------------
- None
- Other deployer impact
- ---------------------
- None
- Developer impact
- ----------------
- None
- Implementation
- ==============
- Assignee(s)
- -----------
- Primary assignee:
- ZhangJialong<[email protected]>
- Work Items
- ----------
- * Add a new microversion
- and change nova/api/openstack/compute/schemas/v3/block_device_mapping.py
- and change nova/block_device.py
- to use it to check if the 'destination_type' in block_device_mapping_v2.
- Dependencies
- ============
- None
- Testing
- =======
- * Unit tests in the nova tree.
- Documentation Impact
- ====================
- The nova/api/openstack/rest_api_version_history.rst document will be updated.
- to use it to check if the 'destination_type' in block_device_mapping_v2.
- Dependencies
- ============
- None
- Testing
- =======
- * Unit tests in the nova tree.
- Documentation Impact
- ====================
- The nova/api/openstack/rest_api_version_history.rst document will be updated.
Advertisement
Add Comment
Please, Sign In to add comment