blob: 436f5cb5526d00769d678894fae8e026877b4df6 [file] [log] [blame]
garciaale74ed2e52020-10-23 15:28:33 -03001# Copyright 2020 Whitestack LLC
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
12# implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15
16vnfd:
17 id: vEPC_vnfd
18 product-name: vEPC_vnfd
19 description: Generated by OSM package generator
20 provider: OSM_VNFONB_TF
21 version: "1.0"
22 mgmt-cp: spgwmme-mgmt-int #Simplified from mgmt-interface
23 virtual-compute-desc:
24 - id: spgwmme-compute
25 virtual-cpu:
26 num-virtual-cpu: 2
27 virtual-memory:
28 size: 4 # Memory size in GB
29 - id: hss-compute
30 virtual-cpu:
31 num-virtual-cpu: 1
32 virtual-memory:
33 size: 2 # Memory size in GB
34 virtual-storage-desc:
35 - id: spgwmme-storage
36 size-of-storage: 10
37 - id: hss-storage
38 size-of-storage: 10
39 sw-image-desc:
40 - id: nextepc-spgwmme-base
41 name: nextepc-spgwmme-base
42 checksum:
43 hash: # Mandatory?
44 - id: nextepc-hss-bas
45 name: nextepc-hss-bas
46 checksum:
47 hash: # Mandatory?
48 vdu:
49 - id: spgwmme
50 name: spgwmme
51 description: spgwmme
52 cloud-init-file: spgwmme-init
53 virtual-compute-desc: spgwmme-compute
54 virtual-storage-desc: spgwmme-storage
55 sw-image-desc: nextepc-spgwmme-base
56 int-cpd:
57 - id: spgwmme-mgmt-int
58 virtual-network-interface-requirement:
59 - name: eth0
60 virtual-interface:
61 type: PARAVIRT
62 - id: spgwmme-s1-int
63 virtual-network-interface-requirement:
64 - name: eth1
65 virtual-interface:
66 type: PARAVIRT
67 - id: spgwmme-sgi-int
68 virtual-network-interface-requirement:
69 - name: eth2
70 virtual-interface:
71 type: PARAVIRT
72 - id: spgwmme-s6a-int
73 int-virtual-link-desc: s6a # Connection to VLD!
74 virtual-network-interface-requirement:
75 - name: eth3
76 virtual-interface:
77 type: PARAVIRT
78 - id: hss
79 name: hss
80 description: hss
81 cloud-init-file: hss-init
82 virtual-compute-desc: hss-compute
83 virtual-storage-desc: hss-storage
84 sw-image-desc: nextepc-hss-bas
85 int-cpd:
86 - id: hss-mgmt-int
87 virtual-network-interface-requirement:
88 - name: eth0
89 virtual-interface:
90 type: PARAVIRT
91 - id: hss-s6a-int
92 int-virtual-link-desc: s6a # Connection to VLD!
93 virtual-network-interface-requirement:
94 - name: eth1
95 virtual-interface:
96 type: PARAVIRT
97 df:
98 - id: vepc_default
99 vnf-configuration-id: vnf-configuration-example
100 vdu-profile:
101 - id: spgwmme
102 min-number-of-instances: 1
103 - id: hss
104 min-number-of-instances: 1
105 vdu-configuration-id: vdu-configuration-example
106 instantiation-level:
107 - id: default
108 vdu-level:
109 - vdu-id: spgwmme
110 number-of-instances: 1
111 - vdu-id: hss
112 number-of-instances: 1
113 virtual-link-profile:
114 - id: s6a
115 flavour:
116 virtual-link-protocol-data:
117 l3-protocol-data:
118 name: s6a
119 description: s6a network
120 ip-version: ipv4
121 cidr: 10.0.6.0/24
122 dhcp-enabled: true
123 monitoring-parameter:
124 - id: "spgw_cpu_util"
125 name: "spgw_cpu_util"
126 performance-metric: "cpu_load"
127 collection-period: 123456
128 #aggregation-type: AVERAGE # Not included in augments
129 #vdu-monitoring-param: # Not included in augments
130 # vdu-ref: "spgwmme" # Not included in augments
131 # vdu-monitoring-param-ref: "spgw_cpu_util" # Not included in augments
132 - id: "spgw_memory_util"
133 name: "spgw_memory_util"
134 #aggregation-type: AVERAGE # Not included in augments
135 #vdu-monitoring-param: # Not included in augments
136 # vdu-ref: "spgwmme" # Not included in augments
137 # vdu-monitoring-param-ref: "spgw_memory_util" # Not included in augments
138 vdu-configuration:
139 - id: vdu-configuration-example
140 initial-config-primitive:
141 - seq: "1"
142 name: config
143 parameter:
144 - name: ssh-hostname
145 value: <rw_mgmt_ip>
146 - name: ssh-username
147 value: ubuntu
148 - name: ssh-password
149 value: <password>
150 - seq: "2"
151 name: configure-hss
152 parameter:
153 - name: spgw-ip
154 data-type: STRING
155 value: <spgw_ip>
156 - name: hss-ip
157 data-type: STRING
158 value: <hss_ip>
159 - seq: "3"
160 name: restart-hss
161 juju:
162 charm: hsscharm
163 vnf-configuration:
164 - id: vnf-configuration-example
165 initial-config-primitive:
166 - seq: "1"
167 name: config
168 parameter:
169 - name: ssh-hostname
170 value: <rw_mgmt_ip>
171 - name: ssh-username
172 value: ubuntu
173 - name: ssh-password
174 value: <password>
175 - seq: "2"
176 name: configure-spgw
177 parameter:
178 - name: spgw-ip
179 data-type: STRING
180 value: <spgw_ip>
181 - name: hss-ip
182 data-type: STRING
183 value: <hss_ip>
184 - seq: "3"
185 name: restart-spgw
186 config-primitive:
187 - name: add-route
188 parameter:
189 - name: external-prefix
190 data-type: STRING
191 default-value: "8.8.8.8/32"
192 - name: next-hop
193 data-type: STRING
194 default-value: "192.168.2.1"
195 juju:
196 charm: spgwcharm
197 int-virtual-link-desc:
198 - id: s6a
199 ext-cpd:
200 # SPGWMME
201 - id: spgwmme-mgmt-ext
202 int-cpd: # Connection to int-cpd
203 vdu-id: spgwmme
204 cpd: spgwmme-mgmt-int
205 - id: spgwmme-s1-ext
206 int-cpd: # Connection to int-cpd
207 vdu-id: spgwmme
208 cpd: spgwmme-mgmt-int
209 - id: spgwmme-sgi-ext
210 int-cpd: # Connection to int-cpd
211 vdu-id: spgwmme
212 cpd: spgwmme-mgmt-int
213 # HSS
214 - id: hss-mgmt-ext
215 int-cpd: # Connection to int-cpd
216 vdu-id: spgwmme
217 cpd: spgwmme-mgmt-int