Adding configmap and services for e2mgr.
[ric-plt/ric-dep.git] / depRicKubernetesOperator / internal / controller / getConfigmap.go
index 1eedf0b..1a4f4ba 100644 (file)
@@ -263,6 +263,112 @@ func GetConfigMap() []*corev1.ConfigMap {
                        Kind:       "ConfigMap",\r
                },\r
        }\r
+\r
+       configMap13 := &corev1.ConfigMap{\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.ricplt:38000\n" +\r
+                               "rte|1100|service-ricplt-e2term-rmr.ricplt:38000\n" +\r
+                               "rte|1101|service-ricplt-e2term-rmr.ricplt:38000\n" +\r
+                               "rte|1200|service-ricplt-rsm-rmr.ricplt:4801\n" +\r
+                               "rte|1210|service-ricplt-rsm-rmr.ricplt:4801\n" +\r
+                               "rte|1220|service-ricplt-rsm-rmr.ricplt:4801\n" +\r
+                               "rte|10020|service-ricplt-e2mgr-rmr.ricplt:3801\n" +\r
+                               "rte|10060|service-ricplt-e2term-rmr.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|10070|service-ricplt-e2term-rmr.ricplt:38000\n" +\r
+                               "rte|10071|service-ricplt-e2term-rmr.ricplt:38000\n" +\r
+                               "rte|10080|service-ricplt-e2mgr-rmr.ricplt:3801\n" +\r
+                               "rte|10360|service-ricplt-e2term-rmr.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.ricplt:38000\n" +\r
+                               "rte|12010|service-ricplt-e2term-rmr.ricplt:38000\n" +\r
+                               "rte|12020|service-ricplt-e2term-rmr.ricplt:38000\n" +\r
+                               "rte|20001|service-ricplt-a1mediator-rmr.ricplt:4562\n" +\r
+                               "newrt|end",\r
+               },\r
+               ObjectMeta: metav1.ObjectMeta{\r
+                       Name:      "configmap-ricplt-e2mgr-router-configmap",\r
+                       Namespace: "ricplt",\r
+               },\r
+               TypeMeta: metav1.TypeMeta{\r
+                       APIVersion: "v1",\r
+                       Kind:       "ConfigMap",\r
+               },\r
+       }\r
+\r
+       configMap14 := &corev1.ConfigMap{\r
+               Data: map[string]string{\r
+                       "configuration.yaml": "logging:\n" +\r
+                               "  logLevel:  \"info\"     \n" +\r
+                               "http:\n" +\r
+                               "  port: 3800\n" +\r
+                               "rmr:\n" +\r
+                               "  port: 3801\n" +\r
+                               "  maxMsgSize: 65536\n" +\r
+                               "\n" +\r
+                               "routingManager:\n" +\r
+                               "  baseUrl: \"http://service-ricplt-rtmgr-http:3800/ric/v1/handles/\"\n" +\r
+                               "notificationResponseBuffer: 100\n" +\r
+                               "bigRedButtonTimeoutSec: 5 \n" +\r
+                               "maxConnectionAttempts: 3 \n" +\r
+                               "maxRnibConnectionAttempts: 3 \n" +\r
+                               "rnibRetryIntervalMs: 10\n" +\r
+                               "keepAliveResponseTimeoutMs: 360000\n" +\r
+                               "keepAliveDelayMs: 120000\n" +\r
+                               "\n" +\r
+                               "globalRicId:\n" +\r
+                               "  ricId: \"AACCE\"\n" +\r
+                               "  mcc: \"310\"\n" +\r
+                               "  mnc: \"411\"\n" +\r
+                               "  \n" +\r
+                               "rnibWriter:\n" +\r
+                               "  stateChangeMessageChannel: \"RAN_CONNECTION_STATUS_CHANGE\"\n" +\r
+                               "  ranManipulationMessageChannel: \"RAN_MANIPULATION\"",\r
+               },\r
+               ObjectMeta: metav1.ObjectMeta{\r
+                       Name:      "configmap-ricplt-e2mgr-configuration-configmap",\r
+                       Namespace: "ricplt",\r
+               },\r
+               TypeMeta: metav1.TypeMeta{\r
+                       APIVersion: "v1",\r
+                       Kind:       "ConfigMap",\r
+               },\r
+       }\r
+\r
+       configMap15 := &corev1.ConfigMap{\r
+               Data: map[string]string{\r
+                       "logcfg": "loglevel: 3",\r
+               },\r
+               ObjectMeta: metav1.ObjectMeta{\r
+                       Name:      "configmap-ricplt-e2mgr-loglevel-configmap",\r
+                       Namespace: "ricplt",\r
+               },\r
+               TypeMeta: metav1.TypeMeta{\r
+                       APIVersion: "v1",\r
+                       Kind:       "ConfigMap",\r
+               },\r
+       }\r
+\r
+       configMap16 := &corev1.ConfigMap{\r
+               Data: map[string]string{\r
+                       "RMR_RTG_SVC": "4561",\r
+                       "RMR_SRC_ID":  "service-ricplt-e2mgr-rmr.ricplt",\r
+               },\r
+               ObjectMeta: metav1.ObjectMeta{\r
+                       Name: "configmap-ricplt-e2mgr-env",\r
+               },\r
+               TypeMeta: metav1.TypeMeta{\r
+                       APIVersion: "v1",\r
+                       Kind:       "ConfigMap",\r
+               },\r
+       }\r
        \r
-       return []*corev1.ConfigMap{configMap1, configMap2, configMap3, configMap4, configMap5, configMap6,configMap7, configMap8, configMap9}\r
+       return []*corev1.ConfigMap{configMap1, configMap2, configMap3, configMap4, configMap5, configMap6,configMap7, configMap8, configMap9, configMap10, configMap11, configMap12, configMap13, configMap14, configMap15, configMap16}\r
 }\r