Created
July 18, 2017 18:44
-
-
Save mkinney/f20f38e6a9ef146d957872d3a282302c to your computer and use it in GitHub Desktop.
Simple User01 Blueprint in Nutanix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"tasks":[ | |
{ | |
"vm_name":"cent01", | |
"memory_mb":"1024", | |
"network_uuid":"dc591f1e-40cf-41b2-ac75-a75dc6639bbf", | |
"uid":"596e517675b58b137b04dac8", | |
"classification":"provision_nutanix", | |
"num_cores_per_vcpu":"2", | |
"fixed_cost":0.0, | |
"vm_disk_uuid":"dc78ce08-6ee6-4af5-ab0c-867edb8fed03", | |
"creation_time":1500402038, | |
"variable_cost":0.0, | |
"num_vcpus":"1", | |
"credential_id":"596e517675b58b137b04daca", | |
"modification_time":1500402562, | |
"vdisks":[ | |
], | |
"version":5, | |
"critical":true, | |
"editables":[ | |
"credential_id" | |
], | |
"name":"Provision Nutanix" | |
}, | |
{ | |
"vm_name":"centos02", | |
"memory_mb":"1024", | |
"network_uuid":"dc591f1e-40cf-41b2-ac75-a75dc6639bbf", | |
"uid":"596e51a575b58b137b04db0c", | |
"classification":"provision_nutanix", | |
"num_cores_per_vcpu":"2", | |
"fixed_cost":0.0, | |
"vm_disk_uuid":"dc78ce08-6ee6-4af5-ab0c-867edb8fed03", | |
"creation_time":1500402085, | |
"variable_cost":0.0, | |
"num_vcpus":"1", | |
"credential_id":"596e517675b58b137b04daca", | |
"modification_time":1500402562, | |
"vdisks":[ | |
], | |
"version":4, | |
"critical":true, | |
"editables":[ | |
], | |
"name":"Provision Nutanix" | |
}, | |
{ | |
"uid":"596e51c675b58b137b04dbe6", | |
"classification":"profile_action_task", | |
"creation_time":1500402118, | |
"credential_id":null, | |
"modification_time":1500402562, | |
"version":4, | |
"critical":true, | |
"editables":[ | |
], | |
"action":"create", | |
"name":"Provider Create Task" | |
}, | |
{ | |
"uid":"596e51c675b58b137b04dbf0", | |
"classification":"profile_action_task", | |
"creation_time":1500402118, | |
"credential_id":null, | |
"modification_time":1500402562, | |
"version":4, | |
"critical":true, | |
"editables":[ | |
], | |
"action":"create", | |
"name":"Provider Create Task" | |
}, | |
{ | |
"uid":"596e51df75b58b136dce5430", | |
"classification":"runshell", | |
"script":"yum -y install git", | |
"creation_time":1500402143, | |
"credential_id":null, | |
"modification_time":1500402562, | |
"version":2, | |
"critical":false, | |
"editables":[ | |
], | |
"name":"Install git" | |
}, | |
{ | |
"uid":"596e520775b58b137b04dc12", | |
"classification":"runshell", | |
"script":"yum -y install git", | |
"creation_time":1500402183, | |
"credential_id":null, | |
"modification_time":1500402562, | |
"version":1, | |
"critical":false, | |
"editables":[ | |
], | |
"name":"Install git" | |
} | |
], | |
"uid":"596e517675b58b137b04dace", | |
"classification":"blueprint", | |
"autoscale_config":{ | |
"post_flow":null, | |
"cool_down_period":"1800", | |
"uid":"596e517675b58b137b04dae1", | |
"classification":null, | |
"alert_count":"1", | |
"max_count":"1", | |
"pre_flow":null, | |
"min_count":"1", | |
"listen_for":"external", | |
"scale_by":"1", | |
"alert_window":"1800" | |
}, | |
"profiles":[ | |
{ | |
"cost":0.0, | |
"uid":"596e517675b58b137b04dac9", | |
"classification":"resource_profile", | |
"service_port":22, | |
"address":"@@{vm_ip}@@", | |
"creation_time":1500402038, | |
"modification_time":1500402562, | |
"version":5, | |
"provider":"596e517675b58b137b04dac8", | |
"service_type":"ssh", | |
"automatic_cost":false, | |
"os_type":"Linux", | |
"properties":[ | |
], | |
"name":"Provider 1" | |
}, | |
{ | |
"cost":0.0, | |
"uid":"596e51a575b58b137b04db0d", | |
"classification":"resource_profile", | |
"service_port":22, | |
"address":"@@{vm_ip}@@", | |
"creation_time":1500402085, | |
"modification_time":1500402562, | |
"version":4, | |
"provider":"596e51a575b58b137b04db0c", | |
"service_type":"ssh", | |
"automatic_cost":false, | |
"os_type":"Linux", | |
"properties":[ | |
], | |
"name":"Provider 2" | |
} | |
], | |
"strategy_enabled":false, | |
"replaced_tasks":{ | |
}, | |
"environment":"default", | |
"config":{ | |
"setup":[ | |
], | |
"uid":"596e517675b58b137b04dae2", | |
"classification":null, | |
"deploy":[ | |
] | |
}, | |
"calm-version":"1.8.3", | |
"description":"Some description", | |
"parent":null, | |
"flows":[ | |
{ | |
"tasks":[ | |
{ | |
"uid":"596e51c675b58b137b04dbef", | |
"classification":null, | |
"work_type":"PROFILE", | |
"target_id":"cid:00000001", | |
"target_type":"RESOURCE", | |
"work_id":"596e51c675b58b137b04dbe6" | |
}, | |
{ | |
"uid":"596e51c675b58b137b04dbf9", | |
"classification":null, | |
"work_type":"PROFILE", | |
"target_id":"cid:00000002", | |
"target_type":"RESOURCE", | |
"work_id":"596e51c675b58b137b04dbf0" | |
}, | |
{ | |
"uid":"596e51df75b58b136dce5431", | |
"classification":null, | |
"work_type":"TASK", | |
"target_id":"cid:00000001", | |
"target_type":"RESOURCE", | |
"work_id":"596e51df75b58b136dce5430" | |
}, | |
{ | |
"uid":"596e520775b58b137b04dc13", | |
"classification":null, | |
"work_type":"TASK", | |
"target_id":"cid:00000002", | |
"target_type":"RESOURCE", | |
"work_id":"596e520775b58b137b04dc12" | |
} | |
], | |
"uid":"cid:00000003", | |
"classification":null, | |
"eta":-1, | |
"creation_time":1500402143, | |
"edges":[ | |
{ | |
"dest":"596e51df75b58b136dce5431", | |
"src":"596e51c675b58b137b04dbef", | |
"uid":"596e51df75b58b136dce5432", | |
"classification":null | |
}, | |
{ | |
"dest":"596e520775b58b137b04dc13", | |
"src":"596e51c675b58b137b04dbf9", | |
"uid":"596e520775b58b137b04dc14", | |
"classification":null | |
}, | |
{ | |
"dest":"596e51c675b58b137b04dbf9", | |
"src":"596e51df75b58b136dce5431", | |
"uid":"596e520775b58b137b04dc15", | |
"classification":null | |
} | |
], | |
"has_critical_tasks":true, | |
"modification_time":1500402562, | |
"version":0, | |
"flow_type":"ACTION", | |
"critical":true, | |
"name":"create-action" | |
} | |
], | |
"dependencies":[ | |
], | |
"credentials":[ | |
{ | |
"username":"root", | |
"public_key":null, | |
"uid":"596e517675b58b137b04daca", | |
"classification":null, | |
"secret_type":"password", | |
"creation_time":1500402038, | |
"modification_time":1500402562, | |
"secret":null, | |
"version":5, | |
"name":"root" | |
} | |
], | |
"bp_id":null, | |
"properties":[ | |
], | |
"autoscale_enabled":false, | |
"name":"Simple User01", | |
"setup_ids":{ | |
}, | |
"h":0.0, | |
"resiliency_config":{ | |
"post_flow":null, | |
"cool_down_period":"1800", | |
"alert_window":"1800", | |
"classification":null, | |
"alert_count":"1", | |
"pre_flow":null, | |
"listen_for":"internal", | |
"uid":"596e517675b58b137b04dae3" | |
}, | |
"current_profile":null, | |
"resiliency_enabled":false, | |
"architecture":[ | |
{ | |
"tasks":[ | |
], | |
"uid":"cid:00000001", | |
"classification":"compute", | |
"autoscale_config":{ | |
"post_flow":null, | |
"cool_down_period":"1800", | |
"uid":"596e517675b58b137b04dad6", | |
"classification":null, | |
"alert_count":"1", | |
"max_count":"1", | |
"pre_flow":null, | |
"min_count":"1", | |
"listen_for":"external", | |
"scale_by":"1", | |
"alert_window":"1800" | |
}, | |
"profiles":[ | |
"596e517675b58b137b04dac9" | |
], | |
"strategy_enabled":false, | |
"config":{ | |
"setup":[ | |
], | |
"uid":"596e517675b58b137b04dad9", | |
"classification":null, | |
"deploy":[ | |
"596e51df75b58b136dce5430" | |
] | |
}, | |
"parent":"596e517675b58b137b04dace", | |
"flows":[ | |
], | |
"dependencies":[ | |
], | |
"bp_id":"596e517675b58b137b04dace", | |
"properties":[ | |
], | |
"autoscale_enabled":false, | |
"name":"Create VM", | |
"h":0.0, | |
"resiliency_config":{ | |
"post_flow":null, | |
"cool_down_period":"1800", | |
"alert_window":"1800", | |
"classification":null, | |
"alert_count":"1", | |
"pre_flow":null, | |
"listen_for":"internal", | |
"uid":"596e517675b58b137b04dad7" | |
}, | |
"current_profile":"596e517675b58b137b04dac9", | |
"resiliency_enabled":false, | |
"w":0.0, | |
"strategy_config":{ | |
"post_flow":null, | |
"rollback_pre_flow":null, | |
"classification":null, | |
"rolling_factor":"100", | |
"initial_version":null, | |
"approval_flag":false, | |
"upgrade_flow":null, | |
"rollback_flow":null, | |
"pre_flow":null, | |
"rollback_post_flow":null, | |
"upgrade_type":"rolling_upgrade", | |
"uid":"596e517675b58b137b04dad8", | |
"users":[ | |
], | |
"teams":[ | |
], | |
"emails":[ | |
], | |
"initial_count":"1" | |
}, | |
"y":183.0, | |
"x":242.0 | |
}, | |
{ | |
"tasks":[ | |
], | |
"uid":"cid:00000002", | |
"classification":"compute", | |
"autoscale_config":{ | |
"post_flow":null, | |
"cool_down_period":"1800", | |
"uid":"596e51a575b58b137b04db32", | |
"classification":null, | |
"alert_count":"1", | |
"max_count":"1", | |
"pre_flow":null, | |
"min_count":"1", | |
"listen_for":"external", | |
"scale_by":"1", | |
"alert_window":"1800" | |
}, | |
"profiles":[ | |
"596e51a575b58b137b04db0d" | |
], | |
"strategy_enabled":false, | |
"config":{ | |
"setup":[ | |
], | |
"uid":"596e51a575b58b137b04db35", | |
"classification":null, | |
"deploy":[ | |
"596e520775b58b137b04dc12" | |
] | |
}, | |
"parent":"596e517675b58b137b04dace", | |
"flows":[ | |
], | |
"dependencies":[ | |
], | |
"bp_id":"596e517675b58b137b04dace", | |
"properties":[ | |
], | |
"autoscale_enabled":false, | |
"name":"Install git on server2", | |
"h":0.0, | |
"resiliency_config":{ | |
"post_flow":null, | |
"cool_down_period":"1800", | |
"alert_window":"1800", | |
"classification":null, | |
"alert_count":"1", | |
"pre_flow":null, | |
"listen_for":"internal", | |
"uid":"596e51a575b58b137b04db33" | |
}, | |
"current_profile":"596e51a575b58b137b04db0d", | |
"resiliency_enabled":false, | |
"w":0.0, | |
"strategy_config":{ | |
"post_flow":null, | |
"rollback_pre_flow":null, | |
"classification":null, | |
"rolling_factor":"100", | |
"initial_version":null, | |
"approval_flag":false, | |
"upgrade_flow":null, | |
"rollback_flow":null, | |
"pre_flow":null, | |
"rollback_post_flow":null, | |
"upgrade_type":"rolling_upgrade", | |
"uid":"596e51a575b58b137b04db34", | |
"users":[ | |
], | |
"teams":[ | |
], | |
"emails":[ | |
], | |
"initial_count":"1" | |
}, | |
"y":295.0, | |
"x":656.0 | |
} | |
], | |
"w":0.0, | |
"strategy_config":{ | |
"post_flow":null, | |
"rollback_pre_flow":null, | |
"classification":null, | |
"rolling_factor":"100", | |
"initial_version":null, | |
"approval_flag":false, | |
"upgrade_flow":null, | |
"rollback_flow":null, | |
"pre_flow":null, | |
"rollback_post_flow":null, | |
"upgrade_type":"rolling_upgrade", | |
"uid":"596e517675b58b137b04dae4", | |
"users":[ | |
], | |
"teams":[ | |
], | |
"emails":[ | |
], | |
"initial_count":"1" | |
}, | |
"y":0.0, | |
"x":0.0 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment