Cisco Cisco Elastic Services Controller 2.2 Developer's Guide
After the Image creation operation is done, ESC will send a callback to the client with the result.
Example callback (uncomment
first and last line when using the example):
Parameters
Parameter
Value
Description
Parameter Type Data Type
Callback
Callback URL for ESC
notifications
header
string
internalImageId
Internal image ID (max length
72 characters)
path
string
HTTP/1.1 201 OK
Content-Type: application/xml; charset=UTF-8
ESC_TRANSACTION_ID: d53f0047-2315-466c-b7e3-aa78e0a567e8
ESC-Status-Code: 200
ESC-Status-Message: Image successfully created
<!--image xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"-->
<disk_bus>virtio</disk_bus>
<e1000_net>false</e1000_net>
<event_type>CREATE_IMAGE</event_type>
<external_image_id>5021843b-fcc5-2c1b-8fc4-935147f95872</external_image_id>
<external_tenant_id>SystemAdminTenantId</external_tenant_id>
<imageisenabled>trueX</imageisenabled>
<name>uLinuxImg</name>
<internal_image_id>my_image_id</internal_image_id>
<internal_tenant_id>SystemAdminTenantId</internal_tenant_id>
<public>true</public>
<src>http://VAR_FILE_SERVER_IP/share/images/myULinux.qcow2</src>
<!--/image-->
<!--image xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"-->
<name>uLinuxImg</name>
<src>http://VAR_FILE_SERVER_IP/share/images/myULinux.qcow2</src>
<disk_bus>virtio</disk_bus>
<!--/image-->