The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
This section contains the following topics:
When you deploy VNFs on VMware vCenter, you can either use the out-of-band images that are already available on VMware vCenter or create an image in the ESC portal, or using REST or NETCONF APIs. For more information on deployment attributes see, Cisco Elastic Services Controller Deployment Attributes.
![]() Note | In ESC Release 2.0 and later, when you deploy VNFs on VMware vCenter, you can either use the out-of-band images that are already available on VMware vCenter or create an image in the ESC portal or using REST or NETCONF APIs. |
NETCONF request to create an image:
<?xml version="1.0" encoding="UTF-8"?> <esc_datamodel xmlns:ns2="urn:ietf:params:xml:ns:netconf:notification:1.0" xmlns:ns1="urn:ietf:params:xml:ns:netconf:base:1.0" xmlns:ns3="http://www.cisco.com/esc/esc_notifications" xmlns:ns0="http://www.cisco.com/esc/esc" xmlns="http://www.cisco.com/esc/esc"> <images> <image> <name>nashrest-cirrosimage-indep</name> <src>http://10.85.74.227:/share/images/esc_automated_test_images/cirros-0.3.3-x86_64-disk.img</src> <disk_format>qcow2</disk_format> <container_format>bare</container_format> <serial_console>true</serial_console> <disk_bus>virtio</disk_bus> </image> </images> </esc_datamodel>
NETCONF notification upon successful creation of an image:
<?xml version="1.0" encoding="UTF-8"?> <notification xmlns="urn:ietf:params:xml:ns:netconf:notification:1.0"> <eventTime>2015-07-13T13:46:50.339+00:00</eventTime> <escEvent xmlns="http://www.cisco.com/esc/esc"> <status>SUCCESS</status> <status_message>Image creation completed successfully.</status_message> <image>nashrest-cirrosimage-indep</image> <vm_source> </vm_source> <vm_target> </vm_target> <event> <type>CREATE_IMAGE</type> </event> </escEvent> </notification>
![]() Note | For more information about adding images using NETCONF API, see Cisco Elastic Services Controller API Guide. To access the REST API documentation directly from the ESC VM, see REST Northbound API. For more information on adding and deleting images using the ESC portal, see Managing VNFs Using the ESC Portal. |
On VMware vCenter, you configure a distributed port on a vSphere distributed switch that connects to the VM kernel or to a virtual machine's network adapter. It specifies port configuration options for each member port on a vSphere distributed switch. Distributed port groups define how a connection is made to a network. You can use REST interface to create distributed port groups.
<?xml version="1.0" encoding="UTF-8"?> <network xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"> <name>network-portgroup-01</name> <switch_name>vdSwitch-01</switch_name> <vlan_id>0</vlan_id> <number_of_ports>8</number_of_ports> </network>
![]() Note | On VMware vCenter, ESC only supports basic portGroup or network creation within a vSphere Distributed Switch (VDS). For advance vDS configuration, only out-of-band configuration is supported by ESC. |