Cisco Cisco Elastic Services Controller 1.1 Developer's Guide
5.1.8 Delete Image
5.1.8.1 Netconf Request
<rpc message-id="1" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<edit-config>
<target>
<running/>
</target>
<config>
<esc_datamodel xmlns="http://www.cisco.com/esc/esc">
<images>
<image nc:operation="delete">
<name>cirros-image-indep</name>
</image>
</images>
</esc_datamodel>
</config>
<target>
<running/>
</target>
<config>
<esc_datamodel xmlns="http://www.cisco.com/esc/esc">
<images>
<image nc:operation="delete">
<name>cirros-image-indep</name>
</image>
</images>
</esc_datamodel>
</config>
</edit-config>
</rpc>
</rpc>
5.1.8.2 Netconf Response
An rpc-reply response is returned with a status of ok if the request was accepted for
activation, or a status of rpc-error if the request was rejected. See section
activation, or a status of rpc-error if the request was rejected. See section
5.1.8.3 Configuration Activation
On Success:
Event notification
An escEvent of type DELETE_IMAGE with a status of SUCCESS will be sent to Netconf subscribers once
the configuration activation has completed. This indicates that the activation workflow is complete and
the configuration resource has been successfully deleted in the VIM.
the configuration activation has completed. This indicates that the activation workflow is complete and
the configuration resource has been successfully deleted in the VIM.
<notification xmlns="urn:ietf:params:xml:ns:netconf:notification:1.0">
<eventTime>2015-05-06T16:33:27.197+00:00</eventTime>
<eventTime>2015-05-06T16:33:27.197+00:00</eventTime>
<escEvent xmlns="http://www.cisco.com/esc/esc">
<status>SUCCESS</status>
<status_message>Image deletion completed successfully.</status_message>
<image>cirros-image-indep</image>
<status>SUCCESS</status>
<status_message>Image deletion completed successfully.</status_message>
<image>cirros-image-indep</image>
<vm_source>
</vm_source>
<vm_target>
</vm_target>
<event>
<type>DELETE_IMAGE</type>
</event>
</escEvent>
</notification>
</vm_source>
<vm_target>
</vm_target>
<event>
<type>DELETE_IMAGE</type>
</event>
</escEvent>
</notification>
Operational data
After an image deletion configuration has been successfully activated, there will be no operational data
for the image.
for the image.