Cisco Cloud Services Platform (CSP) Extensions

Cloud Services Provider Extensions

The table below lists all the additional extensions added to ESC to support CSP as a VIM. For more information on the VIM connectors, see Managing VIM Connectors.

Table 1. CSP Extensions

Resource

Extension

Sample Deployment

Deployment/VM Group

Extension: None.

Sample deployment: See the Managing VIM Connector section

Flavor

Extension: None.

Sample deployment:


<flavor>
    <name>FLAVOR_2_4096_10000</name>
    <vcpus>2</vcpus>
    <memory_mb>4096</memory_mb>
    <root_disk_mb>10000</root_disk_mb>
</flavor>

Storage disk

Deployment/volume

Extension:

<extension>
    <name>volumes</name>
    <containers>
        <container>
            <name>1</name>
            <properties>
                <property>
                    <name>storage_disk_format</name>
                    <value>raw | qcow2</value>
                </property>
                <property>
                    <name>storage_disk_device</name>
                    <value>disk | cdrom</value>
                </property>
                <property>
                    <name>storage_disk_location</name>
                    <value>local | NFS mount </value>
                </property>
            </properties>
        </container>
    </containers>
</extension>

Sample deployment:


<volumes>
    <volume>
        <volid>1</volid>
        <sizeunit>GiB</sizeunit>
        <size>20</size>
        <bus>virtio</bus>
    </volume>
</volumes>

Deployment/ vm group / extentions/ image

Extension:

<extension>
    <name>image</name>
    <properties>
        <property>
            <name>disk-resize</name>
            <value>true</value>
        </property>
        <property>
            <name>disk_type</name>
            <value>virtio</value>
        </property>
        <property>
            <name>disk_storage_name</name>
            <value>esc_nas_old</value>
        </property>
        <property>
            <name>image_storage_name</name>
            <value>esc_nas_old</value>
        </property>
    </properties>
</extension>

Deployment/ vm group / extentions/ vnc

Extension:


<extension>
    <name>vnc</name>
    <properties>
        <property>
            <name>vnc_password</name>
            <value>**********</value>
        </property>
    </properties>
</extension>

Deployment/ vm group / extentions/ vnf_mgmt_ip

Extension:


<extension>
    <name>vnf_mgmt_ip</name>
    <properties>
        <property>
            <name>nicid</name>
            <value>0</value>
        </property>
    </properties>
</extension>

Deployment/ vm group / serial_ports

Extension:


<extension>
    <name>serial_ports</name>
    <containers>
        <container>
            <name>0</name>
            <properties>
                <property>
                    <name>serial_type</name>
                    <value>console</value>
                </property>
            </properties>
        </container>
    </containers>
</extension>

Deployment/ vm group / interfaces /

Extension:

<extension>
    <name>interfaces</name>
    <containers>
        <container>
            <name>0</name>
            <properties>
                <property>
                    <name>passthroughMode</name>
                    <value>none</value>
                </property>
                <property>
                    <name>tagged</name>
                    <value>false</value>
                </property>
                <property>
                    <name>type</name>
                    <value>access</value>
                </property>
                <property>
                    <name>vlan</name>
                    <value>1</value>
                </property>
                <property>
                    <name>netmask</name>
                    <value>xx.xx.xx.xx</value>
                </property>
                <property>
                    <name>gateway</name>
                    <value>xx.xx.xx.xx</value>
                </property>
                <property>
                    <name>ip_prefix</name>
                    <value>xx</value>
                </property>
            </properties>
        </container>
    </containers>
</extension>

Sample deployment:


<interfaces>
    <interface>
        <nicid>0</nicid>
        <type>virtual</type>
        <model>virtio</model>
        <network>xyz</network>
        <ip_address>xx.xx.xx.xx</ip_address>
    </interface>
</interfaces>

Deployment/ vm group / <vim_vm_name>

Extension: None.

Sample deployment: <vim_vm_name>my-custom-csr</vim_vm_name>

Deployment/ vm group /day0-volume-id

Extension: None.

Sample deployment:


<config_type>CONFIG_DATA_OPTIONS</config_type>
<config_options>
    <options>
        <option>
            <name>day0-volume-id</name>
            <value>cidata</value>
        </option>
    </options>
</config_options>