Add 'is_protected' field to all default templates

To keep the initial update/delete semantics the same for
default templates after changes to 'is_default',
we need to add '"is_protected": true' to all of the
templates bundled with sahara.

Change-Id: If52d68f4b99fdab1bc2b61fc10c4bfa2730d242b
Partial-implements: blueprint replace-is-default
This commit is contained in:
Trevor McKay 2016-01-22 14:54:52 -05:00
parent 1613f2b143
commit d99bb45474
54 changed files with 108 additions and 54 deletions

View File

@ -20,5 +20,6 @@
],
"name": "cdh-5-default-cluster",
"neutron_management_network": "{neutron_management_network}",
"cluster_configs": {}
"cluster_configs": {},
"is_protected": true
}

View File

@ -9,5 +9,6 @@
"floating_ip_pool": "{floating_ip_pool}",
"flavor_id": "{flavor_id}",
"auto_security_group": "{auto_security_group}",
"security_groups": "{security_groups}"
"security_groups": "{security_groups}",
"is_protected": true
}

View File

@ -12,5 +12,6 @@
"floating_ip_pool": "{floating_ip_pool}",
"flavor_id": "{flavor_id}",
"auto_security_group": "{auto_security_group}",
"security_groups": "{security_groups}"
"security_groups": "{security_groups}",
"is_protected": true
}

View File

@ -10,5 +10,6 @@
"floating_ip_pool": "{floating_ip_pool}",
"flavor_id": "{flavor_id}",
"auto_security_group": "{auto_security_group}",
"security_groups": "{security_groups}"
"security_groups": "{security_groups}",
"is_protected": true
}

View File

@ -20,5 +20,6 @@
],
"name": "cdh-530-default-cluster",
"neutron_management_network": "{neutron_management_network}",
"cluster_configs": {}
"cluster_configs": {},
"is_protected": true
}

View File

@ -9,5 +9,6 @@
"floating_ip_pool": "{floating_ip_pool}",
"flavor_id": "{flavor_id}",
"auto_security_group": "{auto_security_group}",
"security_groups": "{security_groups}"
"security_groups": "{security_groups}",
"is_protected": true
}

View File

@ -12,5 +12,6 @@
"floating_ip_pool": "{floating_ip_pool}",
"flavor_id": "{flavor_id}",
"auto_security_group": "{auto_security_group}",
"security_groups": "{security_groups}"
"security_groups": "{security_groups}",
"is_protected": true
}

View File

@ -11,5 +11,6 @@
"floating_ip_pool": "{floating_ip_pool}",
"flavor_id": "{flavor_id}",
"auto_security_group": "{auto_security_group}",
"security_groups": "{security_groups}"
"security_groups": "{security_groups}",
"is_protected": true
}

View File

@ -20,5 +20,6 @@
],
"name": "cdh-540-default-cluster",
"neutron_management_network": "{neutron_management_network}",
"cluster_configs": {}
"cluster_configs": {},
"is_protected": true
}

View File

@ -9,5 +9,6 @@
"floating_ip_pool": "{floating_ip_pool}",
"flavor_id": "{flavor_id}",
"auto_security_group": "{auto_security_group}",
"security_groups": "{security_groups}"
"security_groups": "{security_groups}",
"is_protected": true
}

View File

@ -12,5 +12,6 @@
"floating_ip_pool": "{floating_ip_pool}",
"flavor_id": "{flavor_id}",
"auto_security_group": "{auto_security_group}",
"security_groups": "{security_groups}"
"security_groups": "{security_groups}",
"is_protected": true
}

View File

@ -11,5 +11,6 @@
"floating_ip_pool": "{floating_ip_pool}",
"flavor_id": "{flavor_id}",
"auto_security_group": "{auto_security_group}",
"security_groups": "{security_groups}"
"security_groups": "{security_groups}",
"is_protected": true
}

View File

@ -20,5 +20,6 @@
],
"name": "hdp-206-default-cluster",
"neutron_management_network": "{neutron_management_network}",
"cluster_configs": {}
"cluster_configs": {},
"is_protected": true
}

View File

@ -12,5 +12,6 @@
"floating_ip_pool": "{floating_ip_pool}",
"flavor_id": "{flavor_id}",
"auto_security_group": "{auto_security_group}",
"security_groups": "{security_groups}"
"security_groups": "{security_groups}",
"is_protected": true
}

View File

@ -10,5 +10,6 @@
"floating_ip_pool": "{floating_ip_pool}",
"flavor_id": "{flavor_id}",
"auto_security_group": "{auto_security_group}",
"security_groups": "{security_groups}"
"security_groups": "{security_groups}",
"is_protected": true
}

View File

@ -9,5 +9,6 @@
"floating_ip_pool": "{floating_ip_pool}",
"flavor_id": "{flavor_id}",
"auto_security_group": "{auto_security_group}",
"security_groups": "{security_groups}"
"security_groups": "{security_groups}",
"is_protected": true
}

View File

@ -15,5 +15,6 @@
],
"name": "mapr-311-default-cluster",
"neutron_management_network": "{neutron_management_network}",
"cluster_configs": {}
"cluster_configs": {},
"is_protected": true
}

