Cisco Cisco Elastic Services Controller 1.0 Developer's Guide
5.1.7.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:
status of rpc-error if the request was rejected:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1">
<rpc-error>
<error-type>application</error-type>
<error-tag>operation-failed</error-tag>
<error-severity>error</error-severity>
<error-type>application</error-type>
<error-tag>operation-failed</error-tag>
<error-severity>error</error-severity>
<error-message xml:lang="en">Internal id: csr_reg1.2 is already in use with
another resource type</error-message>
</rpc-error>
</rpc-reply>
another resource type</error-message>
</rpc-error>
</rpc-reply>
5.1.7.3 Configuration Activation
On Success:
Event notification
A single escEvent notification of type SERVICE_REGISTRATION with a SUCCESS status 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 created in the VIM.
Netconf subscribers once the configuration activation has completed. This indicates that the activation
workflow is complete and the configuration resource has been successfully created in the VIM.
<?xml version="1.0" encoding="UTF-8"?>
<notification xmlns="urn:ietf:params:xml:ns:netconf:notification:1.0">
<eventTime>2015-05-19T19:18:46.342+00:00</eventTime>
<escEvent xmlns="http://www.cisco.com/esc/esc">
<status>SUCCESS</status>
<status_message>Register service completed
successfully</status_message>
<svcname>csr-reg</svcname>
<svcversion>1.2</svcversion>
<notification xmlns="urn:ietf:params:xml:ns:netconf:notification:1.0">
<eventTime>2015-05-19T19:18:46.342+00:00</eventTime>
<escEvent xmlns="http://www.cisco.com/esc/esc">
<status>SUCCESS</status>
<status_message>Register service completed
successfully</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_REGISTRATION</type>
<vm_source>
</vm_source>
<vm_target>
</vm_target>
<event>
<type>SERVICE_REGISTRATION</type>
</event>
</escEvent>
</notification>
</escEvent>
</notification>
Operational data
Not applicable. There is no operational data for service registration.
On Failure:
Event notification
An escEvent notification of type SERVICE_REGISTRATION 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
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
.