-
Notifications
You must be signed in to change notification settings - Fork 0
/
basic_setup.yaml
52 lines (52 loc) · 1.38 KB
/
basic_setup.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0
description: description
node_types:
tosca.nodes.nfv.VNF00:
requirements:
- virtualLink1:
type: tosca.nodes.nfv.VL
required: true
metadata:
template_name: free5GCSetup
topology_template:
substitution_mappings:
node_type: tosca.nodes.nfv.VNF00
node_templates:
VDU1:
type: tosca.nodes.nfv.VDU.Tacker
properties:
name: free5gc-basic-VNF
image: ubuntu18
flavor: free5gc
availability_zone: nova
mgmt_driver: noop
key_name: free5gc
user_data_format: RAW
user_data: |
#!/bin/sh
#cd /home/ubuntu/
#wget --no-check-certificate -O basic_setup.sh "https://drive.google.com/uc?export=download&id=1PZuogKkTBPsWkIMf9el6PGcga4c0Fmei"
#. /home/ubuntu/basic_setup.sh
CP1:
type: tosca.nodes.nfv.CP.Tacker
properties:
ip_address: 192.168.2.149
management: true
requirements:
- virtualLink:
node: VL1
- virtualBinding:
node: VDU1
VL1:
type: tosca.nodes.nfv.VL
properties:
network_name: 5GC
vendor: Tacker
FIP1:
type: tosca.nodes.network.FloatingIP
properties:
floating_network: public
floating_ip_address: 172.24.4.149
requirements:
- link:
node: CP1