Appendix-IaaS

Example

Non-Storage Orchestration File
{
       "description": "oplan for ${{FDIAAS_INP_ORCHESTRATION_NAME}}",
       "name": "/Compute-${{FDIAAS_INP_IDENTITY_DOMAIN}}/${{FDIAAS_INP_USERNAME}}/${{FDIAAS_INP_ORCHESTRATION_NAME}}",
       "oplans": [{
              "label": "${{FDIAAS_INP_ORCHESTRATION_NAME}}_oplan",
              "obj_type": "launchplan",
              "objects": [{
                     "instances": [{
                           "imagelist": "/oracle/public/ol_6.4_5GB_v1",
                           "label": "${{FDIAAS_INP_ORCHESTRATION_NAME}}",
                           "hostname": "${{FDIAAS_INP_ORCHESTRATION_NAME}}",
                           "networking": {
                                  "eth0": {"seclists": ["/Compute-${{FDIAAS_INP_IDENTITY_DOMAIN}}/default/default",
                                         "/Compute-${{FDIAAS_INP_IDENTITY_DOMAIN}}/${{FDIAAS_INP_USERNAME}}//FDW_traffic"],
                                         "nat": "ipreservation:${{FDIAAS_IP_RESERVATION_NAME}}"
                                  }
                           },
                           "shape": "oc3",
                           "storage_attachments": [{
                                  "index": 1,
                                  "volume": "/Compute-${{FDIAAS_INP_IDENTITY_DOMAIN}}/${{FDIAAS_INP_USERNAME}}/${{FDIAAS_INP_ORCHESTRATION_NAME}}_boot"
                           },
                           {
                                  "index": 2,
                                  "volume": "/Compute-${{FDIAAS_INP_IDENTITY_DOMAIN}}//${{FDIAAS_INP_USERNAME}}/${{FDIAAS_INP_ORCHESTRATION_NAME}}_data1"
                           },
                           {
                                  "index": 3,
                                  "volume": "/Compute-${{FDIAAS_INP_IDENTITY_DOMAIN}}/${{FDIAAS_INP_USERNAME}}/${{FDIAAS_INP_ORCHESTRATION_NAME}}_data2"
                           }],
                           "boot_order": [1],
                           "sshkeys": ["/Compute-${{FDIAAS_INP_IDENTITY_DOMAIN}}/${{FDIAAS_INP_USERNAME}}//id_rsa"]
                     }]
              }],
              "ha_policy": "active"
       }]
}

 

Example

Storage Orchestration File
{
       "description": "Storage volumes for ${{FDIAAS_INP_ORCHESTRATION_NAME}}",
       "name": "/Compute-${{FDIAAS_INP_IDENTITY_DOMAIN}}/${{FDIAAS_INP_USERNAME}}/${{FDIAAS_INP_ORCHESTRATION_NAME}}_storage",
       "oplans": [{
              "label": "${{FDIAAS_INP_ORCHESTRATION_NAME}}_storage",
              "obj_type": "storage/volume",
              "objects": [{
                     "name": "/Compute-${{FDIAAS_INP_IDENTITY_DOMAIN}}/${{FDIAAS_INP_USERNAME}}/${{FDIAAS_INP_ORCHESTRATION_NAME}}_boot",
                     "bootable": true,
                     "imagelist": "/oracle/public/oel_6.4_5GB_v1",
                     "properties": ["/oracle/public/storage/default"],
                     "size": "6G"
              },
              {
                     "name": "/Compute-${{FDIAAS_INP_IDENTITY_DOMAIN}}/${{FDIAAS_INP_USERNAME}}/${{FDIAAS_INP_ORCHESTRATION_NAME}}_data1",
                     "properties": ["/oracle/public/storage/default"],
                     "size": "30G"
              },
              {
                     "name": "/Compute-${{FDIAAS_INP_IDENTITY_DOMAIN}}/${{FDIAAS_INP_USERNAME}}/${{FDIAAS_INP_ORCHESTRATION_NAME}}_data2",
                     "properties": ["/oracle/public/storage/default"],
                     "size": "30G"
              }],
              "ha_policy": "monitor"
       }]
}