blob: b4e43c24fc9864315b9d0e099efd76cd6df840c8 [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"
garciaale06c54902020-10-27 15:06:50 -030022 mgmt-cp: spgwmme-mgmt-ext #Simplified from mgmt-interface
garciaale74ed2e52020-10-23 15:28:33 -030023 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
garciaale06c54902020-10-27 15:06:50 -030054 virtual-storage-desc:
55 - spgwmme-storage
garciaale74ed2e52020-10-23 15:28:33 -030056 sw-image-desc: nextepc-spgwmme-base
57 int-cpd:
58 - id: spgwmme-mgmt-int
59 virtual-network-interface-requirement:
60 - name: eth0
61 virtual-interface:
62 type: PARAVIRT
63 - id: spgwmme-s1-int
64 virtual-network-interface-requirement:
65 - name: eth1
66 virtual-interface:
67 type: PARAVIRT
68 - id: spgwmme-sgi-int
69 virtual-network-interface-requirement:
70 - name: eth2
71 virtual-interface:
72 type: PARAVIRT
73 - id: spgwmme-s6a-int
74 int-virtual-link-desc: s6a # Connection to VLD!
75 virtual-network-interface-requirement:
76 - name: eth3
77 virtual-interface:
78 type: PARAVIRT
79 - id: hss
80 name: hss
81 description: hss
82 cloud-init-file: hss-init
83 virtual-compute-desc: hss-compute
garciaale06c54902020-10-27 15:06:50 -030084 virtual-storage-desc:
85 - hss-storage
garciaale74ed2e52020-10-23 15:28:33 -030086 sw-image-desc: nextepc-hss-bas
87 int-cpd:
88 - id: hss-mgmt-int
89 virtual-network-interface-requirement:
90 - name: eth0
91 virtual-interface:
92 type: PARAVIRT
93 - id: hss-s6a-int
94 int-virtual-link-desc: s6a # Connection to VLD!
95 virtual-network-interface-requirement:
96 - name: eth1
97 virtual-interface:
98 type: PARAVIRT
99 df:
100 - id: vepc_default
101 vnf-configuration-id: vnf-configuration-example
102 vdu-profile:
103 - id: spgwmme
104 min-number-of-instances: 1
105 - id: hss
106 min-number-of-instances: 1
107 vdu-configuration-id: vdu-configuration-example
108 instantiation-level:
109 - id: default
110 vdu-level:
111 - vdu-id: spgwmme
112 number-of-instances: 1
113 - vdu-id: hss
114 number-of-instances: 1
115 virtual-link-profile:
116 - id: s6a
117 flavour:
118 virtual-link-protocol-data:
119 l3-protocol-data:
120 name: s6a
121 description: s6a network
122 ip-version: ipv4
123 cidr: 10.0.6.0/24
124 dhcp-enabled: true
125 monitoring-parameter:
126 - id: "spgw_cpu_util"
127 name: "spgw_cpu_util"
128 performance-metric: "cpu_load"
129 collection-period: 123456
130 #aggregation-type: AVERAGE # Not included in augments
131 #vdu-monitoring-param: # Not included in augments
132 # vdu-ref: "spgwmme" # Not included in augments
133 # vdu-monitoring-param-ref: "spgw_cpu_util" # Not included in augments
134 - id: "spgw_memory_util"
135 name: "spgw_memory_util"
136 #aggregation-type: AVERAGE # Not included in augments
137 #vdu-monitoring-param: # Not included in augments
138 # vdu-ref: "spgwmme" # Not included in augments
139 # vdu-monitoring-param-ref: "spgw_memory_util" # Not included in augments
140 vdu-configuration:
141 - id: vdu-configuration-example
142 initial-config-primitive:
143 - seq: "1"
144 name: config
145 parameter:
146 - name: ssh-hostname
147 value: <rw_mgmt_ip>
148 - name: ssh-username
149 value: ubuntu
150 - name: ssh-password
151 value: <password>
152 - seq: "2"
153 name: configure-hss
154 parameter:
155 - name: spgw-ip
156 data-type: STRING
157 value: <spgw_ip>
158 - name: hss-ip
159 data-type: STRING
160 value: <hss_ip>
161 - seq: "3"
162 name: restart-hss
163 juju:
164 charm: hsscharm
165 vnf-configuration:
166 - id: vnf-configuration-example
167 initial-config-primitive:
168 - seq: "1"
169 name: config
170 parameter:
171 - name: ssh-hostname
172 value: <rw_mgmt_ip>
173 - name: ssh-username
174 value: ubuntu
175 - name: ssh-password
176 value: <password>
177 - seq: "2"
178 name: configure-spgw
179 parameter:
180 - name: spgw-ip
181 data-type: STRING
182 value: <spgw_ip>
183 - name: hss-ip
184 data-type: STRING
185 value: <hss_ip>
186 - seq: "3"
187 name: restart-spgw
188 config-primitive:
189 - name: add-route
190 parameter:
191 - name: external-prefix
192 data-type: STRING
193 default-value: "8.8.8.8/32"
194 - name: next-hop
195 data-type: STRING
196 default-value: "192.168.2.1"
197 juju:
198 charm: spgwcharm
199 int-virtual-link-desc:
200 - id: s6a
201 ext-cpd:
202 # SPGWMME
203 - id: spgwmme-mgmt-ext
204 int-cpd: # Connection to int-cpd
205 vdu-id: spgwmme
206 cpd: spgwmme-mgmt-int
207 - id: spgwmme-s1-ext
208 int-cpd: # Connection to int-cpd
209 vdu-id: spgwmme
210 cpd: spgwmme-mgmt-int
211 - id: spgwmme-sgi-ext
212 int-cpd: # Connection to int-cpd
213 vdu-id: spgwmme
214 cpd: spgwmme-mgmt-int
215 # HSS
216 - id: hss-mgmt-ext
217 int-cpd: # Connection to int-cpd
218 vdu-id: spgwmme
219 cpd: spgwmme-mgmt-int