Cisco Cisco Elastic Services Controller 2.0 Developer's Guide
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.
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.
5.1.15.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>
<services>
<service_definition>
<deployment_name>csr-dep</deployment_name>
<name>csr-reg</name>
<version>1.2</version>
<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>
<rules>
<admin_rules <admin_rules>
<rule <rule>
<event_name>VM_ALIVE</event_name>
<action>ALWAYS log</action>
<action>FALSE recover autohealingFALSE recover
autohealing</action>
<action>TRUE servicebooted.sh</action>
</rule>
</admin_rules>
</rules>
<config_data>
<configuration>
<dst>iosxe_config.txt</dst>
</dst>
<file>file://cisco/images/csr_config.sh</file>
</configuration>
</config_data>
<scaling>
<min_active>1</min_active>
<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>
<services>
<service_definition>
<deployment_name>csr-dep</deployment_name>
<name>csr-reg</name>
<version>1.2</version>
<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>
<rules>
<admin_rules <admin_rules>
<rule <rule>
<event_name>VM_ALIVE</event_name>
<action>ALWAYS log</action>
<action>FALSE recover autohealingFALSE recover
autohealing</action>
<action>TRUE servicebooted.sh</action>
</rule>
</admin_rules>
</rules>
<config_data>
<configuration>
<dst>iosxe_config.txt</dst>
</dst>
<file>file://cisco/images/csr_config.sh</file>
</configuration>
</config_data>
<scaling>
<min_active>1</min_active>