Cisco Cisco Elastic Services Controller 2.3 Developer's Guide

Page of 85
6.1.17  Update Service 
Update service allows you to incrementally add VNFs to a deployment. Update service requires a service 
registration with all of the potential VNFs that may potentially be used in the future even when they will 
not be used right away. Whenever a VNF is to be deployed then the min active under the desired VNF 
(vm_group) must be set to 1 and a configuration file has to be provided. The VNFs that are not going to 
be deployed must have their min active set to 0 and their interfaces to N/A as well as their configuration 
file set to N/A. 
Refer to the deployment section to do an initial deployment before doing the update deployment. The 
original deployment will only have one active VNF and that can be seen in the operational data. Once 
update service is completed, another VNF will be added to the operational data.  
 
Note – Service Update is not supported for VMWare VIM ! 
 
6.1.17.1 Netconf Request  
 
<rpc message-id="1" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"> 
  <edit-config xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0"> 
    <target> 
      <running/> 
    </target> 
    <config> 
      <esc_datamodel xmlns="http://www.cisco.com/esc/esc"> 
        <tenants> 
          <tenant> 
            <name>vnf-tenant</name> 
            <deployments> 
              <deployment> 
                <name>csr-dep</name> 
                <vm_group> 
                  <name>csr-vm</name> 
                  <bootup_time>600</bootup_time> 
                  <recovery_wait_time>0</recovery_wait_time> 
                  <interfaces> 
                    <interface> 
                      <nicid>0</nicid> 
                      <network>7af5c7df-6246-4d53-91bd-
aa12a1607656</network> 
                    </interface> 
                  </interfaces> 
                  <kpi_data> 
                    <kpi> 
                      <event_name>VM_ALIVE</event_name> 
                      <metric_value>50</metric_value> 
                      <metric_cond>GT</metric_cond> 
                      <metric_type>UINT32</metric_type> 
                      <metric_occurrences_true>3</metric_occurrences_true> 
                      
<metric_occurrences_false>3</metric_occurrences_false> 
                      <metric_collector> 
                        <type>ICMPPing</type> 
                        <nicid>0</nicid> 
                        <poll_frequency>15</poll_frequency> 
                        <polling_unit>seconds</polling_unit> 
                        <continuous_alarm>false</continuous_alarm> 
                      </metric_collector> 
                    </kpi> 
                  </kpi_data>