networkslice: Added free5gc helm charts.
[icn.git] / demo / networkslice / free5gc / helm / f5gc-smf / templates / configmap.yaml
1 apiVersion: v1
2 kind: ConfigMap
3 metadata:
4   name: f5gc-smf-config
5 data:
6   smfcfg.conf: |
7     info:
8       version: 1.0.0
9       description: AMF initial local configuration
10     
11     configuration:
12       smfName: SMF
13       sbi:
14         scheme: {{ .Values.configuration.sbi.scheme }}
15         registerIPv4: {{ .Values.configuration.sbi.registerIPv4 }}
16         bindingIPv4: 0.0.0.0 
17         port: {{ .Values.service.port }}
18         tls:
19           key: free5gc/support/TLS/smf.key
20           pem: free5gc/support/TLS/smf.pem
21       serviceNameList:
22         - nsmf-pdusession
23         - nsmf-event-exposure
24         - nsmf-oam
25       snssaiInfos:
26         - sNssai:
27             sst: {{ .Values.sNssaiInfos.sNssai.sst }}
28             sd: {{ .Values.sNssaiInfos.sNssai.sd }}
29           dnnInfos:
30             - dnn: {{ .Values.sNssaiInfos.sNssai.dnnInfos.dnn }}
31               dns:
32                 ipv4: 8.8.8.8
33                 ipv6: 2001:4860:4860::8888
34               ueSubnet: {{ .Values.sNssaiInfos.sNssai.dnnInfos.ueSubnet }}
35         - sNssai:
36             sst: {{ .Values.sNssaiInfos.sNssai.sst }}
37             sd: 112233
38           dnnInfos:
39             - dnn: internet
40               dns:
41                 ipv4: 8.8.8.8
42                 ipv6: 2001:4860:4860::8888
43               ueSubnet: {{ .Values.sNssaiInfos.sNssai.dnnInfos.ueSubnet }}
44       pfcp:
45 {{ .Values.pfcp | toYaml | indent 8 }}
46       userplane_information:
47 {{ .Values.userplane_information | toYaml | indent 8 }}
48       nrfUri: {{ .Values.configuration.nrfUri }}
49       ulcl: false
50
51   uerouting.yaml: |
52     info:
53       version: 1.0.0
54       description: Routing information for UE
55     
56     ueRoutingInfo:
57       - SUPI: imsi-2089300007487
58         AN: 10.200.200.101
59         PathList:
60           - DestinationIP: 60.60.0.101
61             DestinationPort: 8888
62             UPF: !!seq
63               - BranchingUPF
64               - AnchorUPF1
65     
66           - DestinationIP: 60.60.0.103
67             DestinationPort: 9999
68             UPF: !!seq
69               - BranchingUPF
70               - AnchorUPF2
71     
72       - SUPI: imsi-2089300007486
73         AN: 10.200.200.102
74         PathList:
75           - DestinationIP: 10.0.0.10
76             DestinationPort: 8888
77             UPF: !!seq
78               - BranchingUPF
79               - AnchorUPF1
80     
81           - DestinationIP: 10.0.0.11
82             DestinationPort: 9999
83             UPF: !!seq
84               - BranchingUPF
85               - AnchorUPF2
86
87     # routeProfile:
88     #   MEC1:
89     #     forwardingPolicyID: 10
90     #
91     # pfdDataForApp:
92     #   - applicationId: edge
93     #     pfds:
94     #       - pfdID: pfd1
95     #         flowDescriptions:
96     #           - permit out ip from 60.60.0.1 8080 to any
97
98   free5GC.conf: |
99     db_uri: {{ .Values.configuration.mongodb.url }}/free5GC
100     #all logging levels
101     #panic
102     #fatal
103     #error
104     #warn
105     #info
106     #debug
107     #trace
108     logger:
109     # network function
110       AMF:
111         debugLevel: info
112         ReportCaller: true
113       SMF:
114         debugLevel: debug
115         ReportCaller: true
116       UDR:
117         debugLevel: info
118         ReportCaller: true
119       UDM:
120         debugLevel: info
121         ReportCaller: true
122       NRF:
123         debugLevel: info
124         ReportCaller: true
125       PCF:
126         debugLevel: info
127         ReportCaller: true
128       AUSF:
129         debugLevel: info
130         ReportCaller: true
131       N3IWF:
132         debugLevel: info
133         ReportCaller: true
134     # library
135       NAS:
136         debugLevel: info
137         ReportCaller: true
138       FSM:
139         debugLevel: info
140         ReportCaller: true
141       NGAP:
142         debugLevel: info
143         ReportCaller: true
144       NamfComm:
145         debugLevel: info
146         ReportCaller: true
147       NamfEventExposure:
148         debugLevel: info
149         ReportCaller: true
150       NsmfPDUSession:
151         debugLevel: info
152         ReportCaller: true
153       NudrDataRepository:
154         debugLevel: info
155         ReportCaller: true
156       OpenApi:
157         debugLevel: debug
158         ReportCaller: true
159       Aper:
160         debugLevel: info
161         ReportCaller: true
162       CommonConsumerTest:
163         debugLevel: info
164         ReportCaller: true
165     # webui
166       WEBUI:
167         debugLevel: info
168         ReportCaller: true
169 ---
170 apiVersion: v1
171 kind: Secret
172 metadata:
173    name: f5gc-smf-tls-secret
174 type: Opaque
175 data:
176    {{ tpl (.Files.Glob "resources/config/cert/smf.pem").AsSecrets . | indent 2 }}
177    {{ tpl (.Files.Glob "resources/config/cert/smf.key").AsSecrets . | indent 2 }}