nsd:vnfd-id-ref: rift_ping_vnf
- nsd:member-vnf-index: '2'
nsd:vnfd-id-ref: rift_pong_vnf
- nsd:initial-config-primitive:
+ nsd:initial-service-primitive:
- nsd:name: start traffic
nsd:parameter:
- nsd:name: port
# Add external interfaces
cat >>$desc_file <<EOF
- external-interface:
+ interface:
# Specify the external interfaces
# There can be multiple interfaces defined
EOF
# Add mgmt interface
cat >>$desc_file <<EOF
- name: eth0
+ type: EXTERNAL
virtual-interface:
type: VIRTIO
bandwidth: '0'
vpci: '0000:00:0a.0'
- vnfd-connection-point-ref: eth0
+ external-connection-point-ref: eth0
EOF
# Add external interfaces
pci=$(get_pci $eth)
cat >>$desc_file <<EOF
- name: eth${eth}
+ type: EXTERNAL
virtual-interface:
type: ${INTF_TYPE}
bandwidth: '0'
vpci: '0000:00:${pci}.0'
- vnfd-connection-point-ref: eth${eth}
+ external-connection-point-ref: eth${eth}
EOF
done
mgmt-interface:
vdu-id: VyOS-VM
vnf-configuration:
- config-attributes:
- config-delay: '0'
- config-priority: '1'
service-primitive:
- name: config
parameter:
storage-gb: '40'
vcpu-count: '1'
mgmt-vpci: 0000:00:0a.0
- external-interface:
+ interface:
- name: eth0
+ type: EXTERNAL
virtual-interface:
bandwidth: '0'
type: OM-MGMT
vpci: 0000:00:0a.0
- vnfd-connection-point-ref: eth0
+ external-connection-point-ref: eth0
- name: eth1
+ type: EXTERNAL
virtual-interface:
bandwidth: '0'
type: VIRTIO
vpci: 0000:00:0b.0
- vnfd-connection-point-ref: eth1
+ external-connection-point-ref: eth1
- name: eth2
+ type: EXTERNAL
virtual-interface:
bandwidth: '0'
type: VIRTIO
vpci: 0000:00:0c.0
- vnfd-connection-point-ref: eth2
+ external-connection-point-ref: eth2
- name: eth3
+ type: EXTERNAL
virtual-interface:
bandwidth: '0'
type: VIRTIO
vpci: 0000:00:0d.0
- vnfd-connection-point-ref: eth3
+ external-connection-point-ref: eth3
- name: eth4
+ type: EXTERNAL
virtual-interface:
bandwidth: '0'
type: VIRTIO
vpci: 0000:00:0e.0
- vnfd-connection-point-ref: eth4
+ external-connection-point-ref: eth4
guest-epa:
cpu-pinning-policy: DEDICATED
cpu-thread-pinning-policy: PREFER
image: 'CirrOS 0.3.4 64-bit'
#checksum:
- external-interface:
+ interface:
# Specify the external interfaces
# There can be multiple interfaces defined
- name: eth0
+ type: EXTERNAL
virtual-interface:
type: OM-MGMT
bandwidth: '0'
vpci: 0000:00:0a.0
- vnfd-connection-point-ref: eth0
+ external-connection-point-ref: eth0
connection-point:
- name: eth0
mgmt-interface:
vdu-id: IMS-ALLIN1_2p-VM
vnf-configuration:
- config-attributes:
- config-delay: '0'
- config-priority: '1'
service-primitive:
- name: config
parameter:
storage-gb: '10'
vcpu-count: '2'
mgmt-vpci: 0000:00:0a.0
- external-interface:
+ interface:
- name: eth0
+ type: EXTERNAL
virtual-interface:
bandwidth: '0'
type: VIRTIO
vpci: 0000:00:0a.0
- vnfd-connection-point-ref: eth0
+ external-connection-point-ref: eth0
- name: eth1
+ type: EXTERNAL
virtual-interface:
bandwidth: '0'
type: OM-MGMT
vpci: 0000:00:0b.0
- vnfd-connection-point-ref: eth1
+ external-connection-point-ref: eth1
guest-epa:
cpu-pinning-policy: DEDICATED
cpu-thread-pinning-policy: PREFER
vdu:
- cloud-init-file: ping_cloud_init.cfg
count: '1'
- external-interface:
+ interface:
- name: eth0
+ type: EXTERNAL
virtual-interface:
type: VIRTIO
- vnfd-connection-point-ref: ping_vnfd/cp0
+ external-connection-point-ref: ping_vnfd/cp0
- name: eth1
+ type: EXTERNAL
virtual-interface:
type: VIRTIO
- vnfd-connection-point-ref: ping_vnfd/cp1
+ external-connection-point-ref: ping_vnfd/cp1
id: iovdu_0
image: Fedora-x86_64-20-20131211.1-sda-ping.qcow2
name: iovdu_0
storage-gb: '4'
vcpu-count: '1'
vnf-configuration:
- config-attributes:
- config-delay: 10
service-primitive:
- name: start
- name: stop
vdu:
- cloud-init-file: pong_cloud_init.cfg
count: '1'
- external-interface:
+ interface:
- name: eth0
+ type: EXTERNAL
virtual-interface:
type: VIRTIO
- vnfd-connection-point-ref: pong_vnfd/cp0
+ external-connection-point-ref: pong_vnfd/cp0
- name: eth1
+ type: EXTERNAL
virtual-interface:
type: VIRTIO
- vnfd-connection-point-ref: pong_vnfd/cp1
+ external-connection-point-ref: pong_vnfd/cp1
id: iovdu_0
image: Fedora-x86_64-20-20131211.1-sda-pong.qcow2
name: iovdu_0
storage-gb: '4'
vcpu-count: '1'
vnf-configuration:
- config-attributes:
- config-delay: 10
service-primitive:
- name: start
- name: stop
- id-ref: 'iface11'
- id-ref: 'iface21'
vdu:
- - external-interface:
+ - interface:
- name: iface10
+ type: EXTERNAL
virtual-interface:
type: OM-MGMT
- vnfd-connection-point-ref: mgmt0
- internal-interface:
+ external-connection-point-ref: mgmt0
- name: iface11
+ type: INTERNAL
virtual-interface:
type: VIRTIO
- vdu-internal-connection-point-ref: iface11
+ internal-connection-point-ref: iface11
internal-connection-point:
- name: iface11
id: iface11
memory-mb: '2048'
storage-gb: '8'
vcpu-count: '2'
- - external-interface:
+ - interface:
- name: iface22
+ type: EXTERNAL
virtual-interface:
type: VIRTIO
- vnfd-connection-point-ref: west
- internal-interface:
+ external-connection-point-ref: west
- name: iface21
+ type: INTERNAL
virtual-interface:
type: VIRTIO
- vdu-internal-connection-point-ref: iface21
+ internal-connection-point-ref: iface21
internal-connection-point:
- name: iface21
id: iface21
- id-ref: 'iface41'
vdu:
- description: Middlepoint
- external-interface:
+ interface:
- name: iface30
+ type: EXTERNAL
virtual-interface:
type: OM-MGMT
- vnfd-connection-point-ref: mgmt0
+ external-connection-point-ref: mgmt0
+ - name: iface31
+ type: INTERNAL
+ internal-connection-point-ref: iface31
+ virtual-interface:
+ type: VIRTIO
guest-epa:
cpu-pinning-policy: DEDICATED
mempage-size: "LARGE"
- id: iface31
name: iface31
type: VPORT
- internal-interface:
- - name: iface31
- vdu-internal-connection-point-ref: iface31
- virtual-interface:
- type: VIRTIO
name: Ref_VM3
vm-flavor:
memory-mb: '2048'
storage-gb: '8'
vcpu-count: '2'
- - external-interface:
+ - interface:
- name: iface42
+ type: EXTERNAL
virtual-interface:
type: PCI-PASSTHROUGH
- vnfd-connection-point-ref: west
+ external-connection-point-ref: west
- name: iface43
+ type: EXTERNAL
virtual-interface:
type: SR-IOV
- vnfd-connection-point-ref: east
+ external-connection-point-ref: east
+ - name: iface41
+ type: INTERNAL
+ internal-connection-point-ref: iface41
+ virtual-interface:
+ type: VIRTIO
guest-epa:
cpu-pinning-policy: DEDICATED
id: e526e
name: iface41
type: VPORT
name: Ref_VM4
- internal-interface:
- - name: iface41
- vdu-internal-connection-point-ref: iface41
- virtual-interface:
- type: VIRTIO
vendor: ETSI
version: '1.0'
name: Ref_Vnf_21
short-name: Ref_Vnf_21
vdu:
- - external-interface:
+ - interface:
- name: iface50
+ type: EXTERNAL
virtual-interface:
type: OM-MGMT
- vnfd-connection-point-ref: mgmt
+ external-connection-point-ref: mgmt
- name: iface51
+ type: EXTERNAL
virtual-interface:
type: VIRTIO
- vnfd-connection-point-ref: data
+ external-connection-point-ref: data
id: ref_vm21
image: ref_vm21.qcow2
name: Ref_VM_5
name: Ref_VNF_22
short-name: Ref_VNF_22
vdu:
- - external-interface:
+ - interface:
- name: iface60
+ type: EXTERNAL
virtual-interface:
type: OM-MGMT
- vnfd-connection-point-ref: mgmt
+ external-connection-point-ref: mgmt
- name: iface61
+ type: EXTERNAL
virtual-interface:
type: PCI-PASSTHROUGH
- vnfd-connection-point-ref: west
+ external-connection-point-ref: west
- name: iface62
+ type: EXTERNAL
virtual-interface:
type: SR-IOV
- vnfd-connection-point-ref: east
+ external-connection-point-ref: east
id: abd6831e-f811-4580-9aad-1de9c6424180
image: ref_vm22.qcow2
name: Ref_VM6
# User-data injection
cloud-init-file: cloud_init.cfg
- external-interface:
+ interface:
# Specify the external interfaces
# There can be multiple interfaces defined
- name: eth0
+ type: EXTERNAL
virtual-interface:
type: OM-MGMT
- vnfd-connection-point-ref: eth0
+ external-connection-point-ref: eth0
# Specify the volume
# There can be multiple interfaces defined
volumes:
# User-data injection
cloud-init-file: cloud_init.cfg
- external-interface:
+ interface:
# Specify the external interfaces
# There can be multiple interfaces defined
- name: eth0
+ type: EXTERNAL
virtual-interface:
type: OM-MGMT
bandwidth: '0'
vpci: 0000:00:0a.0
- vnfd-connection-point-ref: eth0
+ external-connection-point-ref: eth0
connection-point:
- name: eth0