Add delete_on_termination to volume-attach API

Add the 'delete_on_termination' field to the volume attach API to support
configuring whether to delete the data volume when the instance is destroyed.

To avoid upgrade impact issues with older computes, the
'delete_on_termination' field is set in the API rather than when the BDM
is created in the compute service.

Implements: blueprint support-delete-on-termination-in-server-attach-volume
Change-Id: I55731b1822a4e32909665a2872d80895cb5b12f7
This commit is contained in:
zhangbailin
2019-07-27 18:16:36 +08:00
parent f7f5e1846c
commit e5b47543cf
24 changed files with 348 additions and 29 deletions
@@ -22,7 +22,7 @@
}
],
"status": "CURRENT",
"version": "2.78",
"version": "2.79",
"min_version": "2.1",
"updated": "2013-07-23T11:33:21Z"
}