Skip to content
Snippets Groups Projects
Commit 9006d79b authored by garciadeblas's avatar garciadeblas
Browse files

VNF and NS to test feature 8157 - metrics via snmp exporter


Signed-off-by: default avatargarciadeblas <gerardo.garciadeblas@telefonica.com>
parent ccfeecd5
No related branches found
No related tags found
1 merge request!34VNF and NS to test feature 8157 - metrics via snmp exporter
simple_ee_ns/icons/osm.png

54.6 KiB

nsd:nsd-catalog:
nsd:
- id: simple_ee-ns
name: simple_ee-ns
short-name: simple_ee-ns
description: NS with 2 VNFs with cloudinit connected by datanet and mgmtnet VLs
version: 1.0
logo: osm.png
constituent-vnfd:
- vnfd-id-ref: simple_ee-vnf
member-vnf-index: simple
vld:
- id: mgmtnet
name: mgmtnet
short-name: mgmtnet
type: ELAN
mgmt-network: true
vim-network-name: osm-ext
vnfd-connection-point-ref:
- vnfd-id-ref: simple_ee-vnf
member-vnf-index-ref: simple
vnfd-connection-point-ref: vnf-mgmt
#cloud-config
password: osm4u
chpasswd: { expire: False }
ssh_pwauth: True
write_files:
- content: |
# My new helloworld file
owner: root:root
permissions: '0644'
path: /root/helloworld.txt
File added
simple_ee_vnf/icons/osm.png

54.6 KiB

vnfd:vnfd-catalog:
vnfd:
- id: simple_ee-vnf
name: simple_ee-vnf
short-name: simple_ee-vnf
version: "1.0"
description: A VNF consisting of 1 VDU with cloud-init, and a monitoring ee
logo: osm.png
connection-point:
- id: vnf-mgmt
name: vnf-mgmt
short-name: vnf-mgmt
type: VPORT
mgmt-interface:
cp: vnf-mgmt
vdu:
- id: mgmtVM
name: mgmtVM
image: ubuntu16.04
count: 1
vm-flavor:
vcpu-count: 1
memory-mb: 1024
storage-gb: 20
guest-epa:
cpu-pinning-policy: DEDICATED
cpu-thread-pinning-policy: PREFER
mempage-size: LARGE
numa-node-policy:
mem-policy: STRICT
node-cnt: '1'
node:
- id: '1'
interface:
- name: mgmtVM-eth0
position: 1
type: EXTERNAL
virtual-interface:
type: PARAVIRT
external-connection-point-ref: vnf-mgmt
cloud-init-file: cloud-config.txt
vnf-configuration:
config-access:
ssh-access:
default-user: ubuntu
required: true
#juju:
# charm: simple-proxy
execution-environment-list:
- id: monitor
helm-chart: eechart-0.1.0.tgz
metric-service: monitor-snmp-exporter
connection-point-ref: vnf-monitor-cp
initial-config-primitive:
- seq: "1"
name: config
execution-environment-ref: monitor
parameter:
- name: ssh-hostname
value: <rw_mgmt_ip>
- name: ssh-username
value: ubuntu
- name: ssh-password
value: osm4u
- seq: "2"
name: touch
execution-environment-ref: monitor
parameter:
- name: file-path
value: "/home/ubuntu/first-touch"
config-primitive:
- name: touch
execution-environment-ref: monitor
execution-environment-primitive: touch
parameter:
- name: file-path
default-value: "/home/ubuntu/touched"
data-type: STRING
- name: sleep
execution-environment-ref: monitor
execution-environment-primitive: sleep
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