Hyunsun Moon | 06f9855 | 2019-08-15 13:44:47 -0600 | [diff] [blame] | 1 | {{/* |
| 2 | Copyright 2019-present Open Networking Foundation |
Hyunsun Moon | 636e17d | 2019-07-03 12:52:15 -0500 | [diff] [blame] | 3 | |
Hyunsun Moon | 06f9855 | 2019-08-15 13:44:47 -0600 | [diff] [blame] | 4 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | you may not use this file except in compliance with the License. |
| 6 | You may obtain a copy of the License at |
Hyunsun Moon | 636e17d | 2019-07-03 12:52:15 -0500 | [diff] [blame] | 7 | |
Hyunsun Moon | 06f9855 | 2019-08-15 13:44:47 -0600 | [diff] [blame] | 8 | http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | */}} |
| 16 | |
| 17 | {{- if not (hasKey .Values.config.mme.s6a "host") -}} |
Hyunsun Moon | 7a007bb | 2019-08-19 16:41:36 -0600 | [diff] [blame^] | 18 | {{- $_ := tuple "hss" "identity" . | include "omec-control-plane.endpoint_lookup" | set .Values.config.mme.s6a "host" -}} |
Hyunsun Moon | 636e17d | 2019-07-03 12:52:15 -0500 | [diff] [blame] | 19 | {{- end }} |
Hyunsun Moon | 06f9855 | 2019-08-15 13:44:47 -0600 | [diff] [blame] | 20 | {{- if not (hasKey .Values.config.mme.s6a "realm") -}} |
Hyunsun Moon | 7a007bb | 2019-08-19 16:41:36 -0600 | [diff] [blame^] | 21 | {{- $_ := tuple "hss" "realm" . | include "omec-control-plane.endpoint_lookup" | set .Values.config.mme.s6a "realm" -}} |
Hyunsun Moon | 636e17d | 2019-07-03 12:52:15 -0500 | [diff] [blame] | 22 | {{- end }} |
Hyunsun Moon | 636e17d | 2019-07-03 12:52:15 -0500 | [diff] [blame] | 23 | --- |
| 24 | apiVersion: v1 |
| 25 | kind: ConfigMap |
| 26 | metadata: |
Hyunsun Moon | 06f9855 | 2019-08-15 13:44:47 -0600 | [diff] [blame] | 27 | name: mme |
| 28 | labels: |
Hyunsun Moon | 7a007bb | 2019-08-19 16:41:36 -0600 | [diff] [blame^] | 29 | {{ tuple "mme" . | include "omec-control-plane.metadata_labels" | indent 4 }} |
Hyunsun Moon | 636e17d | 2019-07-03 12:52:15 -0500 | [diff] [blame] | 30 | data: |
Hyunsun Moon | 06f9855 | 2019-08-15 13:44:47 -0600 | [diff] [blame] | 31 | config.json: {{ toJson .Values.config.mme | quote }} |
Hyunsun Moon | 636e17d | 2019-07-03 12:52:15 -0500 | [diff] [blame] | 32 | s6a_fd.conf: | |
| 33 | # -------- Test configuration --------- |
| 34 | AppServThreads = 40; |
| 35 | SCTP_streams = 3; |
| 36 | NoRelay; |
| 37 | No_IPv6; |
| 38 | |
| 39 | # Identity = "<diameter_host>.<diameter_realm>"; |
Hyunsun Moon | 7a007bb | 2019-08-19 16:41:36 -0600 | [diff] [blame^] | 40 | Identity = {{ tuple "mme" "identity" . | include "omec-control-plane.endpoint_lookup" | quote }}; |
| 41 | Realm = {{ tuple "mme" "realm" . | include "omec-control-plane.endpoint_lookup" | quote }}; |
Hyunsun Moon | 636e17d | 2019-07-03 12:52:15 -0500 | [diff] [blame] | 42 | # Port = 3868; |
| 43 | # SecPort = 3869; |
| 44 | |
Hyunsun Moon | 7a007bb | 2019-08-19 16:41:36 -0600 | [diff] [blame^] | 45 | ConnectPeer = {{ tuple "hss" "identity" . | include "omec-control-plane.endpoint_lookup" | quote }} { No_TLS; port = 3868; }; |
Hyunsun Moon | 636e17d | 2019-07-03 12:52:15 -0500 | [diff] [blame] | 46 | |
| 47 | # TLS_Cred = "<diameter_host>.cert.pem", "<diameter_host>.key.pem"; |
Hyunsun Moon | 7a007bb | 2019-08-19 16:41:36 -0600 | [diff] [blame^] | 48 | TLS_Cred = "conf/{{ tuple "mme" "host" . | include "omec-control-plane.endpoint_lookup" }}.cert.pem", |
| 49 | "conf/{{ tuple "mme" "host" . | include "omec-control-plane.endpoint_lookup" }}.key.pem"; |
Hyunsun Moon | 636e17d | 2019-07-03 12:52:15 -0500 | [diff] [blame] | 50 | TLS_CA = "conf/cacert.pem"; |
| 51 | |
| 52 | LoadExtension = "/usr/local/lib/freeDiameter/dict_3gpp2_avps.fdx"; |
| 53 | #LoadExtension = "/usr/local/lib/freeDiameter/dict_CreditControl.fdx"; |
| 54 | #LoadExtension = "/usr/local/lib/freeDiameter/dict_base_rfc6733.fdx"; |
| 55 | ### |
| 56 | LoadExtension = "/usr/local/lib/freeDiameter/dict_draftload_avps.fdx"; |
| 57 | LoadExtension = "/usr/local/lib/freeDiameter/dict_etsi283034_avps.fdx"; |
| 58 | LoadExtension = "/usr/local/lib/freeDiameter/dict_rfc4004_avps.fdx"; |
| 59 | LoadExtension = "/usr/local/lib/freeDiameter/dict_rfc4006bis_avps.fdx"; |
| 60 | LoadExtension = "/usr/local/lib/freeDiameter/dict_rfc4072_avps.fdx"; |
| 61 | LoadExtension = "/usr/local/lib/freeDiameter/dict_rfc4590_avps.fdx"; |
| 62 | LoadExtension = "/usr/local/lib/freeDiameter/dict_rfc5447_avps.fdx"; |
| 63 | LoadExtension = "/usr/local/lib/freeDiameter/dict_rfc5580_avps.fdx"; |
| 64 | LoadExtension = "/usr/local/lib/freeDiameter/dict_rfc5777_avps.fdx"; |
| 65 | LoadExtension = "/usr/local/lib/freeDiameter/dict_rfc5778_avps.fdx"; |
| 66 | ### |
| 67 | LoadExtension = "/usr/local/lib/freeDiameter/dict_rfc6734_avps.fdx"; |
| 68 | LoadExtension = "/usr/local/lib/freeDiameter/dict_rfc6942_avps.fdx"; |
| 69 | LoadExtension = "/usr/local/lib/freeDiameter/dict_rfc7155_avps.fdx"; |
| 70 | LoadExtension = "/usr/local/lib/freeDiameter/dict_rfc7683_avps.fdx"; |
| 71 | LoadExtension = "/usr/local/lib/freeDiameter/dict_rfc7944_avps.fdx"; |
| 72 | LoadExtension = "/usr/local/lib/freeDiameter/dict_ts29061_avps.fdx"; |
| 73 | LoadExtension = "/usr/local/lib/freeDiameter/dict_ts29128_avps.fdx"; |
| 74 | LoadExtension = "/usr/local/lib/freeDiameter/dict_ts29154_avps.fdx"; |
| 75 | LoadExtension = "/usr/local/lib/freeDiameter/dict_ts29173_avps.fdx"; |
| 76 | LoadExtension = "/usr/local/lib/freeDiameter/dict_ts29212_avps.fdx"; |
| 77 | LoadExtension = "/usr/local/lib/freeDiameter/dict_ts29214_avps.fdx"; |
| 78 | LoadExtension = "/usr/local/lib/freeDiameter/dict_ts29215_avps.fdx"; |
| 79 | LoadExtension = "/usr/local/lib/freeDiameter/dict_ts29217_avps.fdx"; |
| 80 | LoadExtension = "/usr/local/lib/freeDiameter/dict_ts29229_avps.fdx"; |
| 81 | LoadExtension = "/usr/local/lib/freeDiameter/dict_ts29272_avps.fdx"; |
| 82 | LoadExtension = "/usr/local/lib/freeDiameter/dict_ts29273_avps.fdx"; |
| 83 | LoadExtension = "/usr/local/lib/freeDiameter/dict_ts29329_avps.fdx"; |
| 84 | LoadExtension = "/usr/local/lib/freeDiameter/dict_ts29336_avps.fdx"; |
| 85 | LoadExtension = "/usr/local/lib/freeDiameter/dict_ts29337_avps.fdx"; |
| 86 | LoadExtension = "/usr/local/lib/freeDiameter/dict_ts29338_avps.fdx"; |
| 87 | LoadExtension = "/usr/local/lib/freeDiameter/dict_ts29343_avps.fdx"; |
| 88 | LoadExtension = "/usr/local/lib/freeDiameter/dict_ts29344_avps.fdx"; |
| 89 | LoadExtension = "/usr/local/lib/freeDiameter/dict_ts29345_avps.fdx"; |
| 90 | LoadExtension = "/usr/local/lib/freeDiameter/dict_ts29368_avps.fdx"; |
| 91 | LoadExtension = "/usr/local/lib/freeDiameter/dict_ts29468_avps.fdx"; |
| 92 | LoadExtension = "/usr/local/lib/freeDiameter/dict_ts32299_avps.fdx"; |
| 93 | #LoadExtension = "/usr/local/lib/freeDiameter/dict_CxDx.fdx"; |
| 94 | #LoadExtension = "/usr/local/lib/freeDiameter/dict_Gx.fdx"; |
| 95 | #LoadExtension = "/usr/local/lib/freeDiameter/dict_NAS.fdx"; |
| 96 | #LoadExtension = "/usr/local/lib/freeDiameter/dict_Rf.fdx"; |
| 97 | #LoadExtension = "/usr/local/lib/freeDiameter/dict_Ro.fdx"; |
| 98 | #LoadExtension = "/usr/local/lib/freeDiameter/dict_Rx.fdx"; |
| 99 | LoadExtension = "/usr/local/lib/freeDiameter/dict_S6as6d.fdx"; |
| 100 | LoadExtension = "/usr/local/lib/freeDiameter/dict_S6c.fdx"; |
| 101 | #LoadExtension = "/usr/local/lib/freeDiameter/dict_S6mS6n.fdx"; |
| 102 | LoadExtension = "/usr/local/lib/freeDiameter/dict_S6t.fdx"; |
| 103 | #LoadExtension = "/usr/local/lib/freeDiameter/dict_S9.fdx"; |
| 104 | LoadExtension = "/usr/local/lib/freeDiameter/dict_SGd.fdx"; |
| 105 | #LoadExtension = "/usr/local/lib/freeDiameter/dict_SLh.fdx"; |
| 106 | #LoadExtension = "/usr/local/lib/freeDiameter/dict_Sd.fdx"; |
| 107 | #LoadExtension = "/usr/local/lib/freeDiameter/dict_Sh.fdx"; |
| 108 | #LoadExtension = "/usr/local/lib/freeDiameter/dict_T4.fdx"; |
| 109 | LoadExtension = "/usr/local/lib/freeDiameter/dict_T6aT6bT7.fdx"; |
| 110 | #LoadExtension = "/usr/local/lib/freeDiameter/dict_Tsp.fdx"; |
| 111 | mme-init.sh: | |
Hyunsun Moon | 7a007bb | 2019-08-19 16:41:36 -0600 | [diff] [blame^] | 112 | {{ tuple "bin/_mme-init.sh.tpl" . | include "omec-control-plane.template" | indent 4 }} |
Hyunsun Moon | 636e17d | 2019-07-03 12:52:15 -0500 | [diff] [blame] | 113 | mme-run.sh : | |
Hyunsun Moon | 7a007bb | 2019-08-19 16:41:36 -0600 | [diff] [blame^] | 114 | {{ tuple "bin/_mme-run.sh.tpl" . | include "omec-control-plane.template" | indent 4 }} |