Skip to content
Snippets Groups Projects
Commit 61ee8eb5 authored by Mark Beierl's avatar Mark Beierl
Browse files

Merge branch 'sol006' into 'master'

Sol006 merge

See merge request !106
parents 17583c8b 02ef75b6
No related branches found
No related tags found
1 merge request!106Sol006 merge
Pipeline #142 passed with stage
in 1 minute and 56 seconds
Showing
with 1162 additions and 1065 deletions
vnfd-catalog:
vnfd:
- id: hackfest-simple-k8s-vnf
name: hackfest-simple-k8s-vnf
connection-point:
- name: mgmtnet
mgmt-interface:
cp: mgmt
kdu:
- name: mykdu
juju-bundle: cs:~dominik.f/bundle/hf-k8s-bundle-0
k8s-cluster:
nets:
- id: mgmtnet
external-connection-point-ref: mgmt
vnfd:
df:
- id: default-df
kdu-profile:
- kdu-model-id: mykdu-model
name: mykdu
ext-cpd:
- id: mgmt-ext
k8s-cluster-net: mgmtnet
id: hackfest-simple-k8s-vnf
k8s-cluster:
nets:
- id: mgmtnet
kdu:
- name: mykdu
kdu-model:
- id: mykdu-model
kdu-model-locator: cs:~dominik.f/bundle/hf-k8s-bundle-0
kdu-model-type: juju-bundle
mgmt-cp: mgmt-ext
product-name: hackfest-simple-k8s-vnf
nsd-catalog:
nsd:
- id: hackfest_vyos-ns
name: hackfest_vyos-ns
short-name: hackfest_vyos-ns
description: Simple NS with a single VyOS Router VNF
version: '1.0'
logo: osm.png
constituent-vnfd:
- vnfd-id-ref: hackfest_vyos-vnf
member-vnf-index: '1'
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: hackfest_vyos-vnf
member-vnf-index-ref: '1'
vnfd-connection-point-ref: vnf-mgmt
ip-address: 172.21.250.200
- id: internal
name: internal
short-name: internal
type: ELAN
mgmt-network: true
vnfd-connection-point-ref:
- vnfd-id-ref: hackfest_vyos-vnf
member-vnf-index-ref: '1'
vnfd-connection-point-ref: vnf-internal
- id: external
name: external
short-name: external
type: ELAN
mgmt-network: true
vnfd-connection-point-ref:
- vnfd-id-ref: hackfest_vyos-vnf
member-vnf-index-ref: '1'
vnfd-connection-point-ref: vnf-external
nsd:
nsd:
- description: Simple NS with a single VyOS Router VNF
df:
- id: default-df
vnf-profile:
- id: '1'
virtual-link-connectivity:
- constituent-cpd-id:
- constituent-base-element-id: '1'
constituent-cpd-id: vnf-mgmt-ext
ip-address: 172.21.250.200
virtual-link-profile-id: mgmtnet
- constituent-cpd-id:
- constituent-base-element-id: '1'
constituent-cpd-id: vnf-internal-ext
virtual-link-profile-id: internal
- constituent-cpd-id:
- constituent-base-element-id: '1'
constituent-cpd-id: vnf-external-ext
virtual-link-profile-id: external
vnfd-id: hackfest_vyos-vnf
id: hackfest_vyos-ns
name: hackfest_vyos-ns
version: '1.0'
virtual-link-desc:
- id: mgmtnet
mgmt-network: true
- id: internal
mgmt-network: true
- id: external
mgmt-network: true
vnfd-id:
- hackfest_vyos-vnf
vnfd-catalog:
vnfd:
- id: hackfest_vyos-vnf
name: hackfest_vyos-vnf
short-name: hackfest_vyos-vnf
version: '1.0'
description: A basic virtual router
connection-point:
- name: vnf-mgmt
type: VPORT
- name: vnf-internal
type: VPORT
port-security-enabled: false
- name: vnf-external
type: VPORT
port-security-enabled: false
vdu:
- id: vyos-VM
name: vyos-VM
cloud-init-file: vyos-userdata
image: vyos-1.1.7
count: 1
vm-flavor:
vcpu-count: 1
memory-mb: 2048
storage-gb: 10
interface:
- name: vdu-eth0
type: EXTERNAL
position: 0
virtual-interface:
type: PARAVIRT
external-connection-point-ref: vnf-mgmt
- name: vdu-eth1
type: EXTERNAL
position: 1
virtual-interface:
type: PARAVIRT
external-connection-point-ref: vnf-internal
- name: vdu-eth2
type: EXTERNAL
position: 2
virtual-interface:
type: PARAVIRT
external-connection-point-ref: vnf-external
supplemental-boot-data:
boot-data-drive: true
mgmt-interface:
cp: vnf-mgmt
vnfd:
description: A basic virtual router
df:
- id: default-df
instantiation-level:
- id: default-instantiation-level
vdu-level:
- number-of-instances: 1
vdu-id: vyos-VM
vdu-profile:
- id: vyos-VM
min-number-of-instances: 1
ext-cpd:
- id: vnf-mgmt-ext
int-cpd:
cpd: vdu-eth0-int
vdu-id: vyos-VM
- id: vnf-internal-ext
int-cpd:
cpd: vdu-eth1-int
vdu-id: vyos-VM
- id: vnf-external-ext
int-cpd:
cpd: vdu-eth2-int
vdu-id: vyos-VM
id: hackfest_vyos-vnf
mgmt-cp: vnf-mgmt-ext
product-name: hackfest_vyos-vnf
sw-image-desc:
- id: vyos-1.1.7
image: vyos-1.1.7
name: vyos-1.1.7
vdu:
- cloud-init-file: vyos-userdata
id: vyos-VM
int-cpd:
- id: vdu-eth0-int
virtual-network-interface-requirement:
- name: vdu-eth0
position: 0
virtual-interface:
type: PARAVIRT
- id: vdu-eth1-int
virtual-network-interface-requirement:
- name: vdu-eth1
position: 1
virtual-interface:
type: PARAVIRT
- id: vdu-eth2-int
virtual-network-interface-requirement:
- name: vdu-eth2
position: 2
virtual-interface:
type: PARAVIRT
name: vyos-VM
supplemental-boot-data:
boot-data-drive: true
sw-image-desc: vyos-1.1.7
virtual-compute-desc: vyos-VM-compute
virtual-storage-desc:
- vyos-VM-storage
version: '1.0'
virtual-compute-desc:
- id: vyos-VM-compute
virtual-cpu:
num-virtual-cpu: 1
virtual-memory:
size: 2.0
virtual-storage-desc:
- id: vyos-VM-storage
size-of-storage: 10
nsd-catalog:
nsd:
- id: k8s_juju
name: k8s_juju
short-name: k8s_juju
description: NS consisting of a 4 k8s_jujumachine VNFs and 1 k8s_jujucontroller VNF connected to mgmt network
vendor: OSM
version: '1.0'
logo: osm.png
constituent-vnfd:
- member-vnf-index: k8s_vnf1
vnfd-id-ref: k8s_jujumachine_vnf
- member-vnf-index: k8s_vnf2
vnfd-id-ref: k8s_jujumachine_vnf
- member-vnf-index: k8s_vnf3
vnfd-id-ref: k8s_jujumachine_vnf
- member-vnf-index: k8s_vnf4
vnfd-id-ref: k8s_jujumachine_vnf
- member-vnf-index: k8s_juju
vnfd-id-ref: k8s_jujucontroller_vnf
vld:
- id: mgmtnet
name: mgmtnet
type: ELAN
mgmt-network: 'true'
vim-network-name: mgmt
vnfd-connection-point-ref:
- member-vnf-index-ref: k8s_vnf1
vnfd-id-ref: k8s_jujumachine_vnf
vnfd-connection-point-ref: mgmt
- member-vnf-index-ref: k8s_vnf2
vnfd-id-ref: k8s_jujumachine_vnf
vnfd-connection-point-ref: mgmt
- member-vnf-index-ref: k8s_vnf3
vnfd-id-ref: k8s_jujumachine_vnf
vnfd-connection-point-ref: mgmt
- member-vnf-index-ref: k8s_vnf4
vnfd-id-ref: k8s_jujumachine_vnf
vnfd-connection-point-ref: mgmt
- member-vnf-index-ref: k8s_juju
vnfd-id-ref: k8s_jujucontroller_vnf
vnfd-connection-point-ref: mgmt
nsd:
nsd:
- description: NS consisting of a 4 k8s_jujumachine VNFs and 1 k8s_jujucontroller
VNF connected to mgmt network
designer: OSM
df:
- id: default-df
vnf-profile:
- id: k8s_vnf1
virtual-link-connectivity:
- constituent-cpd-id:
- constituent-base-element-id: k8s_vnf1
constituent-cpd-id: mgmt-ext
virtual-link-profile-id: mgmtnet
vnfd-id: k8s_jujumachine_vnf
- id: k8s_vnf2
virtual-link-connectivity:
- constituent-cpd-id:
- constituent-base-element-id: k8s_vnf2
constituent-cpd-id: mgmt-ext
virtual-link-profile-id: mgmtnet
vnfd-id: k8s_jujumachine_vnf
- id: k8s_vnf3
virtual-link-connectivity:
- constituent-cpd-id:
- constituent-base-element-id: k8s_vnf3
constituent-cpd-id: mgmt-ext
virtual-link-profile-id: mgmtnet
vnfd-id: k8s_jujumachine_vnf
- id: k8s_vnf4
virtual-link-connectivity:
- constituent-cpd-id:
- constituent-base-element-id: k8s_vnf4
constituent-cpd-id: mgmt-ext
virtual-link-profile-id: mgmtnet
vnfd-id: k8s_jujumachine_vnf
- id: k8s_juju
virtual-link-connectivity:
- constituent-cpd-id:
- constituent-base-element-id: k8s_juju
constituent-cpd-id: mgmt-ext
virtual-link-profile-id: mgmtnet
vnfd-id: k8s_jujucontroller_vnf
id: k8s_juju
name: k8s_juju
version: '1.0'
virtual-link-desc:
- id: mgmtnet
mgmt-network: 'true'
vnfd-id:
- k8s_jujumachine_vnf
- k8s_jujucontroller_vnf
vnfd-catalog:
vnfd:
- id: k8s_jujucontroller_vnf
name: k8s_jujucontroller_vnf
short-name: k8s_jujucontroller_vnf
version: 1.0
description: A VNF consisting of 1 VDU for juju to deploy K8s cluster
logo: osm.png
connection-point:
- id: mgmt
name: mgmt
short-name: mgmt
mgmt-interface:
cp: mgmt
vdu:
- id: k8svm
name: k8svm
image: ubuntu18.04
count: 1
vm-flavor:
vcpu-count: 2
memory-mb: 4096
storage-gb: 80
interface:
- name: eth0
position: 1
type: EXTERNAL
virtual-interface:
type: PARAVIRT
external-connection-point-ref: mgmt
cloud-init-file: cloud-config.txt
vnf-configuration:
config-access:
ssh-access:
required: True
default-user: ubuntu
juju:
charm: tid-jujuk8s
initial-config-primitive:
- seq: '1'
name: config
parameter:
- name: ssh-hostname
value: <rw_mgmt_ip>
- name: ssh-username
value: ubuntu
- seq: '2'
name: setup-juju
- seq: '3'
name: add-machines
parameter:
- name: machine1
value: <MACHINE1>
- name: machine2
value: <MACHINE2>
- name: machine3
value: <MACHINE3>
- name: machine4
value: <MACHINE4>
- name: machine5
value: <MACHINE5>
- name: machine6
value: <MACHINE6>
- name: machine7
value: <MACHINE7>
- name: machine8
value: <MACHINE8>
- name: machine9
value: <MACHINE9>
- name: machine10
value: <MACHINE10>
- seq: '4'
name: deploy-bundle
parameter:
- name: bundle
value: <BUNDLE>
- seq: '5'
name: post-deploy
- seq: '6'
name: install-openebs-kubectl
# - seq: '7'
# name: init-helm
config-primitive:
- name: setup-juju
- name: deploy-bundle
parameter:
- name: bundle
data-type: STRING
- name: undeploy-bundle
- name: remove-machines
- name: init-helm
- name: install-openebs-chart
- name: install-openebs-kubectl
- name: post-deploy
- name: add-machine
parameter:
- name: machine
data-type: STRING
- name: add-machines
parameter:
- name: machine1
data-type: STRING
- name: machine2
data-type: STRING
- name: machine3
data-type: STRING
- name: machine4
data-type: STRING
- name: machine5
data-type: STRING
- name: machine6
data-type: STRING
- name: machine7
data-type: STRING
- name: machine8
data-type: STRING
- name: machine9
data-type: STRING
- name: machine10
data-type: STRING
- name: remove-machines
parameter:
- name: force
data-type: STRING
- name: add-repo
parameter:
- name: name
data-type: STRING
- name: url
data-type: STRING
- name: remove-repo
parameter:
- name: name
data-type: STRING
- name: install-chart
parameter:
- name: chart
data-type: STRING
- name: name
data-type: STRING
- name: namespace
data-type: STRING
- name: atomic
data-type: STRING
- name: values
data-type: STRING
- name: valuesFile
data-type: STRING
- name: upgrade-release
parameter:
- name: chart
data-type: STRING
- name: name
data-type: STRING
- name: namespace
data-type: STRING
- name: atomic
data-type: STRING
- name: values
data-type: STRING
- name: valuesFile
data-type: STRING
- name: rollback-release
parameter:
- name: name
data-type: STRING
- name: revision
data-type: STRING
- name: delete-release
parameter:
- name: name
data-type: STRING
vnfd:
description: A VNF consisting of 1 VDU for juju to deploy K8s cluster
df:
- id: default-df
instantiation-level:
- id: default-instantiation-level
vdu-level:
- number-of-instances: 1
vdu-id: k8svm
vdu-profile:
- id: k8svm
min-number-of-instances: 1
vnf-configuration-id: default-vnf-configuration
ext-cpd:
- id: mgmt-ext
int-cpd:
cpd: eth0-int
vdu-id: k8svm
id: k8s_jujucontroller_vnf
mgmt-cp: mgmt-ext
product-name: k8s_jujucontroller_vnf
sw-image-desc:
- id: ubuntu18.04
image: ubuntu18.04
name: ubuntu18.04
vdu:
- cloud-init-file: cloud-config.txt
id: k8svm
int-cpd:
- id: eth0-int
virtual-network-interface-requirement:
- name: eth0
position: 1
virtual-interface:
type: PARAVIRT
name: k8svm
sw-image-desc: ubuntu18.04
virtual-compute-desc: k8svm-compute
virtual-storage-desc:
- k8svm-storage
version: 1.0
virtual-compute-desc:
- id: k8svm-compute
virtual-cpu:
num-virtual-cpu: 2
virtual-memory:
size: 4.0
virtual-storage-desc:
- id: k8svm-storage
size-of-storage: 80
vnf-configuration:
- config-access:
ssh-access:
default-user: ubuntu
required: true
config-primitive:
- name: setup-juju
- name: deploy-bundle
parameter:
- data-type: STRING
name: bundle
- name: undeploy-bundle
- name: remove-machines
- name: init-helm
- name: install-openebs-chart
- name: install-openebs-kubectl
- name: post-deploy
- name: add-machine
parameter:
- data-type: STRING
name: machine
- name: add-machines
parameter:
- data-type: STRING
name: machine1
- data-type: STRING
name: machine2
- data-type: STRING
name: machine3
- data-type: STRING
name: machine4
- data-type: STRING
name: machine5
- data-type: STRING
name: machine6
- data-type: STRING
name: machine7
- data-type: STRING
name: machine8
- data-type: STRING
name: machine9
- data-type: STRING
name: machine10
- name: remove-machines
parameter:
- data-type: STRING
name: force
- name: add-repo
parameter:
- data-type: STRING
name: name
- data-type: STRING
name: url
- name: remove-repo
parameter:
- data-type: STRING
name: name
- name: install-chart
parameter:
- data-type: STRING
name: chart
- data-type: STRING
name: name
- data-type: STRING
name: namespace
- data-type: STRING
name: atomic
- data-type: STRING
name: values
- data-type: STRING
name: valuesFile
- name: upgrade-release
parameter:
- data-type: STRING
name: chart
- data-type: STRING
name: name
- data-type: STRING
name: namespace
- data-type: STRING
name: atomic
- data-type: STRING
name: values
- data-type: STRING
name: valuesFile
- name: rollback-release
parameter:
- data-type: STRING
name: name
- data-type: STRING
name: revision
- name: delete-release
parameter:
- data-type: STRING
name: name
id: default-vnf-configuration
initial-config-primitive:
- name: config
parameter:
- name: ssh-hostname
value: <rw_mgmt_ip>
- name: ssh-username
value: ubuntu
seq: '1'
- name: setup-juju
seq: '2'
- name: add-machines
parameter:
- name: machine1
value: <MACHINE1>
- name: machine2
value: <MACHINE2>
- name: machine3
value: <MACHINE3>
- name: machine4
value: <MACHINE4>
- name: machine5
value: <MACHINE5>
- name: machine6
value: <MACHINE6>
- name: machine7
value: <MACHINE7>
- name: machine8
value: <MACHINE8>
- name: machine9
value: <MACHINE9>
- name: machine10
value: <MACHINE10>
seq: '3'
- name: deploy-bundle
parameter:
- name: bundle
value: <BUNDLE>
seq: '4'
- name: post-deploy
seq: '5'
- name: install-openebs-kubectl
seq: '6'
juju:
charm: tid-jujuk8s
vnfd-catalog:
vnfd:
- id: k8s_jujumachine_vnf
name: k8s_jujumachine_vnf
short-name: k8s_jujumachine_vnf
version: 1.0
description: A VNF consisting of 1 VDUs to be configured as a K8s worker or master
logo: osm.png
connection-point:
- id: mgmt
name: mgmt
short-name: mgmt
mgmt-interface:
cp: mgmt
vdu:
- id: k8svm
name: k8svm
image: ubuntu18.04
count: 1
vm-flavor:
vcpu-count: 8
memory-mb: 16384
storage-gb: 80
interface:
- name: eth0
position: 1
type: EXTERNAL
virtual-interface:
type: PARAVIRT
external-connection-point-ref: mgmt
cloud-init-file: cloud-config.txt
vnfd:
description: A VNF consisting of 1 VDUs to be configured as a K8s worker or master
df:
- id: default-df
instantiation-level:
- id: default-instantiation-level
vdu-level:
- number-of-instances: 1
vdu-id: k8svm
vdu-profile:
- id: k8svm
min-number-of-instances: 1
ext-cpd:
- id: mgmt-ext
int-cpd:
cpd: eth0-int
vdu-id: k8svm
id: k8s_jujumachine_vnf
mgmt-cp: mgmt-ext
product-name: k8s_jujumachine_vnf
sw-image-desc:
- id: ubuntu18.04
image: ubuntu18.04
name: ubuntu18.04
vdu:
- cloud-init-file: cloud-config.txt
id: k8svm
int-cpd:
- id: eth0-int
virtual-network-interface-requirement:
- name: eth0
position: 1
virtual-interface:
type: PARAVIRT
name: k8svm
sw-image-desc: ubuntu18.04
virtual-compute-desc: k8svm-compute
virtual-storage-desc:
- k8svm-storage
version: 1.0
virtual-compute-desc:
- id: k8svm-compute
virtual-cpu:
num-virtual-cpu: 8
virtual-memory:
size: 16.0
virtual-storage-desc:
- id: k8svm-storage
size-of-storage: 80
vnfd-catalog:
schema-version: '3.0'
vnfd:
- id: fb_magma_knf
name: fb_magma_knf
short-name: fb_magma_knf
description: KNF with KDU using a helm-chart for Facebook magma orc8r
vendor: ATOS
version: '1.0'
mgmt-interface:
cp: mgmt
connection-point:
- name: mgmt
k8s-cluster:
nets:
- id: mgmtnet
external-connection-point-ref: mgmt
kdu:
- name: orc8r
helm-chart: magma/orc8r
\ No newline at end of file
vnfd:
description: KNF with KDU using a helm-chart for Facebook magma orc8r
df:
- id: default-df
kdu-profile:
- kdu-model-id: orc8r-model
name: orc8r
ext-cpd:
- id: mgmt-ext
k8s-cluster-net: mgmtnet
id: fb_magma_knf
k8s-cluster:
nets:
- id: mgmtnet
kdu:
- name: orc8r
kdu-model:
- id: orc8r-model
kdu-model-locator: magma/orc8r
kdu-model-type: helm-chart
mgmt-cp: mgmt-ext
product-name: fb_magma_knf
provider: ATOS
version: '1.0'
nsd-catalog:
nsd:
- id: fb_magma_ns
name: fb_magma_ns
short-name: fb_magma_ns
description: NS consisting of a KNF fb_magma_knf connected to mgmt network
vendor: ATOS
version: '1.0'
constituent-vnfd:
- member-vnf-index: orc8r
vnfd-id-ref: fb_magma_knf
connection-point:
- name: nsd_cp_mgmt
vld-id-ref: mgmtnet
vld:
- id: mgmtnet
name: mgmtnet
type: ELAN
mgmt-network: true
vnfd-connection-point-ref:
- member-vnf-index-ref: orc8r
vnfd-id-ref: fb_magma_knf
vnfd-connection-point-ref: mgmt
nsd:
nsd:
- description: NS consisting of a KNF fb_magma_knf connected to mgmt network
designer: ATOS
df:
- id: default-df
vnf-profile:
- id: orc8r
virtual-link-connectivity:
- constituent-cpd-id:
- constituent-base-element-id: orc8r
constituent-cpd-id: mgmt-ext
virtual-link-profile-id: mgmtnet
vnfd-id: fb_magma_knf
id: fb_magma_ns
name: fb_magma_ns
version: '1.0'
virtual-link-desc:
- id: mgmtnet
mgmt-network: true
vnfd-id:
- fb_magma_knf
vnfd-catalog:
vnfd:
- connection-point:
- name: gateway_public
type: VPORT
description: Gateway PNF
id: hackfest_gateway_vnfd
mgmt-interface:
cp: gateway_public
name: hackfest_gateway_vnfd
short-name: hackfest_gateway_vnfd
vdu:
- description: gateway_pdu
id: gateway_pdu
interface:
- external-connection-point-ref: gateway_public
name: eth0
type: EXTERNAL
pdu-type: gateway
vnf-configuration:
initial-config-primitive:
- name: config
parameter:
- name: ssh-username
value: osm
- name: ssh-password
value: osm2020
- name: ssh-hostname
value: <rw_mgmt_ip>
seq: 1
config-primitive:
- name: configure-remote
parameter:
- name: magmaIP
data-type: STRING
default-value: '0.0.0.0'
juju:
charm: vyos-config
version: '1.0'
vnfd:
description: Gateway PNF
df:
- id: default-df
instantiation-level:
- id: default-instantiation-level
vdu-level:
- number-of-instances: 1
vdu-id: gateway_pdu
vdu-profile:
- id: gateway_pdu
min-number-of-instances: 1
vnf-configuration-id: default-vnf-configuration
ext-cpd:
- id: gateway_public-ext
int-cpd:
cpd: eth0-int
vdu-id: gateway_pdu
id: hackfest_gateway_vnfd
mgmt-cp: gateway_public-ext
product-name: hackfest_gateway_vnfd
vdu:
- description: gateway_pdu
id: gateway_pdu
int-cpd:
- id: eth0-int
virtual-network-interface-requirement:
- name: eth0
pdu-type: gateway
version: '1.0'
vnf-configuration:
- config-primitive:
- name: configure-remote
parameter:
- data-type: STRING
default-value: 0.0.0.0
name: magmaIP
id: default-vnf-configuration
config-access:
ssh-access:
default-user: osm
required: true
initial-config-primitive:
- name: config
parameter:
- name: ssh-username
value: osm
- name: ssh-password
value: osm2020
- name: ssh-hostname
value: <rw_mgmt_ip>
seq: 1
juju:
charm: vyos-config
nsd-catalog:
nsd:
- id: hackfest_magma-agw-enb_nsd
name: hackfest_magma-agw-enb_nsd
short-name: hackfest_magma-agw-enb_nsd
description: Magma AGW 1.0.0 with tools & srsLTE connected to PNF Gateway
vendor: Whitestack
version: '1.0'
constituent-vnfd:
- member-vnf-index: 'MagmaAGWsrsLTE'
vnfd-id-ref: hackfest_magma-agw-enb_vnfd
- member-vnf-index: 'VYOS-PNF'
vnfd-id-ref: hackfest_gateway_vnfd
connection-point:
- name: nsd_cp_mgmt
vld-id-ref: mgmt
- name: nsd_cp_sgi
vld-id-ref: sgi
vld:
- id: mgmt
name: mgmt
short-name: mgmt
type: ELAN
mgmt-network: true
vnfd-connection-point-ref:
- member-vnf-index-ref: 'MagmaAGWsrsLTE'
vnfd-id-ref: hackfest_magma-agw-enb_vnfd
vnfd-connection-point-ref: agw-mgmt
- member-vnf-index-ref: 'MagmaAGWsrsLTE'
vnfd-id-ref: hackfest_magma-agw-enb_vnfd
vnfd-connection-point-ref: srsLTE-mgmt
- member-vnf-index-ref: 'VYOS-PNF'
vnfd-id-ref: hackfest_gateway_vnfd
vnfd-connection-point-ref: gateway_public
- id: sgi
name: sgi
short-name: sgi
type: ELAN
mgmt-network: false
vim-network-name: sgi
vnfd-connection-point-ref:
- member-vnf-index-ref: 'MagmaAGWsrsLTE'
vnfd-id-ref: hackfest_magma-agw-enb_vnfd
vnfd-connection-point-ref: agw-sgi
- member-vnf-index-ref: 'VYOS-PNF'
vnfd-id-ref: hackfest_gateway_vnfd
vnfd-connection-point-ref: gateway_public
nsd:
nsd:
- description: Magma AGW 1.0.0 with tools & srsLTE connected to PNF Gateway
designer: Whitestack
df:
- id: default-df
vnf-profile:
- id: MagmaAGWsrsLTE
virtual-link-connectivity:
- constituent-cpd-id:
- constituent-base-element-id: MagmaAGWsrsLTE
constituent-cpd-id: agw-mgmt-ext
- constituent-base-element-id: MagmaAGWsrsLTE
constituent-cpd-id: srsLTE-mgmt-ext
virtual-link-profile-id: mgmt
- constituent-cpd-id:
- constituent-base-element-id: MagmaAGWsrsLTE
constituent-cpd-id: agw-sgi-ext
virtual-link-profile-id: sgi
vnfd-id: hackfest_magma-agw-enb_vnfd
- id: VYOS-PNF
virtual-link-connectivity:
- constituent-cpd-id:
- constituent-base-element-id: VYOS-PNF
constituent-cpd-id: gateway_public-ext
virtual-link-profile-id: mgmt
- constituent-cpd-id:
- constituent-base-element-id: VYOS-PNF
constituent-cpd-id: gateway_public-ext
virtual-link-profile-id: sgi
vnfd-id: hackfest_gateway_vnfd
id: hackfest_magma-agw-enb_nsd
name: hackfest_magma-agw-enb_nsd
version: '1.0'
virtual-link-desc:
- id: mgmt
mgmt-network: true
- id: sgi
vim-network-name: sgi
vnfd-id:
- hackfest_magma-agw-enb_vnfd
- hackfest_gateway_vnfd
vnfd-catalog:
vnfd:
- id: hackfest_magma-agw-enb_vnfd
name: hackfest_magma-agw-enb_vnfd
short-name: hackfest_magma-agw-enb_vnfd
description: Magma AGW v1.0.0 with tools & srsLTE VDU
vendor: Whitestack
version: "1.0"
mgmt-interface:
cp: agw-mgmt
vdu:
- id: magma-agw-vdu
name: magma-agw-vdu
description: magma-agw-vdu
count: 1
cloud-init-file: magmaagw_init
vm-flavor:
vcpu-count: 1
memory-mb: 4096
storage-gb: 50
image: "magma101_hfmr9"
interface:
- name: eth0
type: INTERNAL
position: 1
virtual-interface:
#type: SR-IOV
type: PARAVIRT
internal-connection-point-ref: agw-s1
- name: eth1
type: EXTERNAL
position: 2
virtual-interface:
type: PARAVIRT
external-connection-point-ref: agw-sgi
- name: eth2
type: EXTERNAL
position: 3
virtual-interface:
type: PARAVIRT
external-connection-point-ref: agw-mgmt
internal-connection-point:
- id: agw-s1
name: agw-s1
short-name: agw-s1
port-security-enabled: false
vdu-configuration:
juju:
charm: magmagw
config-access:
ssh-access:
required: true
initial-config-primitive:
- seq: 1
name: config
parameter:
- name: ssh-hostname
value: <rw_mgmt_ip>
- name: ssh-username
value: magma
- name: ssh-password
value: magma
- seq: 2
name: reset-id
- seq: 3
name: add-net
parameter:
- name: orch_ip
value: <orch_ip>
- name: orch_net
value: <orch_net>
- seq: 4
name: add-gw
parameter:
- name: agw_id
value: <agw_id>
- name: agw_name
value: <agw_name>
- name: orch_ip
value: <orch_ip>
- name: orch_net
value: <orch_net>
- seq: 5
name: add-test-subscriber
parameter:
- name: orch_ip
value: <orch_ip>
- name: orch_net
value: <orch_net>
- seq: 6
name: add-hosts
parameter:
- name: orch_ip
value: <orch_ip>
- seq: 7
name: restart-magma
config-primitive:
- name: add-gw
parameter:
- name: agw_id
default-value: <agw_id>
- name: agw_name
default-value: <agw_name>
- name: orch_ip
default-value: <orch_ip>
- name: orch_net
default-value: <orch_net>
- name: del-gw
parameter:
- name: agw_id
default-value: <agw_id>
- name: orch_ip
default-value: <orch_ip>
- name: orch_net
default-value: <orch_net>
- name: reset-id
- name: restart-magma
monitoring-param:
- id: agw_cpu_util
nfvi-metric: cpu_utilization
- id: agw_memory_util
nfvi-metric: average_memory_utilization
- id: agw_packets_received
nfvi-metric: packets_received
- id: agw_packets_sent
nfvi-metric: packets_sent
alarm:
- actions:
alarm:
- url: https://webhook.site/4beb0430-7497-4112-a742-434e50e8081a
alarm-id: cpu-above-threshold
operation: GT
value: 80
vnf-monitoring-param-ref: agw_cpu_util
- id: srsLTE-vdu
name: srsLTE-vdu
description: srsLTE-vdu
count: 1
cloud-init-file: srslte_init
vm-flavor:
vcpu-count: 4
memory-mb: 6144
storage-gb: 8
image: "ubuntu20.04"
interface:
- name: eth0
type: EXTERNAL
virtual-interface:
type: PARAVIRT
external-connection-point-ref: srsLTE-mgmt
mgmt-interface: true
- name: eth1
type: INTERNAL
virtual-interface:
#type: SR-IOV
type: PARAVIRT
internal-connection-point-ref: srsLTE-s1
internal-connection-point:
- id: srsLTE-s1
name: srsLTE-s1
short-name: srsLTE-s1
vdu-configuration:
juju:
charm: srs-enb-ue
proxy: False
config-access:
ssh-access:
required: True
default-user: ubuntu
initial-config-primitive:
- seq: 1
name: config
parameter:
- name: bind-address-subnet
value: 192.168.100.0/24
config-primitive:
- name: attach-ue
parameter:
- name: usim-imsi
data-type: STRING
- name: usim-k
data-type: STRING
- name: usim-opc
data-type: STRING
- name: detach-ue
internal-vld:
- id: internalS1
name: internalS1
short-name: internalS1
type: ELAN
ip-profile-ref: internalS1
internal-connection-point:
- id-ref: agw-s1
ip-address: 192.168.100.254
- id-ref: srsLTE-s1
ip-address: 192.168.100.10
ip-profiles:
- name: internalS1
vnfd:
description: Magma AGW v1.0.0 with tools & srsLTE VDU
df:
- id: default-df
instantiation-level:
- id: default-instantiation-level
vdu-level:
- number-of-instances: 1
vdu-id: magma-agw-vdu
- number-of-instances: 1
vdu-id: srsLTE-vdu
scaling-aspect:
- aspect-delta-details:
deltas:
- id: vdu_autoscale-delta
vdu-delta:
- id: magma-agw-vdu
number-of-instances: 1
id: vdu_autoscale
max-scale-level: 1
name: vdu_autoscale
scaling-policy:
- cooldown-time: 120
name: cpu_util_above_threshold
scaling-criteria:
- name: cpu_util_above_threshold
scale-in-relational-operation: LT
scale-in-threshold: 10
scale-out-relational-operation: GT
scale-out-threshold: 60
vnf-monitoring-param-ref: agw_cpu_util
scaling-type: automatic
threshold-time: 10
vdu-profile:
- id: magma-agw-vdu
max-number-of-instances: 1
min-number-of-instances: 1
vdu-configuration-id: magma-agw-vdu-vdu-configuration
- id: srsLTE-vdu
min-number-of-instances: 1
vdu-configuration-id: srsLTE-vdu-vdu-configuration
virtual-link-profile:
- flavour: ''
id: internalS1
virtual-link-protocol-data:
l3-protocol-data:
cidr: 192.168.100.0/24
description: S1 test network
ip-profile-params:
ip-version: ipv4
subnet-address: 192.168.100.0/24
dhcp-params:
enabled: true
connection-point:
- name: agw-mgmt
- name: agw-sgi
- name: srsLTE-mgmt
vnf-configuration:
# execution-environment-list:
# - id: monitor
# helm-chart: eechart
# metric-service: snmpexporter
# connection-point-ref: agw-mgmt
# initial-config-primitive:
# - seq: 1
# name: generate_snmp
# execution-environment-ref: monitor
# config-primitive:
# - name: generate_snmp
# execution-environment-ref: monitor
relation:
- name: agw
entities:
- id: srsLTE-vdu
endpoint: mme
- id: magma-agw-vdu
endpoint: agw
monitoring-param:
- id: agw_cpu_util
name: agw_cpu_util
aggregation-type: AVERAGE
vdu-monitoring-param:
vdu-ref: magma-agw-vdu
vdu-monitoring-param-ref: agw_cpu_util
- id: agw_memory_util
name: agw_memory_util
aggregation-type: AVERAGE
vdu-monitoring-param:
vdu-ref: magma-agw-vdu
vdu-monitoring-param-ref: agw_memory_util
- id: agw_packets_received
name: agw_packets_received
aggregation-type: AVERAGE
vdu-monitoring-param:
vdu-ref: magma-agw-vdu
vdu-monitoring-param-ref: agw_packets_received
- id: agw_packets_sent
name: agw_packets_sent
aggregation-type: AVERAGE
vdu-monitoring-param:
vdu-ref: magma-agw-vdu
vdu-monitoring-param-ref: agw_packets_sent
scaling-group-descriptor:
- max-instance-count: 1
min-instance-count: 0
name: vdu_autoscale
scaling-policy:
- cooldown-time: 120
name: cpu_util_above_threshold
scaling-criteria:
- name: cpu_util_above_threshold
scale-in-relational-operation: LT
scale-in-threshold: 10
scale-out-relational-operation: GT
scale-out-threshold: 60
vnf-monitoring-param-ref: agw_cpu_util
scaling-type: automatic
threshold-time: 10
vdu:
- count: 1
vdu-id-ref: magma-agw-vdu
dhcp-enabled: true
ip-version: ipv4
name: internalS1-l3-protocol-data
vnf-configuration-id: default-vnf-configuration
ext-cpd:
- id: agw-sgi-ext
int-cpd:
cpd: eth1-int
vdu-id: magma-agw-vdu
- id: agw-mgmt-ext
int-cpd:
cpd: eth2-int
vdu-id: magma-agw-vdu
- id: srsLTE-mgmt-ext
int-cpd:
cpd: eth0-int
vdu-id: srsLTE-vdu
id: hackfest_magma-agw-enb_vnfd
int-virtual-link-desc:
- id: internalS1
mgmt-cp: agw-mgmt-ext
product-name: hackfest_magma-agw-enb_vnfd
provider: Whitestack
sw-image-desc:
- id: magma101_hfmr9
image: magma101_hfmr9
name: magma101_hfmr9
- id: ubuntu20.04
image: ubuntu20.04
name: ubuntu20.04
vdu:
- alarm:
- actions:
alarm:
- url: https://webhook.site/4beb0430-7497-4112-a742-434e50e8081a
alarm-id: cpu-above-threshold
operation: GT
value: 80
vnf-monitoring-param-ref: agw_cpu_util
cloud-init-file: magmaagw_init
description: magma-agw-vdu
id: magma-agw-vdu
int-cpd:
- id: eth0-int
int-virtual-link-desc: internalS1
virtual-network-interface-requirement:
- name: eth0
position: 1
virtual-interface:
type: PARAVIRT
- id: eth1-int
virtual-network-interface-requirement:
- name: eth1
position: 2
virtual-interface:
type: PARAVIRT
- id: eth2-int
virtual-network-interface-requirement:
- name: eth2
position: 3
virtual-interface:
type: PARAVIRT
monitoring-parameter:
- id: agw_cpu_util
name: agw_cpu_util
performance-metric: cpu_utilization
- id: agw_memory_util
name: agw_memory_util
performance-metric: average_memory_utilization
- id: agw_packets_received
name: agw_packets_received
performance-metric: packets_received
- id: agw_packets_sent
name: agw_packets_sent
performance-metric: packets_sent
name: magma-agw-vdu
sw-image-desc: magma101_hfmr9
virtual-compute-desc: magma-agw-vdu-compute
virtual-storage-desc:
- magma-agw-vdu-storage
- cloud-init-file: srslte_init
description: srsLTE-vdu
id: srsLTE-vdu
int-cpd:
- id: eth0-int
virtual-network-interface-requirement:
- name: eth0
virtual-interface:
type: PARAVIRT
- id: eth1-int
int-virtual-link-desc: internalS1
virtual-network-interface-requirement:
- name: eth1
virtual-interface:
type: PARAVIRT
name: srsLTE-vdu
sw-image-desc: ubuntu20.04
virtual-compute-desc: srsLTE-vdu-compute
virtual-storage-desc:
- srsLTE-vdu-storage
vdu-configuration:
- config-access:
ssh-access:
required: true
config-primitive:
- name: add-gw
parameter:
- default-value: <agw_id>
name: agw_id
- default-value: <agw_name>
name: agw_name
- default-value: <orch_ip>
name: orch_ip
- default-value: <orch_net>
name: orch_net
- name: del-gw
parameter:
- default-value: <agw_id>
name: agw_id
- default-value: <orch_ip>
name: orch_ip
- default-value: <orch_net>
name: orch_net
- name: reset-id
- name: restart-magma
id: magma-agw-vdu-vdu-configuration
initial-config-primitive:
- name: config
parameter:
- name: ssh-hostname
value: <rw_mgmt_ip>
- name: ssh-username
value: magma
- name: ssh-password
value: magma
seq: 1
- name: reset-id
seq: 2
- name: add-net
parameter:
- name: orch_ip
value: <orch_ip>
- name: orch_net
value: <orch_net>
seq: 3
- name: add-gw
parameter:
- name: agw_id
value: <agw_id>
- name: agw_name
value: <agw_name>
- name: orch_ip
value: <orch_ip>
- name: orch_net
value: <orch_net>
seq: 4
- name: add-test-subscriber
parameter:
- name: orch_ip
value: <orch_ip>
- name: orch_net
value: <orch_net>
seq: 5
- name: add-hosts
parameter:
- name: orch_ip
value: <orch_ip>
seq: 6
- name: restart-magma
seq: 7
juju:
charm: magmagw
- config-access:
ssh-access:
default-user: ubuntu
required: true
config-primitive:
- name: attach-ue
parameter:
- data-type: STRING
name: usim-imsi
- data-type: STRING
name: usim-k
- data-type: STRING
name: usim-opc
- name: detach-ue
id: srsLTE-vdu-vdu-configuration
initial-config-primitive:
- name: config
parameter:
- name: bind-address-subnet
value: 192.168.100.0/24
seq: 1
juju:
charm: srs-enb-ue
proxy: false
version: '1.0'
virtual-compute-desc:
- id: magma-agw-vdu-compute
virtual-cpu:
num-virtual-cpu: 1
virtual-memory:
size: 4.0
- id: srsLTE-vdu-compute
virtual-cpu:
num-virtual-cpu: 4
virtual-memory:
size: 6.0
virtual-storage-desc:
- id: magma-agw-vdu-storage
size-of-storage: 50
- id: srsLTE-vdu-storage
size-of-storage: 8
vnf-configuration:
- id: default-vnf-configuration
relation:
- entities:
- endpoint: mme
id: srsLTE-vdu
- endpoint: agw
id: magma-agw-vdu
name: agw
......@@ -6,7 +6,6 @@ shared: false
interfaces:
- name: eth0
ip-address: 172.21.250.200
vim-network-name: osm-ext
mgmt: true
- name: eth1
ip-address: 192.168.239.7
......
vnfd-catalog:
schema-version: '3.0'
vnfd:
- id: squid_cnf
name: squid_cnf
short-name: squid_cnf
description: K8s container deployment of Squid Web Proxy
vendor: Canonical
version: "1.0"
mgmt-interface:
cp: mgmt
connection-point:
- name: mgmtnet
kdu:
- name: squid-kdu
juju-bundle: bundle.yaml
kdu-configuration:
config-primitive:
- name: addurl
parameter:
- name: application-name
data-type: STRING
default-value: squid
- name: url
data-type: STRING
default-value: ""
- name: deleteurl
parameter:
- name: application-name
data-type: STRING
default-value: squid
- name: url
data-type: STRING
default-value: ""
k8s-cluster:
nets:
- id: mgmtnet
external-connection-point-ref: mgmt
vnfd:
description: K8s container deployment of Squid Web Proxy
df:
- id: default-df
kdu-profile:
- kdu-configuration-id: squid-kdu-kdu-configuration
kdu-model-id: squid-kdu-model
name: squid-kdu
ext-cpd:
- id: mgmt-ext
k8s-cluster-net: mgmtnet
id: squid_cnf
k8s-cluster:
nets:
- id: mgmtnet
kdu:
- name: squid-kdu
kdu-configuration:
- config-primitive:
- name: addurl
parameter:
- data-type: STRING
default-value: squid
name: application-name
- data-type: STRING
default-value: ''
name: url
- name: deleteurl
parameter:
- data-type: STRING
default-value: squid
name: application-name
- data-type: STRING
default-value: ''
name: url
id: squid-kdu-kdu-configuration
kdu-model:
- id: squid-kdu-model
kdu-model-locator: bundle.yaml
kdu-model-type: juju-bundle
mgmt-cp: mgmt-ext
product-name: squid_cnf
provider: Canonical
version: '1.0'
nsd-catalog:
nsd:
- id: squid_cnf_ns
name: squid_cnf_ns
short-name: squid_cnf_ns
description: NS with 1 KDU connected to the mgmtnet VL
vendor: Canonical
version: '1.0'
logo: osm.png
constituent-vnfd:
- vnfd-id-ref: squid_cnf
member-vnf-index: squid_cnf
vld:
- id: mgmtnet
name: mgmtnet
short-name: mgmtnet
type: ELAN
mgmt-network: true
vim-network-name: mgmt
vnfd-connection-point-ref:
- member-vnf-index-ref: squid_cnf
vnfd-id-ref: squid_cnf
vnfd-connection-point-ref: mgmtnet
\ No newline at end of file
nsd:
nsd:
- description: NS with 1 KDU connected to the mgmtnet VL
designer: Canonical
df:
- id: default-df
vnf-profile:
- id: squid_cnf
virtual-link-connectivity:
- constituent-cpd-id:
- constituent-base-element-id: squid_cnf
constituent-cpd-id: mgmtnet-ext
virtual-link-profile-id: mgmtnet
vnfd-id: squid_cnf
id: squid_cnf_ns
name: squid_cnf_ns
version: '1.0'
virtual-link-desc:
- id: mgmtnet
mgmt-network: true
vim-network-name: mgmt
vnfd-id:
- squid_cnf
nsd:nsd-catalog:
nsd:
- id: nscharm-ns
name: nscharm-ns
short-name: nscharm-ns
description: NS with 2 VNFs
version: '1.0'
logo: osm.png
constituent-vnfd:
- vnfd-id-ref: nscharm-user-vnf
member-vnf-index: '1'
- vnfd-id-ref: nscharm-policy-vnf
member-vnf-index: '2'
vld:
- id: mgmtnet
name: mgmtnet
short-name: mgmtnet
type: ELAN
mgmt-network: 'true'
vim-network-name: mgmt
vnfd-connection-point-ref:
- vnfd-id-ref: nscharm-user-vnf
member-vnf-index-ref: '1'
vnfd-connection-point-ref: vnf-mgmt
- vnfd-id-ref: nscharm-policy-vnf
member-vnf-index-ref: '2'
vnfd-connection-point-ref: vnf-mgmt
ns-configuration:
juju:
charm: ns
initial-config-primitive:
- seq: '1'
name: config
parameter:
# Configure Juju credentials
- name: juju-username
value: 'admin'
- name: juju-password
value: 'd55ce8ab4efa59e7f1b865bce53f55ed'
- seq: '2'
name: add-user
parameter:
- name: username
value: root
config-primitive:
- name: add-user
parameter:
- name: username
data-type: STRING
nsd:
nsd:
- description: NS with 2 VNFs
df:
- id: default-df
vnf-profile:
- id: '1'
virtual-link-connectivity:
- constituent-cpd-id:
- constituent-base-element-id: '1'
constituent-cpd-id: vnf-mgmt-ext
virtual-link-profile-id: mgmtnet
vnfd-id: nscharm-user-vnf
- id: '2'
virtual-link-connectivity:
- constituent-cpd-id:
- constituent-base-element-id: '2'
constituent-cpd-id: vnf-mgmt-ext
virtual-link-profile-id: mgmtnet
vnfd-id: nscharm-policy-vnf
id: nscharm-ns
name: nscharm-ns
version: '1.0'
virtual-link-desc:
- id: mgmtnet
mgmt-network: 'true'
vim-network-name: mgmt
vnfd-id:
- nscharm-user-vnf
- nscharm-policy-vnf
ns-configuration:
juju:
charm: ns
initial-config-primitive:
- seq: '1'
name: config
parameter:
# Configure Juju credentials
- name: juju-username
value: 'admin'
- name: juju-password
value: 'd55ce8ab4efa59e7f1b865bce53f55ed'
- seq: '2'
name: add-user
parameter:
- name: username
value: root
config-primitive:
- name: add-user
parameter:
- name: username
data-type: STRING
vnfd:vnfd-catalog:
vnfd:
- id: nscharm-policy-vnf
name: nscharm-policy-vnf
short-name: nscharm-policy-vnf
version: '1.0'
description: A VNF consisting of 2 VDUs w/proxy charm
logo: osm.png
connection-point:
- id: vnf-mgmt
name: vnf-mgmt
short-name: vnf-mgmt
type: VPORT
# - id: vnf-data
# name: vnf-data
# short-name: vnf-data
# type: VPORT
mgmt-interface:
cp: vnf-mgmt
internal-vld:
- id: internal
name: internal
short-name: internal
type: ELAN
internal-connection-point:
- id-ref: policyVM-internal
vdu:
- id: policyVM
name: policyVM
image: ubuntu1604
count: '1'
vm-flavor:
vcpu-count: '1'
memory-mb: '1024'
storage-gb: '10'
interface:
- name: policyVM-eth0
position: '1'
type: EXTERNAL
virtual-interface:
type: VIRTIO
external-connection-point-ref: vnf-mgmt
- name: policyVM-eth1
position: '2'
type: INTERNAL
virtual-interface:
type: VIRTIO
internal-connection-point-ref: policyVM-internal
internal-connection-point:
- id: policyVM-internal
name: policyVM-internal
short-name: policyVM-internal
type: VPORT
cloud-init-file: cloud-config.txt
vdu-configuration:
juju:
charm: vnf-policy
proxy: true
initial-config-primitive:
- seq: '1'
name: config
parameter:
- name: ssh-hostname
value: <rw_mgmt_ip>
- name: ssh-username
value: ubuntu
- name: ssh-password
value: osm4u
\ No newline at end of file
vnfd:
description: A VNF consisting of 2 VDUs w/proxy charm
df:
- id: default-df
instantiation-level:
- id: default-instantiation-level
vdu-level:
- number-of-instances: 1
vdu-id: policyVM
vdu-profile:
- id: policyVM
min-number-of-instances: 1
vdu-configuration-id: policyVM-vdu-configuration
ext-cpd:
- id: vnf-mgmt-ext
int-cpd:
cpd: policyVM-eth0-int
vdu-id: policyVM
id: nscharm-policy-vnf
int-virtual-link-desc:
- id: internal
mgmt-cp: vnf-mgmt-ext
product-name: nscharm-policy-vnf
sw-image-desc:
- id: ubuntu1604
image: ubuntu1604
name: ubuntu1604
vdu:
- cloud-init-file: cloud-config.txt
id: policyVM
int-cpd:
- id: policyVM-eth0-int
virtual-network-interface-requirement:
- name: policyVM-eth0
position: 1
virtual-interface:
type: VIRTIO
- id: policyVM-eth1-int
int-virtual-link-desc: internal
virtual-network-interface-requirement:
- name: policyVM-eth1
position: 2
virtual-interface:
type: VIRTIO
name: policyVM
sw-image-desc: ubuntu1604
virtual-compute-desc: policyVM-compute
virtual-storage-desc:
- policyVM-storage
vdu-configuration:
- id: policyVM-vdu-configuration
initial-config-primitive:
- name: config
parameter:
- name: ssh-hostname
value: <rw_mgmt_ip>
- name: ssh-username
value: ubuntu
- name: ssh-password
value: osm4u
seq: '1'
juju:
charm: vnf-policy
proxy: true
version: '1.0'
virtual-compute-desc:
- id: policyVM-compute
virtual-cpu:
num-virtual-cpu: 1
virtual-memory:
size: 1.0
virtual-storage-desc:
- id: policyVM-storage
size-of-storage: 10
vnfd:vnfd-catalog:
vnfd:
- id: nscharm-user-vnf
name: nscharm-user-vnf
short-name: nscharm-user-vnf
version: '1.0'
description: A VNF consisting of 2 VDUs w/proxy charm
logo: osm.png
connection-point:
- id: vnf-mgmt
name: vnf-mgmt
short-name: vnf-mgmt
type: VPORT
mgmt-interface:
cp: vnf-mgmt
internal-vld:
- id: internal
name: internal
short-name: internal
type: ELAN
internal-connection-point:
- id-ref: userVM-internal
vdu:
- id: userVM
name: userVM
image: ubuntu1604
count: '1'
vm-flavor:
vcpu-count: '1'
memory-mb: '1024'
storage-gb: '10'
interface:
- name: userVM-eth0
position: '1'
type: EXTERNAL
virtual-interface:
type: VIRTIO
external-connection-point-ref: vnf-mgmt
- name: userVM-eth1
position: '2'
type: INTERNAL
virtual-interface:
type: VIRTIO
internal-connection-point-ref: userVM-internal
internal-connection-point:
- id: userVM-internal
name: userVM-internal
short-name: userVM-internal
type: VPORT
cloud-init-file: cloud-config.txt
vdu-configuration:
juju:
charm: vnf-user
proxy: true
initial-config-primitive:
- seq: '1'
name: config
parameter:
- name: ssh-hostname
value: <rw_mgmt_ip>
- name: ssh-username
value: ubuntu
- name: ssh-password
value: osm4u
\ No newline at end of file
vnfd:
description: A VNF consisting of 2 VDUs w/proxy charm
df:
- id: default-df
instantiation-level:
- id: default-instantiation-level
vdu-level:
- number-of-instances: 1
vdu-id: userVM
vdu-profile:
- id: userVM
min-number-of-instances: 1
vdu-configuration-id: userVM-vdu-configuration
ext-cpd:
- id: vnf-mgmt-ext
int-cpd:
cpd: userVM-eth0-int
vdu-id: userVM
id: nscharm-user-vnf
int-virtual-link-desc:
- id: internal
mgmt-cp: vnf-mgmt-ext
product-name: nscharm-user-vnf
sw-image-desc:
- id: ubuntu1604
image: ubuntu1604
name: ubuntu1604
vdu:
- cloud-init-file: cloud-config.txt
id: userVM
int-cpd:
- id: userVM-eth0-int
virtual-network-interface-requirement:
- name: userVM-eth0
position: 1
virtual-interface:
type: VIRTIO
- id: userVM-eth1-int
int-virtual-link-desc: internal
virtual-network-interface-requirement:
- name: userVM-eth1
position: 2
virtual-interface:
type: VIRTIO
name: userVM
sw-image-desc: ubuntu1604
virtual-compute-desc: userVM-compute
virtual-storage-desc:
- userVM-storage
vdu-configuration:
- id: userVM-vdu-configuration
initial-config-primitive:
- name: config
parameter:
- name: ssh-hostname
value: <rw_mgmt_ip>
- name: ssh-username
value: ubuntu
- name: ssh-password
value: osm4u
seq: '1'
juju:
charm: vnf-user
proxy: true
version: '1.0'
virtual-compute-desc:
- id: userVM-compute
virtual-cpu:
num-virtual-cpu: 1
virtual-memory:
size: 1.0
virtual-storage-desc:
- id: userVM-storage
size-of-storage: 10
vnfd-catalog:
schema-version: '3.0'
vnfd:
- id: openldap_knf
name: openldap_knf
short-name: openldap_knf
description: KNF with single KDU using a helm-chart for openldap version 1.2.3
vendor: Telefonica
version: '1.0'
mgmt-interface:
cp: mgmt
connection-point:
- name: mgmt
k8s-cluster:
nets:
- id: mgmtnet
external-connection-point-ref: mgmt
kdu:
- name: ldap
helm-chart: stable/openldap:1.2.3
vnfd:
description: KNF with single KDU using a helm-chart for openldap version 1.2.3
df:
- id: default-df
kdu-profile:
- kdu-model-id: ldap-model
name: ldap
ext-cpd:
- id: mgmt-ext
k8s-cluster-net: mgmtnet
id: openldap_knf
k8s-cluster:
nets:
- id: mgmtnet
kdu:
- name: ldap
kdu-model:
- id: ldap-model
kdu-model-locator: stable/openldap:1.2.3
kdu-model-type: helm-chart
mgmt-cp: mgmt-ext
product-name: openldap_knf
provider: Telefonica
version: '1.0'
nsd-catalog:
nsd:
- id: openldap_ns
name: openldap_ns
short-name: openldap_ns
description: NS consisting of a single KNF openldap_knf connected to mgmt network
vendor: OSM
version: '1.0'
logo: osm.png
constituent-vnfd:
- member-vnf-index: openldap
vnfd-id-ref: openldap_knf
vld:
- id: mgmtnet
name: mgmtnet
type: ELAN
mgmt-network: 'true'
vnfd-connection-point-ref:
- member-vnf-index-ref: openldap
vnfd-id-ref: openldap_knf
vnfd-connection-point-ref: mgmt
nsd:
nsd:
- description: NS consisting of a single KNF openldap_knf connected to mgmt network
designer: OSM
df:
- id: default-df
vnf-profile:
- id: openldap
virtual-link-connectivity:
- constituent-cpd-id:
- constituent-base-element-id: openldap
constituent-cpd-id: mgmt-ext
virtual-link-profile-id: mgmtnet
vnfd-id: openldap_knf
id: openldap_ns
name: openldap_ns
version: '1.0'
virtual-link-desc:
- id: mgmtnet
mgmt-network: 'true'
vnfd-id:
- openldap_knf
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
nsd:
nsd:
- description: NS with 2 VNFs with cloudinit connected by datanet and mgmtnet VLs
df:
- id: default-df
vnf-profile:
- id: simple
virtual-link-connectivity:
- constituent-cpd-id:
- constituent-base-element-id: simple
constituent-cpd-id: vnf-mgmt-ext
virtual-link-profile-id: mgmtnet
vnfd-id: simple_ee-vnf
id: simple_ee-ns
name: simple_ee-ns
version: 1.0
virtual-link-desc:
- id: mgmtnet
mgmt-network: true
vnfd-id:
- simple_ee-vnf
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