Cisco Cisco Elastic Services Controller 2.3 Developer's Guide
6.1.5 Create Network
6.1.5.1 Netconf Request
<rpc message-id="1" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"> <edit-
xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0">
<target>
<running/>
</target>
<config>
<esc_datamodel xmlns="http://www.cisco.com/esc/esc">
<networks>
<target>
<running/>
</target>
<config>
<esc_datamodel xmlns="http://www.cisco.com/esc/esc">
<networks>
<network>
<name>mgmt-net</name>
</network>
</networks>
</esc_datamodel>
</config>
</edit-config>
</rpc>
<name>mgmt-net</name>
</network>
</networks>
</esc_datamodel>
</config>
</edit-config>
</rpc>
6.1.5.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
a Configuration Request for more details.
6.1.5.3 Configuration Activation
On Success:
Note: attributes ‘vlan_id’, ‘switch_name’ and ‘number_of_ports’ are required for VMware VIM
Event notification
An escEvent of type CREATE_NETWORK 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 created in the VIM. The network will be
created as a shared network.
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. The network will be
created as a shared network.
<?xml version="1.0" encoding="UTF-8"?>
<notification xmlns="urn:ietf:params:xml:ns:netconf:notification:1.0">
<eventTime>2015-05-19T18:32:13.383+00:00</eventTime>
<escEvent xmlns="http://www.cisco.com/esc/esc">
<status>SUCCESS</status>
<status_message>Network creation completed successfully</status_message>
<network>
<notification xmlns="urn:ietf:params:xml:ns:netconf:notification:1.0">
<eventTime>2015-05-19T18:32:13.383+00:00</eventTime>
<escEvent xmlns="http://www.cisco.com/esc/esc">
<status>SUCCESS</status>
<status_message>Network creation completed successfully</status_message>
<network>
SystemAdminTenantIdmgmt-net
</network>
<tenant>SystemAdminTenantId</tenant>
<vm_source>