View File

@ -13,5 +13,6 @@
"floating_ip_pool": "{floating_ip_pool}",
"flavor_id": "{flavor_id}",
"auto_security_group": "{auto_security_group}",
"security_groups": "{security_groups}"
"security_groups": "{security_groups}",
"is_protected": true
}

View File

@ -9,5 +9,6 @@
"floating_ip_pool": "{floating_ip_pool}",
"flavor_id": "{flavor_id}",
"auto_security_group": "{auto_security_group}",
"security_groups": "{security_groups}"
"security_groups": "{security_groups}",
"is_protected": true
}

View File

@ -15,5 +15,6 @@
],
"name": "mapr-401mr1-default-cluster",
"neutron_management_network": "{neutron_management_network}",
"cluster_configs": {}
"cluster_configs": {},
"is_protected": true
}

View File

@ -13,5 +13,6 @@
"floating_ip_pool": "{floating_ip_pool}",
"flavor_id": "{flavor_id}",
"auto_security_group": "{auto_security_group}",
"security_groups": "{security_groups}"
"security_groups": "{security_groups}",
"is_protected": true
}

View File

@ -9,5 +9,6 @@
"floating_ip_pool": "{floating_ip_pool}",
"flavor_id": "{flavor_id}",
"auto_security_group": "{auto_security_group}",
"security_groups": "{security_groups}"
"security_groups": "{security_groups}",
"is_protected": true
}

View File

@ -15,5 +15,6 @@
],
"name": "mapr-401mr2-default-cluster",
"neutron_management_network": "{neutron_management_network}",
"cluster_configs": {}
"cluster_configs": {},
"is_protected": true
}

View File

@ -14,5 +14,6 @@
"floating_ip_pool": "{floating_ip_pool}",
"flavor_id": "{flavor_id}",
"auto_security_group": "{auto_security_group}",
"security_groups": "{security_groups}"
"security_groups": "{security_groups}",
"is_protected": true
}

View File

@ -9,5 +9,6 @@
"floating_ip_pool": "{floating_ip_pool}",
"flavor_id": "{flavor_id}",
"auto_security_group": "{auto_security_group}",
"security_groups": "{security_groups}"
"security_groups": "{security_groups}",
"is_protected": true
}

View File

@ -15,5 +15,6 @@
],
"name": "mapr-402mr1-default-cluster",
"neutron_management_network": "{neutron_management_network}",
"cluster_configs": {}
"cluster_configs": {},
"is_protected": true
}

View File

@ -11,5 +11,6 @@
],
"name": "mapr-402mr1-default-master",
"floating_ip_pool": "{floating_ip_pool}",
"flavor_id": "{flavor_id}"
"flavor_id": "{flavor_id}",
"is_protected": true
}

View File

@ -7,5 +7,6 @@
],
"name": "mapr-402mr1-default-worker",
"floating_ip_pool": "{floating_ip_pool}",
"flavor_id": "{flavor_id}"
"flavor_id": "{flavor_id}",
"is_protected": true
}

View File

@ -15,5 +15,6 @@
],
"name": "mapr-402mr2-default-cluster",
"neutron_management_network": "{neutron_management_network}",
"cluster_configs": {}
"cluster_configs": {},
"is_protected": true
}

View File

@ -14,5 +14,6 @@
"floating_ip_pool": "{floating_ip_pool}",
"flavor_id": "{flavor_id}",
"auto_security_group": "{auto_security_group}",
"security_groups": "{security_groups}"
"security_groups": "{security_groups}",
"is_protected": true
}

View File

@ -9,5 +9,6 @@
"floating_ip_pool": "{floating_ip_pool}",
"flavor_id": "{flavor_id}",
"auto_security_group": "{auto_security_group}",
"security_groups": "{security_groups}"
"security_groups": "{security_groups}",
"is_protected": true
}

View File

@ -15,5 +15,6 @@
],
"name": "mapr-500mr1-default-cluster",
"neutron_management_network": "{neutron_management_network}",
"cluster_configs": {}
"cluster_configs": {},
"is_protected": true
}

View File

@ -13,5 +13,6 @@
"floating_ip_pool": "{floating_ip_pool}",
"flavor_id": "{flavor_id}",
"auto_security_group": "{auto_security_group}",
"security_groups": "{security_groups}"
"security_groups": "{security_groups}",
"is_protected": true
}

View File

@ -9,5 +9,6 @@
"floating_ip_pool": "{floating_ip_pool}",
"flavor_id": "{flavor_id}",
"auto_security_group": "{auto_security_group}",
"security_groups": "{security_groups}"
"security_groups": "{security_groups}",
"is_protected": true
}

View File

@ -15,5 +15,6 @@
],
"name": "mapr-500mr2-default-cluster",
"neutron_management_network": "{neutron_management_network}",
"cluster_configs": {}
"cluster_configs": {},
"is_protected": true
}

View File

