blob: 4137873534863815da8d04e1a3da01ac9939a978 [file] [log] [blame]
garciaale76f6a622020-11-19 17:57:42 -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-ext #Simplified from mgmt-interface
23 virtual-compute-desc:
24 - id: spgwmme-compute
25 virtual-cpu:
26 num-virtual-cpu: 2
27 virtual-memory:
garciaale0a517b92021-01-12 15:44:44 -030028 size: 4.0 # Memory size in GB
garciaale76f6a622020-11-19 17:57:42 -030029 - id: hss-compute
30 virtual-cpu:
31 num-virtual-cpu: 1
32 virtual-memory:
garciaale0a517b92021-01-12 15:44:44 -030033 size: 2.0 # Memory size in GB
garciaale76f6a622020-11-19 17:57:42 -030034 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
garciaale0a517b92021-01-12 15:44:44 -030042 image: nextepc-spgwmme-base
43 - id: nextepc-hss-base
44 name: nextepc-hss-base
45 image: nextepc-hss-base
46
garciaale76f6a622020-11-19 17:57:42 -030047 vdu:
48 - id: spgwmme
49 name: spgwmme
50 description: spgwmme
51 cloud-init-file: spgwmme-init
52 virtual-compute-desc: spgwmme-compute
53 virtual-storage-desc:
54 - spgwmme-storage
55 sw-image-desc: nextepc-spgwmme-base
56 int-cpd:
garciaale0a517b92021-01-12 15:44:44 -030057 - id: eth0-int
garciaale76f6a622020-11-19 17:57:42 -030058 virtual-network-interface-requirement:
59 - name: eth0
60 virtual-interface:
61 type: PARAVIRT
garciaale0a517b92021-01-12 15:44:44 -030062 - id: eth1-int
garciaale76f6a622020-11-19 17:57:42 -030063 virtual-network-interface-requirement:
64 - name: eth1
65 virtual-interface:
66 type: PARAVIRT
garciaale0a517b92021-01-12 15:44:44 -030067 - id: eth2-int
garciaale76f6a622020-11-19 17:57:42 -030068 virtual-network-interface-requirement:
69 - name: eth2
70 virtual-interface:
71 type: PARAVIRT
garciaale0a517b92021-01-12 15:44:44 -030072 - id: eth3-int
garciaale76f6a622020-11-19 17:57:42 -030073 int-virtual-link-desc: s6a # Connection to VLD!
74 virtual-network-interface-requirement:
75 - name: eth3
76 virtual-interface:
77 type: PARAVIRT
garciaale0a517b92021-01-12 15:44:44 -030078 monitoring-parameter:
79 - id: "spgw_cpu_util"
80 name: "spgw_cpu_util"
81 performance-metric: "cpu_utilization"
82 - id: "spgw_memory_util"
83 name: "spgw_memory_util"
84 performance-metric: "average_memory_utilization"
garciaale76f6a622020-11-19 17:57:42 -030085 - id: hss
86 name: hss
87 description: hss
88 cloud-init-file: hss-init
89 virtual-compute-desc: hss-compute
90 virtual-storage-desc:
91 - hss-storage
garciaale0a517b92021-01-12 15:44:44 -030092 sw-image-desc: nextepc-hss-base
garciaale76f6a622020-11-19 17:57:42 -030093 int-cpd:
garciaale0a517b92021-01-12 15:44:44 -030094 - id: eth0-int
garciaale76f6a622020-11-19 17:57:42 -030095 virtual-network-interface-requirement:
96 - name: eth0
97 virtual-interface:
98 type: PARAVIRT
garciaale0a517b92021-01-12 15:44:44 -030099 - id: eth1-int
garciaale76f6a622020-11-19 17:57:42 -0300100 int-virtual-link-desc: s6a # Connection to VLD!
101 virtual-network-interface-requirement:
102 - name: eth1
103 virtual-interface:
104 type: PARAVIRT
105 df:
garciaale0a517b92021-01-12 15:44:44 -0300106 - id: default-df
garciaale76f6a622020-11-19 17:57:42 -0300107 vdu-profile:
108 - id: spgwmme
109 min-number-of-instances: 1
110 - id: hss
111 min-number-of-instances: 1
garciaale76f6a622020-11-19 17:57:42 -0300112 instantiation-level:
garciaale0a517b92021-01-12 15:44:44 -0300113 - id: default-instantiation-level
garciaale76f6a622020-11-19 17:57:42 -0300114 vdu-level:
115 - vdu-id: spgwmme
116 number-of-instances: 1
117 - vdu-id: hss
118 number-of-instances: 1
119 virtual-link-profile:
120 - id: s6a
garciaale0a517b92021-01-12 15:44:44 -0300121 flavour: ""
garciaale76f6a622020-11-19 17:57:42 -0300122 virtual-link-protocol-data:
123 l3-protocol-data:
garciaale0a517b92021-01-12 15:44:44 -0300124 name: s6a-l3-protocol-data
garciaale76f6a622020-11-19 17:57:42 -0300125 description: s6a network
126 ip-version: ipv4
127 cidr: 10.0.6.0/24
128 dhcp-enabled: true
bravof2eccea22021-02-12 16:17:54 -0300129 lcm-operations-configuration:
130 operate-vnf-op-config:
131 day1-2:
132 - id: vEPC_vnfd
bravof7f410e92021-05-05 20:37:03 -0400133 execution-environment-list:
134 - id: spgwcharm-ee
135 juju:
136 charm: spgwcharm
bravof2eccea22021-02-12 16:17:54 -0300137 initial-config-primitive:
138 - seq: "1"
139 name: config
140 parameter:
141 - name: ssh-hostname
142 value: <rw_mgmt_ip>
143 - name: ssh-username
144 value: ubuntu
145 - name: ssh-password
146 value: <password>
bravof7f410e92021-05-05 20:37:03 -0400147 execution-environment-ref: spgwcharm-ee
bravof2eccea22021-02-12 16:17:54 -0300148 - seq: "2"
149 name: configure-spgw
150 parameter:
151 - name: spgw-ip
152 data-type: STRING
153 value: <spgw_ip>
154 - name: hss-ip
155 data-type: STRING
156 value: <hss_ip>
bravof7f410e92021-05-05 20:37:03 -0400157 execution-environment-ref: spgwcharm-ee
bravof2eccea22021-02-12 16:17:54 -0300158 - seq: "3"
159 name: restart-spgw
bravof7f410e92021-05-05 20:37:03 -0400160 execution-environment-ref: spgwcharm-ee
bravof2eccea22021-02-12 16:17:54 -0300161 config-primitive:
162 - name: add-route
163 parameter:
164 - name: external-prefix
165 data-type: STRING
166 default-value: "8.8.8.8/32"
167 - name: next-hop
168 data-type: STRING
169 default-value: "192.168.2.1"
bravof7f410e92021-05-05 20:37:03 -0400170 execution-environment-ref: spgwcharm-ee
bravof2eccea22021-02-12 16:17:54 -0300171 - id: hss
bravof7f410e92021-05-05 20:37:03 -0400172 execution-environment-list:
173 - id: hsscharm-ee
174 juju:
175 charm: hsscharm
bravof2eccea22021-02-12 16:17:54 -0300176 initial-config-primitive:
177 - seq: "1"
bravof7f410e92021-05-05 20:37:03 -0400178 execution-environment-ref: hsscharm-ee
bravof2eccea22021-02-12 16:17:54 -0300179 name: config
180 parameter:
181 - name: ssh-hostname
182 value: <rw_mgmt_ip>
183 - name: ssh-username
184 value: ubuntu
185 - name: ssh-password
186 value: <password>
187 - seq: "2"
188 name: configure-hss
189 parameter:
190 - name: spgw-ip
191 data-type: STRING
192 value: <spgw_ip>
193 - name: hss-ip
194 data-type: STRING
195 value: <hss_ip>
bravof7f410e92021-05-05 20:37:03 -0400196 execution-environment-ref: hsscharm-ee
bravof2eccea22021-02-12 16:17:54 -0300197 - seq: "3"
198 name: restart-hss
bravof7f410e92021-05-05 20:37:03 -0400199 execution-environment-ref: hsscharm-ee
garciaale76f6a622020-11-19 17:57:42 -0300200 int-virtual-link-desc:
201 - id: s6a
202 ext-cpd:
203 # SPGWMME
204 - id: spgwmme-mgmt-ext
205 int-cpd: # Connection to int-cpd
206 vdu-id: spgwmme
garciaale0a517b92021-01-12 15:44:44 -0300207 cpd: eth0-int
garciaale76f6a622020-11-19 17:57:42 -0300208 - id: spgwmme-s1-ext
209 int-cpd: # Connection to int-cpd
210 vdu-id: spgwmme
garciaale0a517b92021-01-12 15:44:44 -0300211 cpd: eth1-int
garciaale76f6a622020-11-19 17:57:42 -0300212 - id: spgwmme-sgi-ext
213 int-cpd: # Connection to int-cpd
214 vdu-id: spgwmme
garciaale0a517b92021-01-12 15:44:44 -0300215 cpd: eth2-int
garciaale76f6a622020-11-19 17:57:42 -0300216 # HSS
217 - id: hss-mgmt-ext
218 int-cpd: # Connection to int-cpd
garciaale0a517b92021-01-12 15:44:44 -0300219 vdu-id: hss
220 cpd: eth0-int