Adding Configmap for e2term
[ric-plt/ric-dep.git] / depRicKubernetesOperator / internal / controller / getConfigmap.go
index 1a4f4ba..af56cd3 100644 (file)
@@ -369,6 +369,88 @@ func GetConfigMap() []*corev1.ConfigMap {
                        Kind:       "ConfigMap",\r
                },\r
        }\r
-       \r
-       return []*corev1.ConfigMap{configMap1, configMap2, configMap3, configMap4, configMap5, configMap6,configMap7, configMap8, configMap9, configMap10, configMap11, configMap12, configMap13, configMap14, configMap15, configMap16}\r
+\r
+       configMap17 := &corev1.ConfigMap{\r
+               Data: map[string]string{\r
+                       "log-level": "log-level: 3",\r
+               },\r
+               ObjectMeta: metav1.ObjectMeta{\r
+                       Name:      "configmap-ricplt-e2term-loglevel-configmap",\r
+                       Namespace: "ricplt",\r
+               },\r
+               TypeMeta: metav1.TypeMeta{\r
+                       APIVersion: "v1",\r
+                       Kind:       "ConfigMap",\r
+               },\r
+       }\r
+\r
+       configMap18 := &corev1.ConfigMap{\r
+               ObjectMeta: metav1.ObjectMeta{\r
+                       Name:      "configmap-ricplt-e2term-router-configmap",\r
+                       Namespace: "ricplt",\r
+               },\r
+               TypeMeta: metav1.TypeMeta{\r
+                       APIVersion: "v1",\r
+                       Kind:       "ConfigMap",\r
+               },\r
+               Data: map[string]string{\r
+                       "rmr_verbose": "0\n" +\r
+                               "",\r
+                       "router.txt": "newrt|start\n" +\r
+                               "rte|1080|service-ricplt-e2mgr-rmr.ricplt:3801\n" +\r
+                               "rte|1090|service-ricplt-e2term-rmr-alpha.ricplt:38000\n" +\r
+                               "rte|1100|service-ricplt-e2mgr-rmr.ricplt:3801\n" +\r
+                               "rte|10020|service-ricplt-e2mgr-rmr.ricplt:3801\n" +\r
+                               "rte|10060|service-ricplt-e2term-rmr-alpha.ricplt:38000\n" +\r
+                               "rte|10061|service-ricplt-e2mgr-rmr.ricplt:3801\n" +\r
+                               "rte|10062|service-ricplt-e2mgr-rmr.ricplt:3801\n" +\r
+                               "rte|10030|service-ricplt-e2mgr-rmr.ricplt:3801\n" +\r
+                               "rte|10070|service-ricplt-e2mgr-rmr.ricplt:3801\n" +\r
+                               "rte|10071|service-ricplt-e2mgr-rmr.ricplt:3801\n" +\r
+                               "rte|10080|service-ricplt-e2mgr-rmr.ricplt:3801\n" +\r
+                               "rte|10091|service-ricplt-rsm-rmr.ricplt:4801\n" +\r
+                               "rte|10092|service-ricplt-rsm-rmr.ricplt:4801\n" +\r
+                               "rte|10360|service-ricplt-e2term-rmr-alpha.ricplt:38000\n" +\r
+                               "rte|10361|service-ricplt-e2mgr-rmr.ricplt:3801\n" +\r
+                               "rte|10362|service-ricplt-e2mgr-rmr.ricplt:3801\n" +\r
+                               "rte|10370|service-ricplt-e2mgr-rmr.ricplt:3801\n" +\r
+                               "rte|10371|service-ricplt-e2term-rmr-alpha.ricplt:38000\n" +\r
+                               "rte|12010|service-ricplt-e2term-rmr-alpha.ricplt:38000\n" +\r
+                               "rte|12020|service-ricplt-e2term-rmr-alpha.ricplt:38000\n" +\r
+                               "rte|20001|service-ricplt-a1mediator-rmr.ricplt:4562\n" +\r
+                               "rte|12011|service-ricxapp-ueec-rmr.ricxapp:4560;service-admission-ctrl-xapp-rmr.ricxapp:4560\n" +\r
+                               "rte|12050|service-ricxapp-ueec-rmr.ricxapp:4560;service-admission-ctrl-xapp-rmr.ricxapp:4560\n" +\r
+                               "rte|12012|service-ricxapp-ueec-rmr.ricxapp:4560;service-admission-ctrl-xapp-rmr.ricxapp:4560\n" +\r
+                               "rte|12021|service-ricxapp-ueec-rmr.ricxapp:4560;service-admission-ctrl-xapp-rmr.ricxapp:4560\n" +\r
+                               "rte|12022|service-ricxapp-ueec-rmr.ricxapp:4560;service-admission-ctrl-xapp-rmr.ricxapp:4560\n" +\r
+                               "rte|12041|service-ricxapp-ueec-rmr.ricxapp:4560;service-admission-ctrl-xapp-rmr.ricxapp:4560\n" +\r
+                               "rte|12042|service-ricxapp-ueec-rmr.ricxapp:4560;service-admission-ctrl-xapp-rmr.ricxapp:4560\n" +\r
+                               "rte|12050|service-ricxapp-ueec-rmr.ricxapp:4560;service-admission-ctrl-xapp-rmr.ricxapp:4560\n" +\r
+                               "rte|20000|service-ricxapp-ueec-rmr.ricxapp:4560;service-admission-ctrl-xapp-rmr.ricxapp:4560\n" +\r
+                               "newrt|end",\r
+               },\r
+       }\r
+\r
+       configMap19 := &corev1.ConfigMap{\r
+               ObjectMeta: metav1.ObjectMeta{\r
+                       Name: "configmap-ricplt-e2term-env-alpha",\r
+               },\r
+               TypeMeta: metav1.TypeMeta{\r
+                       APIVersion: "v1",\r
+                       Kind:       "ConfigMap",\r
+               },\r
+               Data: map[string]string{\r
+                       "RMR_SEED_RT":   "router.txt",\r
+                       "RMR_SRC_ID":    "service-ricplt-e2term-rmr-alpha.ricplt",\r
+                       "RMR_VCTL_FILE": "/tmp/rmr_verbose",\r
+                       "nano":          "38000",\r
+                       "print":         "1",\r
+                       "sctp":          "36422",\r
+                       "volume":        "/data/outgoing/",\r
+                       "RMR_RTG_SVC":   "4561",\r
+               },\r
+       }\r
+\r
+\r
+       return []*corev1.ConfigMap{configMap1, configMap2, configMap3, configMap4, configMap5, configMap6,configMap7, configMap8, configMap9, configMap10, configMap11, configMap12, configMap13, configMap14, configMap15, configMap16, configMap17, configMap18, configMap19}\r
 }\r