Cisco Cisco Elastic Services Controller 2.2 Developer's Guide

Page of 88
 
 
 
If a VM 
specific resource like interface, is updated, then a VM_UPDATED followed by a SERVICE_UPDATED notification is received. 
Example  callback:
 
 
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: VM has been updated successfully. vm: VM ID: [Sanity-vmware-de_CSR-1_0_b323effd-7f70-4055-b11e-0ef66f0a758d] 
 
 
<!--?xml version="1.0" encoding="UTF-8" standalone="yes"?-->
 
<deployment xmlns=
"urn:ietf:params:xml:ns:netconf:base:1.0"
<datacenter><default>false</default></datacenter
<deployment_details
<host_uuid>host-14882</host_uuid
<host_name>10.85.103.13</host_name
<vm_uuid>50217d2d-8afb-41c2-cffd-d76b1239f51e</vm_uuid
<interfaces
<interface
<network_uuid>MgtNetwork</network_uuid
<ip_address>18.0.0.17</ip_address
<mac_address>00:50:56:a1:6a:13</mac_address
<nic_id>1</nic_id
<port_forwarding></port_forwarding
<port_uuid></port_uuid
<security_groups></security_groups
<subnet_uuid></subnet_uuid
<type>virtual</type
</interface
<interface
<network_uuid>MgtNetwork2</network_uuid
<ip_address>18.0.1.18</ip_address
<mac_address>00:50:56:a1:6b:14</mac_address
<internal_deployment_id>my_dep_id</internal_deployment_id
<internal_tenant_id>SystemAdminTenantId</internal_tenant_id
<service_state_machine_state>SERVICE_ACTIVE_STATE</service_state_machine_state
</deployment