@ -14,5 +14,6 @@
"floating_ip_pool": "{floating_ip_pool}",
"flavor_id": "{flavor_id}",
"auto_security_group": "{auto_security_group}",
"security_groups": "{security_groups}"
"security_groups": "{security_groups}",
"is_protected": true
}

View File

@ -9,5 +9,6 @@
"floating_ip_pool": "{floating_ip_pool}",
"flavor_id": "{flavor_id}",
"auto_security_group": "{auto_security_group}",
"security_groups": "{security_groups}"
"security_groups": "{security_groups}",
"is_protected": true
}

View File

@ -15,5 +15,6 @@
],
"name": "mapr-spark-default-cluster",
"neutron_management_network": "{neutron_management_network}",
"cluster_configs": {}
"cluster_configs": {},
"is_protected": true
}

View File

@ -13,5 +13,6 @@
"floating_ip_pool": "{floating_ip_pool}",
"flavor_id": "{flavor_id}",
"auto_security_group": "{auto_security_group}",
"security_groups": "{security_groups}"
"security_groups": "{security_groups}",
"is_protected": true
}

View File

@ -9,5 +9,6 @@
"floating_ip_pool": "{floating_ip_pool}",
"flavor_id": "{flavor_id}",
"auto_security_group": "{auto_security_group}",
"security_groups": "{security_groups}"
"security_groups": "{security_groups}",
"is_protected": true
}

View File

@ -15,5 +15,6 @@
],
"name": "spark-100-default-cluster",
"neutron_management_network": "{neutron_management_network}",
"cluster_configs": {}
"cluster_configs": {},
"is_protected": true
}

View File

@ -9,5 +9,6 @@
"floating_ip_pool": "{floating_ip_pool}",
"flavor_id": "{flavor_id}",
"auto_security_group": "{auto_security_group}",
"security_groups": "{security_groups}"
"security_groups": "{security_groups}",
"is_protected": true
}

View File

@ -9,5 +9,6 @@
"floating_ip_pool": "{floating_ip_pool}",
"flavor_id": "{flavor_id}",
"auto_security_group": "{auto_security_group}",
"security_groups": "{security_groups}"
"security_groups": "{security_groups}",
"is_protected": true
}

View File

@ -15,5 +15,6 @@
],
"name": "spark-131-default-cluster",
"neutron_management_network": "{neutron_management_network}",
"cluster_configs": {}
"cluster_configs": {},
"is_protected": true
}

View File

@ -9,5 +9,6 @@
"floating_ip_pool": "{floating_ip_pool}",
"flavor_id": "{flavor_id}",
"auto_security_group": "{auto_security_group}",
"security_groups": "{security_groups}"
"security_groups": "{security_groups}",
"is_protected": true
}

View File

@ -9,5 +9,6 @@
"floating_ip_pool": "{floating_ip_pool}",
"flavor_id": "{flavor_id}",
"auto_security_group": "{auto_security_group}",
"security_groups": "{security_groups}"
"security_groups": "{security_groups}",
"is_protected": true
}

View File

@ -20,5 +20,6 @@
],
"name": "vanilla-260-default-cluster",
"neutron_management_network": "{neutron_management_network}",
"cluster_configs": {}
"cluster_configs": {},
"is_protected": true
}

View File

@ -10,5 +10,6 @@
"floating_ip_pool": "{floating_ip_pool}",
"flavor_id": "{flavor_id}",
"auto_security_group": "{auto_security_group}",
"security_groups": "{security_groups}"
"security_groups": "{security_groups}",
"is_protected": true
}

View File

@ -10,5 +10,6 @@
"floating_ip_pool": "{floating_ip_pool}",
"flavor_id": "{flavor_id}",
"auto_security_group": "{auto_security_group}",
"security_groups": "{security_groups}"
"security_groups": "{security_groups}",
"is_protected": true
}

View File

@ -9,5 +9,6 @@
"floating_ip_pool": "{floating_ip_pool}",
"flavor_id": "{flavor_id}",
"auto_security_group": "{auto_security_group}",
"security_groups": "{security_groups}"
"security_groups": "{security_groups}",
"is_protected": true
}

View File

@ -20,5 +20,6 @@
],
"name": "vanilla-271-default-cluster",
"neutron_management_network": "{neutron_management_network}",
"cluster_configs": {}
"cluster_configs": {},
"is_protected": true
}

View File

@ -10,5 +10,6 @@
"floating_ip_pool": "{floating_ip_pool}",
"flavor_id": "{flavor_id}",
"auto_security_group": "{auto_security_group}",
"security_groups": "{security_groups}"
"security_groups": "{security_groups}",
"is_protected": true
}

View File

@ -10,5 +10,6 @@
"floating_ip_pool": "{floating_ip_pool}",
"flavor_id": "{flavor_id}",
"auto_security_group": "{auto_security_group}",
"security_groups": "{security_groups}"
"security_groups": "{security_groups}",
"is_protected": true
}

View File

@ -9,5 +9,6 @@
"floating_ip_pool": "{floating_ip_pool}",
"flavor_id": "{flavor_id}",
"auto_security_group": "{auto_security_group}",
"security_groups": "{security_groups}"
"security_groups": "{security_groups}",
"is_protected": true
}