ARCHIVE=false
CREATE_NSD=false
VENDOR='OSM'
-INTF_TYPE='VIRTIO'
+INTF_TYPE='PARAVIRT'
VCPU=2
MEMORY=4096
STORAGE=10
--vendor : Vendor name for descriptor. Default OSM
- --interface-type : Interface type [VIRTIO|SR-IOV|PCI-PASSTHROUGH|E1000]
- Default VIRTIO
+ --interface-type : Interface type [PARAVIRT|SR-IOV|PCI-PASSTHROUGH|E1000]
+ Default PARAVIRT
VM Flavour options:
CP_TYPE='VPORT'
function get_cp_type() {
case ${INTF_TYPE} in
- VIRTIO ) CP_TYPE='VPORT';;
+ PARAVIRT ) CP_TYPE='VPORT';;
SR-IOV ) CP_TYPE='VPORT';;
PCI-PASSTHROUGH ) CP_TYPE='VPORT';;
OM-MGMT ) CP_TYPE='VPORT';;
- name: eth0
type: EXTERNAL
virtual-interface:
- type: VIRTIO
+ type: PARAVIRT
external-connection-point-ref: vnf-cp0
EOF
for external_interface in external_interface_list:
if external_interface.get("virtual-interface", {}).get("type") == "OM-MGMT":
raise KeyError(
- "Wrong 'Virtual-interface type': Deprecated 'OM-MGMT' value. Please, use 'VIRTIO' instead")
+ "Wrong 'Virtual-interface type': Deprecated 'OM-MGMT' value. Please, use 'PARAVIRT' instead")
interface_list = vdu.pop("interface", ())
for interface in interface_list:
if interface.get("virtual-interface", {}).get("type") == "OM-MGMT":
raise KeyError(
- "Wrong 'Virtual-interface type': Deprecated 'OM-MGMT' value. Please, use 'VIRTIO' instead")
+ "Wrong 'Virtual-interface type': Deprecated 'OM-MGMT' value. Please, use 'PARAVIRT' instead")
if vnfd.get("mgmt-interface"):
mgmt_iface = True
if vnfd["mgmt-interface"].get("vdu-id"):
type: EXTERNAL
virtual-interface:
bandwidth: '0'
- type: VIRTIO
+ type: PARAVIRT
vpci: 0000:00:0a.0
external-connection-point-ref: eth0
- name: eth1
type: EXTERNAL
virtual-interface:
bandwidth: '0'
- type: VIRTIO
+ type: PARAVIRT
vpci: 0000:00:0b.0
external-connection-point-ref: eth1
- name: eth2
type: EXTERNAL
virtual-interface:
bandwidth: '0'
- type: VIRTIO
+ type: PARAVIRT
vpci: 0000:00:0c.0
external-connection-point-ref: eth2
- name: eth3
type: EXTERNAL
virtual-interface:
bandwidth: '0'
- type: VIRTIO
+ type: PARAVIRT
vpci: 0000:00:0d.0
external-connection-point-ref: eth3
- name: eth4
type: EXTERNAL
virtual-interface:
bandwidth: '0'
- type: VIRTIO
+ type: PARAVIRT
vpci: 0000:00:0e.0
external-connection-point-ref: eth4
guest-epa:
- name: eth0
type: EXTERNAL
virtual-interface:
- type: VIRTIO
+ type: PARAVIRT
bandwidth: '0'
vpci: 0000:00:0a.0
external-connection-point-ref: eth0
- name: eth0
type: EXTERNAL
virtual-interface:
- type: VIRTIO
+ type: PARAVIRT
bandwidth: '0'
vpci: 0000:00:0a.0
external-connection-point-ref: eth0
type: EXTERNAL
virtual-interface:
bandwidth: '0'
- type: VIRTIO
+ type: PARAVIRT
vpci: 0000:00:0a.0
external-connection-point-ref: eth0
guest-epa:
- name: vdu-eth0
type: EXTERNAL
virtual-interface:
- type: VIRTIO
+ type: PARAVIRT
external-connection-point-ref: vnf-cp0
cloud-init-file: cloud-config.txt
vnf-configuration:
- name: vdu-eth0
type: EXTERNAL
virtual-interface:
- type: VIRTIO
+ type: PARAVIRT
external-connection-point-ref: vnf-cp0
mgmt-interface:
cp: vnf-cp0
position: '1'
type: EXTERNAL
virtual-interface:
- type: VIRTIO
+ type: PARAVIRT
external-connection-point-ref: vnf-mgmt
- name: mgmtVM-eth1
position: '2'
type: INTERNAL
virtual-interface:
- type: VIRTIO
+ type: PARAVIRT
internal-connection-point-ref: mgmtVM-internal
internal-connection-point:
- id: mgmtVM-internal
position: '1'
type: INTERNAL
virtual-interface:
- type: VIRTIO
+ type: PARAVIRT
internal-connection-point-ref: dataVM-internal
- name: dataVM-xe0
position: '2'
type: EXTERNAL
virtual-interface:
- type: VIRTIO
+ type: PARAVIRT
external-connection-point-ref: vnf-data
internal-connection-point:
- id: dataVM-internal
position: '1'
type: EXTERNAL
virtual-interface:
- type: VIRTIO
+ type: PARAVIRT
external-connection-point-ref: vnf-mgmt
- name: mgmtVM-eth1
position: '2'
type: INTERNAL
virtual-interface:
- type: VIRTIO
+ type: PARAVIRT
internal-connection-point-ref: mgmtVM-internal
internal-connection-point:
- id: mgmtVM-internal
position: '1'
type: INTERNAL
virtual-interface:
- type: VIRTIO
+ type: PARAVIRT
internal-connection-point-ref: dataVM-internal
- name: xe0
position: '2'
position: '1'
type: EXTERNAL
virtual-interface:
- type: VIRTIO
+ type: PARAVIRT
external-connection-point-ref: vnf-mgmt
- name: mgmtVM-eth1
position: '2'
type: INTERNAL
virtual-interface:
- type: VIRTIO
+ type: PARAVIRT
internal-connection-point-ref: mgmtVM-internal
internal-connection-point:
- id: mgmtVM-internal
position: '1'
type: INTERNAL
virtual-interface:
- type: VIRTIO
+ type: PARAVIRT
internal-connection-point-ref: dataVM-internal
- name: dataVM-xe0
position: '2'
type: EXTERNAL
virtual-interface:
- type: VIRTIO
+ type: PARAVIRT
external-connection-point-ref: vnf-data
internal-connection-point:
- id: dataVM-internal
position: '1'
type: EXTERNAL
virtual-interface:
- type: VIRTIO
+ type: PARAVIRT
external-connection-point-ref: vnf-mgmt
- name: mgmtVM-eth1
position: '2'
type: INTERNAL
virtual-interface:
- type: VIRTIO
+ type: PARAVIRT
internal-connection-point-ref: mgmtVM-internal
internal-connection-point:
- id: mgmtVM-internal
position: '1'
type: INTERNAL
virtual-interface:
- type: VIRTIO
+ type: PARAVIRT
internal-connection-point-ref: dataVM-internal
- name: dataVM-xe0
position: '2'
type: EXTERNAL
virtual-interface:
- type: VIRTIO
+ type: PARAVIRT
external-connection-point-ref: vnf-data
internal-connection-point:
- id: dataVM-internal
type: EXTERNAL
virtual-interface:
bandwidth: '0'
- type: VIRTIO
+ type: PARAVIRT
vpci: 0000:00:0a.0
external-connection-point-ref: eth0
- name: eth1
type: EXTERNAL
virtual-interface:
bandwidth: '0'
- type: VIRTIO
+ type: PARAVIRT
vpci: 0000:00:0b.0
external-connection-point-ref: eth1
guest-epa:
position: 0
type: EXTERNAL
virtual-interface:
- type: VIRTIO
+ type: PARAVIRT
external-connection-point-ref: ping_vnfd/cp0
- name: eth1
position: 1
type: EXTERNAL
virtual-interface:
- type: VIRTIO
+ type: PARAVIRT
external-connection-point-ref: ping_vnfd/cp1
id: iovdu_0
image: Fedora-x86_64-20-20131211.1-sda-ping.qcow2
position: 0
type: EXTERNAL
virtual-interface:
- type: VIRTIO
+ type: PARAVIRT
external-connection-point-ref: pong_vnfd/cp0
- name: eth1
position: 1
type: EXTERNAL
virtual-interface:
- type: VIRTIO
+ type: PARAVIRT
external-connection-point-ref: pong_vnfd/cp1
id: iovdu_0
image: Fedora-x86_64-20-20131211.1-sda-pong.qcow2
- name: iface10
type: EXTERNAL
virtual-interface:
- type: VIRTIO
+ type: PARAVIRT
external-connection-point-ref: mgmt0
- name: iface11
type: INTERNAL
virtual-interface:
- type: VIRTIO
+ type: PARAVIRT
internal-connection-point-ref: iface11
internal-connection-point:
- name: iface11
- name: iface22
type: EXTERNAL
virtual-interface:
- type: VIRTIO
+ type: PARAVIRT
external-connection-point-ref: west
- name: iface21
type: INTERNAL
virtual-interface:
- type: VIRTIO
+ type: PARAVIRT
internal-connection-point-ref: iface21
internal-connection-point:
- name: iface21
- name: iface30
type: EXTERNAL
virtual-interface:
- type: VIRTIO
+ type: PARAVIRT
external-connection-point-ref: mgmt0
- name: iface31
type: INTERNAL
internal-connection-point-ref: iface31
virtual-interface:
- type: VIRTIO
+ type: PARAVIRT
guest-epa:
cpu-pinning-policy: DEDICATED
mempage-size: "LARGE"
type: INTERNAL
internal-connection-point-ref: iface41
virtual-interface:
- type: VIRTIO
+ type: PARAVIRT
guest-epa:
cpu-pinning-policy: DEDICATED
id: e526e
- name: iface50
type: EXTERNAL
virtual-interface:
- type: VIRTIO
+ type: PARAVIRT
external-connection-point-ref: mgmt
- name: iface51
type: EXTERNAL
virtual-interface:
- type: VIRTIO
+ type: PARAVIRT
external-connection-point-ref: data
id: ref_vm21
image: ref_vm21.qcow2
- name: iface60
type: EXTERNAL
virtual-interface:
- type: VIRTIO
+ type: PARAVIRT
external-connection-point-ref: mgmt
- name: iface61
type: EXTERNAL
- name: eth0
type: EXTERNAL
virtual-interface:
- type: VIRTIO
+ type: PARAVIRT
bandwidth: '0'
vpci: 0000:00:0a.0
external-connection-point-ref: eth0
- name: eth0
type: EXTERNAL
virtual-interface:
- type: VIRTIO
+ type: PARAVIRT
external-connection-point-ref: eth0
# Specify the volume
# There can be multiple interfaces defined
- name: eth0
type: EXTERNAL
virtual-interface:
- type: VIRTIO
+ type: PARAVIRT
bandwidth: '0'
vpci: 0000:00:0a.0
external-connection-point-ref: eth0
- name: eth0
type: EXTERNAL
virtual-interface:
- type: VIRTIO
+ type: PARAVIRT
bandwidth: '0'
vpci: 0000:00:0a.0
external-connection-point-ref: eth0