blob: c38b9f5bfd152ad6183d270b2e86971715f61edc [file] [log] [blame]
Tomás Villasecaa54e27d2020-04-21 10:34:13 -04001# 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
24 virtual-compute-desc:
25 - id: spgwmme-compute
26 virtual-cpu:
27 num-virtual-cpu: 2
28 virtual-memory:
29 size: 4 # Memory size in GB
30 - id: hss-compute
31 virtual-cpu:
32 num-virtual-cpu: 1
33 virtual-memory:
34 size: 2 # Memory size in GB
35
36 virtual-storage-desc:
37 - id: spgwmme-storage
38 size-of-storage: 10
39 - id: hss-storage
40 size-of-storage: 10
41
42 sw-image-desc:
43 - id: nextepc-spgwmme-base
44 name: nextepc-spgwmme-base
45 checksum:
46 hash: # Mandatory?
47 - id: nextepc-hss-bas
48 name: nextepc-hss-bas
49 checksum:
50 hash: # Mandatory?
51
52 vdu:
53 - id: spgwmme
54 name: spgwmme
55 description: spgwmme
56 cloud-init-file: spgwmme-init
57 virtual-compute-desc: spgwmme-compute
58 virtual-storage-desc: spgwmme-storage
59 sw-image-desc: nextepc-spgwmme-base
60 int-cpd:
61 - id: spgwmme-mgmt-int
62 virtual-network-interface-requirement:
63 - name: eth0
64 type: EXTERNAL # Remove (redundant)
65 virtual-interface:
66 type: PARAVIRT
67 network-interface-requirements:
68 # ?
69 - id: spgwmme-s1-int
70 virtual-network-interface-requirement:
71 - name: eth1
72 type: EXTERNAL # Remove (redundant)
73 virtual-interface:
74 type: PARAVIRT
75 network-interface-requirements:
76 # ?
77 - id: spgwmme-sgi-int
78 virtual-network-interface-requirement:
79 - name: eth2
80 type: EXTERNAL # Remove (redundant)
81 virtual-interface:
82 type: PARAVIRT
83 network-interface-requirements:
84 # ?
85 - id: spgwmme-s6a-int
86 int-virtual-link-desc: s6a # Connection to VLD!
87 virtual-network-interface-requirement:
88 - id: eth3
89 type: INTERNAL # Remove (redundant)
90 virtual-interface:
91 type: PARAVIRT
92 network-interface-requirements:
93 # ?
94
95 - id: hss
96 name: hss
97 description: hss
98 cloud-init-file: hss-init
99 virtual-compute-desc: hss-compute
100 virtual-storage-desc: hss-storage
101 sw-image-desc: nextepc-hss-bas
102 int-cpd:
103 - id: hss-mgmt-int
104 virtual-network-interface-requirement:
105 - name: eth0
106 type: EXTERNAL
107 virtual-interface:
108 type: PARAVIRT
109 network-interface-requirements:
110 # ?
111 - id: hss-s6a-int
112 int-virtual-link-desc: s6a # Connection to VLD!
113 virtual-network-interface-requirement:
114 - id: eth1
115 type: INTERNAL
116 virtual-interface:
117 type: PARAVIRT
118 network-interface-requirements:
119 #?
120 vdu-configuration:
121 initial-config-primitive:
122 - seq: "1"
123 name: config
124 parameter:
125 - name: ssh-hostname
126 value: <rw_mgmt_ip>
127 - name: ssh-username
128 value: ubuntu
129 - name: ssh-password
130 value: <password>
131 - seq: "2"
132 name: configure-hss
133 parameter:
134 - name: spgw-ip
135 data-type: STRING
136 value: <spgw_ip>
137 - name: hss-ip
138 data-type: STRING
139 value: <hss_ip>
140 - seq: "3"
141 name: restart-hss
142 juju:
143 charm: hsscharm
144
145 df:
146 - id: vepc_default
147 vdu-profile:
148 - id: spgwmme
149 min-number-of-instance: 1
150 - id: hss
151 min-number-of-instance: 1
152 instantiation-level:
153 - id: default
154 vdu-level:
155 - id: spgwmme
156 number-of-instances: 1
157 - id: hss
158 number-of-instances: 1
159 virtual-link-profile:
160 - id: s6a
161 flavour:
162 virtual-link-protocol-data:
163 l3-protocol-data:
164 name: s6a
165 description: s6a network
166 ip-version: ipv4
167 cidr: 10.0.6.0/24
168 dhcp-enabled: true
169
170 monitoring-parameter:
171 - id: "spgw_cpu_util"
172 name: "spgw_cpu_util"
173 performance-metric: "cpu_load"
174 collection-period: 123456
175
176 aggregation-type: AVERAGE # Not included in augments
177 vdu-monitoring-param: # Not included in augments
178 vdu-ref: "spgwmme" # Not included in augments
179 vdu-monitoring-param-ref: "spgw_cpu_util" # Not included in augments
180 - id: "spgw_memory_util"
181 name: "spgw_memory_util"
182 aggregation-type: AVERAGE # Not included in augments
183 vdu-monitoring-param: # Not included in augments
184 vdu-ref: "spgwmme" # Not included in augments
185 vdu-monitoring-param-ref: "spgw_memory_util" # Not included in augments
186
187 vnf-configuration:
188 initial-config-primitive:
189 - seq: "1"
190 name: config
191 parameter:
192 - name: ssh-hostname
193 value: <rw_mgmt_ip>
194 - name: ssh-username
195 value: ubuntu
196 - name: ssh-password
197 value: <password>
198 - seq: "2"
199 name: configure-spgw
200 parameter:
201 - name: spgw-ip
202 data-type: STRING
203 value: <spgw_ip>
204 - name: hss-ip
205 data-type: STRING
206 value: <hss_ip>
207 - seq: "3"
208 name: restart-spgw
209 config-primitive:
210 - name: add-route
211 parameter:
212 - name: external-prefix
213 data-type: STRING
214 default-value: "8.8.8.8/32"
215 - name: next-hop
216 data-type: STRING
217 default-value: "192.168.2.1"
218 juju:
219 charm: spgwcharm
220
221 int-virtual-link-desc:
222 - id: s6a
223
224 exp-cpd:
225 # SPGWMME
226 - id: spgwmme-mgmt-ext
227 int-cpd: # Connection to int-cpd
228 vdu-id: spgwmme
229 cpd: spgwmme-mgmt-int
230 - id: spgwmme-s1-ext
231 int-cpd: # Connection to int-cpd
232 vdu-id: spgwmme
233 cpd: spgwmme-mgmt-int
234 - id: spgwmme-sgi-ext
235 int-cpd: # Connection to int-cpd
236 vdu-id: spgwmme
237 cpd: spgwmme-mgmt-int
238
239 # HSS
240 - id: hss-mgmt-ext
241 int-cpd: # Connection to int-cpd
242 vdu-id: spgwmme
243 cpd: spgwmme-mgmt-int