Skip to content
This repository has been archived by the owner on Feb 9, 2022. It is now read-only.

Commit

Permalink
Add discard after delete to block storage domains when generate mappi…
Browse files Browse the repository at this point in the history
…ng (#29)
  • Loading branch information
maorlipchuk authored and machacekondra committed Feb 20, 2018
1 parent 4564817 commit 6f493d7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tasks/generate_mapping.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,8 @@ def _write_attached_storage_domains(f, dc_service, dc):
f.write("- dr_domain_type: %s\n" % attached_sd.storage.type)
f.write(" dr_primary_name: %s\n" % attached_sd.name)
f.write(" dr_primary_master_domain: %s\n" % attached_sd.master)
f.write(" dr_discard_after_delete: %s\n"
% attached_sd.discard_after_delete)
f.write(" dr_wipe_after_delete: %s\n"
% attached_sd.wipe_after_delete)
f.write(" dr_backup: %s\n" % attached_sd.backup)
Expand Down

0 comments on commit 6f493d7

Please sign in to comment.