Newer
Older
- 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
memory-mb: 4096
storage-gb: 50
guest-epa:
cpu-pinning-policy: DEDICATED
interface:
- name: eth0
type: EXTERNAL
position: '0'
virtual-interface:
type: PARAVIRT
external-connection-point-ref: agw-mgmt
- name: eth1
type: EXTERNAL
position: '1'
virtual-interface:
type: PARAVIRT
internal-connection-point-ref: agw-s1
- name: eth2
type: EXTERNAL
position: '2'
virtual-interface:
type: PARAVIRT
internal-connection-point:
- id: agw-s1
name: agw-s1
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/5706da10-04a0-4ab0-819b-cb524f71a367
alarm-id: cpu-above-threshold
operation: GT
value: 120
vnf-monitoring-param-ref: agw_cpu_util
- id: srsLTE-vdu
name: srsLTE-vdu
description: srsLTE-vdu
count: 1
cloud-init-file: srslte_init
interface:
- name: eth0
type: EXTERNAL
virtual-interface:
type: PARAVIRT
external-connection-point-ref: srsLTE-mgmt
- name: eth1
type: EXTERNAL
virtual-interface:
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: enodeb
proxy: False
config-access:
ssh-access:
required: True
default-user: ubuntu
initial-config-primitive:
- seq: '1'
name: remove-default-gw
config-primitive:
- name: register
parameter:
- name: mme-addr
data-type: STRING
- name: gtp-bind-addr
data-type: STRING
- name: s1c-bind-addr
data-type: STRING
- name: attach-ue
parameter:
- name: usim-imsi
data-type: STRING
- name: usim-k
data-type: STRING
- name: usim-opc
data-type: STRING
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
description: S1 test network
ip-profile-params:
ip-version: ipv4
subnet-address: 192.168.100.0/24
dhcp-params:
connection-point:
- name: agw-mgmt
- name: agw-sgi
- name: srsLTE-mgmt
vnf-configuration:
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
- seq: '4'
name: add-gw
parameter:
- name: agw_id
value: <agw_id>
- name: agw_name
value: <agw_name>
- name: orch_ip
parameter:
- name: orch_ip
value: <orch_ip>
- name: orch_net
value: <orch_net>
name: add-hosts
parameter:
- name: orch_ip
value: <orch_ip>
- seq: '7'
config-primitive:
- name: add-gw
parameter:
- name: agw_id
default-value: <agw_id>
- name: agw_name
default-value: <agw_name>
- name: orch_ip
- name: orch_net
default-value: <orch_net>
- name: del-gw
parameter:
- name: agw_id
default-value: <agw_id>
- name: orch_ip
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
- name: orch_net
default-value: <orch_net>
- name: reset-id
- name: restart-magma
juju:
charm: magmagw
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