Skip to content
Snippets Groups Projects
Commit 821f5e3f authored by montesmoreno's avatar montesmoreno
Browse files

Added new descriptors for R3 testing


Signed-off-by: default avatarmontesmoreno <pablo.montesmoreno@telefonica.com>
parent 2cea6a01
No related branches found
No related tags found
No related merge requests found
Showing
with 332 additions and 0 deletions
#
# Copyright 2017 Sandvine
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
DESCRIPTORS_TOPDIR ?= ../..
include $(DESCRIPTORS_TOPDIR)/mk/pkg.mk
all: $(BUILD_DIR)/$(PKG_NAME)
nsd:nsd-catalog:
nsd:
- id: cirros_noportsecurity_2vnf_nsd
name: cirros_noportsecurity_2vnf_ns
short-name: cirros_noportsecurity_2vnf_ns
description: Generated by OSM pacakage generator
vendor: OSM
version: '1.0'
# Place the logo as png in icons directory and provide the name here
logo: osm_2x.png
# Specify the VNFDs that are part of this NSD
constituent-vnfd:
# The member-vnf-index needs to be unique, starting from 1
# vnfd-id-ref is the id of the VNFD
# Multiple constituent VNFDs can be specified
- member-vnf-index: 1
vnfd-id-ref: cirros_noportsecurity_vnfd
- member-vnf-index: 2
vnfd-id-ref: cirros_noportsecurity_vnfd
vld:
# Networks for the VNFs
- id: cirros_2vnf_nsd_vld1
name: cirros_2vnf_nsd_vld1
short-name: cirros_2vnf_nsd_vld1
type: ELAN
# vim-network-name: <update>
# provider-network:
# overlay-type: VLAN
# segmentation_id: <update>
vnfd-connection-point-ref:
# Specify the constituent VNFs
# member-vnf-index-ref - entry from constituent vnf
# vnfd-id-ref - VNFD id
# vnfd-connection-point-ref - connection point name in the VNFD
- nsd:member-vnf-index-ref: 1
nsd:vnfd-id-ref: cirros_noportsecurity_vnfd
nsd:vnfd-connection-point-ref: eth0
- nsd:member-vnf-index-ref: 2
nsd:vnfd-id-ref: cirros_noportsecurity_vnfd
nsd:vnfd-connection-point-ref: eth0
descriptor-packages/nsd/cirros_noportsecurity_2vnf_ns/src/icons/osm_2x.png

54.6 KiB

#
# Copyright 2017 Sandvine
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
DESCRIPTORS_TOPDIR ?= ../..
include $(DESCRIPTORS_TOPDIR)/mk/pkg.mk
all: $(BUILD_DIR)/$(PKG_NAME)
nsd:nsd-catalog:
nsd:
- id: cirros_set_vim_network_ns
name: cirros_set_vim_network_ns
short-name: cirros_set_vim_network_ns
description: Generated by OSM pacakage generator
vendor: OSM
version: '1.0'
# Place the logo as png in icons directory and provide the name here
logo: osm_2x.png
# Specify the VNFDs that are part of this NSD
constituent-vnfd:
# The member-vnf-index needs to be unique, starting from 1
# vnfd-id-ref is the id of the VNFD
# Multiple constituent VNFDs can be specified
- member-vnf-index: 1
vnfd-id-ref: cirros_vnfd
scaling-group-descriptor:
- name: "scaling_cirros"
vnfd-member:
- count: 1
member-vnf-index-ref: 1
min-instance-count: 0
max-instance-count: 10
scaling-policy:
- scaling-type: "manual"
cooldown-time: 10
threshold-time: 10
name: manual_scale
vld:
# Networks for the VNFs
- id: cirros_nsd_vld1
name: cirros_nsd_vld1
type: ELAN
# vim-network-name: <update>
# provider-network:
# overlay-type: VLAN
# segmentation_id: <update>
vim-network-name: mgmt
vnfd-connection-point-ref:
# Specify the constituent VNFs
# member-vnf-index-ref - entry from constituent vnf
# vnfd-id-ref - VNFD id
# vnfd-connection-point-ref - connection point name in the VNFD
- nsd:member-vnf-index-ref: 1
nsd:vnfd-id-ref: cirros_vnfd
# NOTE: Validate the entry below
nsd:vnfd-connection-point-ref: eth0
descriptor-packages/nsd/cirros_set_vim_network_ns/src/icons/osm_2x.png

54.6 KiB

#
# Copyright 2017 Sandvine
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
DESCRIPTORS_TOPDIR ?= ../..
include $(DESCRIPTORS_TOPDIR)/mk/pkg.mk
all: $(BUILD_DIR)/$(PKG_NAME)
descriptor-packages/nsd/ubuntu_epa_virtio_ns/src/icons/tef.png

