Cisco Cisco Elastic Services Controller 2.2 Developer's Guide
Operational data
Not applicable. There is no operational data for service registration.
On Failure:
Event notification
A single escEvent notification of type SERVICE_UNREGISTRATION with a FAILURE status will be sent to
Netconf subscribers if the configuration action cannot be complete for some reason. If a FAILURE event
occurs, there may be cleanup required as described below under
Netconf subscribers if the configuration action cannot be complete for some reason. If a FAILURE event
occurs, there may be cleanup required as described below under
Handling Activation Failures
.
Notification example:
<?xml version="1.0" encoding="UTF-8"?>
<notification xmlns="urn:ietf:params:xml:ns:netconf:notification:1.0">
<eventTime>2015-05-19T19:59:00.167+00:00</eventTime>
<escEvent xmlns="http://www.cisco.com/esc/esc">
<status>FAILURE</status>
<status_message>Unregister service failed</status_message>
<svcname>csr-reg</svcname>
<notification xmlns="urn:ietf:params:xml:ns:netconf:notification:1.0">
<eventTime>2015-05-19T19:59:00.167+00:00</eventTime>
<escEvent xmlns="http://www.cisco.com/esc/esc">
<status>FAILURE</status>
<status_message>Unregister service failed</status_message>
<svcname>csr-reg</svcname>
<svcversion>1.2</svcversion>
<svcid>5a96dcfd-a404-43fa-8b00-01bd68af5048</svcid>
<vm_source>
</vm_source>
<vm_target>
</vm_target>
<event>
<type>SERVICE_UNREGISTRATION</type>
</event>
<svcid>5a96dcfd-a404-43fa-8b00-01bd68af5048</svcid>
<vm_source>
</vm_source>
<vm_target>
</vm_target>
<event>
<type>SERVICE_UNREGISTRATION</type>
</event>
</escEvent>
</notification>
</notification>
Operational data
Not applicable. There is no operational data for service registration.
Handling Activation Failures
If a failure occurs while activating an unregister service configuration change, there are still no further
actions required to take as ESC will automatically clean up all the resources from its database. Operator
manual intervention may be required to clean up possible leaking VIM resources.
actions required to take as ESC will automatically clean up all the resources from its database. Operator
manual intervention may be required to clean up possible leaking VIM resources.