9.38 KiB

nsd:nsd-catalog:
nsd:
- id: ubuntu_epa_virtio_ns
name: ubuntu_epa_virtio_ns
short-name: ubuntu_epa_virtio_ns
description: One VNF based on Ubuntu 16.04 with EPA and virtio connected to mgmt
vendor: OSM
version: '1.0'
logo: tef.png
constituent-vnfd:
- member-vnf-index: 1
vnfd-id-ref: ubuntu_epa_virtio_vnf
vld:
- id: mgmt
name: mgmt
short-name: mgmt
type: ELAN
vnfd-connection-point-ref:
- member-vnf-index-ref: 1
vnfd-id-ref: ubuntu_epa_virtio_vnf
vnfd-connection-point-ref: eth0
#
# Copyright 2017 Sandvine
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
DESCRIPTORS_TOPDIR ?= ../..
include $(DESCRIPTORS_TOPDIR)/mk/pkg.mk
all: $(BUILD_DIR)/$(PKG_NAME)
vnfd:vnfd-catalog:
vnfd:
- id: cirros_noportsecurity_vnfd
name: cirros_noportsecurity_vnf
short-name: cirros_noportsecurity_vnf
description: Simple VNF example with a cirros
vendor: OSM
version: '1.0'
# Place the logo as png in icons directory and provide the name here
logo: cirros-64.png
# Management interface
mgmt-interface:
vdu-id: cirros_vnfd-VM
# Atleast one VDU need to be specified
vdu:
- id: cirros_vnfd-VM
name: cirros_vnfd-VM
description: cirros_vnfd-VM
count: 1
# Flavour of the VM to be instantiated for the VDU
# flavor below can fit into m1.micro
vm-flavor:
vcpu-count: 1
memory-mb: 256
storage-gb: 2
# Image/checksum or image including the full path
image: 'CirrOS 0.3.4 64-bit'
#checksum:
interface:
# Specify the external interfaces
# There can be multiple interfaces defined
- name: eth0
virtual-interface:
type: OM-MGMT
bandwidth: '0'
vpci: 0000:00:0a.0
external-connection-point-ref: eth0
connection-point:
- name: eth0
type: VPORT
port-security-enabled: "false"
descriptor-packages/vnfd/cirros_noportsecurity_vnf/src/icons/cirros-64.png

4.04 KiB

#
# Copyright 2017 Sandvine
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
DESCRIPTORS_TOPDIR ?= ../..
include $(DESCRIPTORS_TOPDIR)/mk/pkg.mk
all: $(BUILD_DIR)/$(PKG_NAME)
descriptor-packages/vnfd/ubuntu_epa_virtio_vnf/src/icons/ubuntu-logo14.png

10.3 KiB

vnfd:vnfd-catalog:
vnfd:
- id: ubuntu_epa_virtio_vnf
name: ubuntu_epa_virtio_vnf
short-name: ubuntu_epa_virtio
description: VNF based on Ubuntu 16.04 LTS with EPA, 1 virtio interface and user osm
vendor: OSM
version: '1.0'
# Place the logo as png in icons directory and provide the name here
logo: ubuntu-logo14.png
# Management interface
mgmt-interface:
vdu-id: ubuntu_epa_virtio_vnf-VM
# Atleast one VDU need to be specified
vdu:
- id: ubuntu_epa_virtio_vnf-VM
name: ubuntu_epa_virtio_vnf-VM
description: ubuntu_epa_virtio_vnf-VM
count: 1
# Flavour of the VM to be instantiated for the VDU
vm-flavor:
memory-mb: 2048
storage-gb: 10
# Image including the full path
image: 'ubuntu1604'
interface:
# Specify the external interfaces
# There can be multiple interfaces defined
- name: eth0
virtual-interface:
type: OM-MGMT
bandwidth: '0'
vpci: 0000:00:0a.0
external-connection-point-ref: eth0
host-epa:
om-cpu-model-string: "Intel(R) Xeon(R) CPU E5-4620 0 @ 2.20GHz"
om-cpu-feature:
- feature: "64b"
- feature: "iommu"
- feature: "lps"
- feature: "tlbps"
- feature: "hwsv"
- feature: "dioc"
- feature: "ht"
guest-epa:
numa-node-policy:
node:
- id: 0
paired-threads:
num-paired-threads: 1
mem-policy: "STRICT"
node-cnt: 1
mempage-size: "LARGE"
cpu-pinning-policy: "DEDICATED"
cpu-thread-pinning-policy: "PREFER"
hypervisor-epa:
version: "10002|12001|2.6.32-358.el6.x86_64"
type: "REQUIRE_KVM"
connection-point:
- name: eth0
type: VPORT
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment