Seed code for Routing Manager (ric-plt/rtmgr).
[ric-plt/rtmgr.git] / test / kubernetes / xmgr / xmgr-cfg.yaml
diff --git a/test/kubernetes/xmgr/xmgr-cfg.yaml b/test/kubernetes/xmgr/xmgr-cfg.yaml
new file mode 100644 (file)
index 0000000..a12c824
--- /dev/null
@@ -0,0 +1,101 @@
+#
+#==================================================================================
+#   Copyright (c) 2019 AT&T Intellectual Property.
+#   Copyright (c) 2019 Nokia
+#
+#   Licensed under the Apache License, Version 2.0 (the "License");
+#   you may not use this file except in compliance with the License.
+#   You may obtain a copy of the License at
+#
+#       http://www.apache.org/licenses/LICENSE-2.0
+#
+#   Unless required by applicable law or agreed to in writing, software
+#   distributed under the License is distributed on an "AS IS" BASIS,
+#   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+#   See the License for the specific language governing permissions and
+#   limitations under the License.
+#==================================================================================
+#
+#
+#   Abstract:           Static dataset distributed by the Test xApp Manager
+#   Date:              29 March 2019
+#
+apiVersion: v1
+kind: ConfigMap
+metadata:
+  name: xmgrcfg
+  namespace: example
+data:
+  xmgrdata: |
+    { 
+    "xapps":
+        [{
+            "name": "admin",
+            "status": "unknown",
+            "version": "1.2.3",
+            "instances": [{
+                    "name": "admin-01",
+                    "status": "pending",
+                    "ip": "10.244.1.19",
+                    "port": 4561,
+                    "txMessages": ["HandoverPreparation","HandoverCancel"],
+                    "rxMessages": []
+                },
+                {
+                    "name": "admin-02",
+                    "status": "pending",
+                    "ip": "10.244.3.16",
+                    "port": 4555,
+                    "txMessages": ["HandoverPreparation","HandoverCancel"],
+                    "rxMessages": []
+                }
+            ]
+        },
+        {
+            "name": "xapp",
+            "status": "unknown",
+            "version": "1.2.3",
+            "instances": [{
+                    "name": "xapp-01",
+                    "status": "pending",
+                    "ip": "192.168.2.1",
+                    "port": 32300,
+                    "txMessages": ["X2Setup","Reset"],
+                    "rxMessages": ["HandoverPreparation","HandoverCancel"]
+                },
+                {
+                    "name": "xapp-02",
+                    "status": "pending",
+                    "ip": "192.168.2.2",
+                    "port": 32300,
+                    "txMessages": ["X2Setup","Reset"],
+                    "rxMessages": ["HandoverPreparation","HandoverCancel"]
+                }
+            ]
+        },
+        {
+            "name": "e2t",
+            "status": "unknown",
+            "version": "1.2.3",
+            "instances": [{
+                    "name": "e2t-01",
+                    "status": "pending",
+                    "ip": "192.168.3.1",
+                    "port": 32300,
+                    "txMessages": [],
+                    "rxMessages": ["HandoverPreparation","HandoverCancel","X2Setup","Reset"]
+                },
+                {
+                    "name": "e2t-02",
+                    "status": "pending",
+                    "ip": "192.168.3.2",
+                    "port": 32300,
+                    "txMessages": [],
+                    "rxMessages": ["HandoverPreparation","HandoverCancel","X2Setup","Reset"]
+                }
+            ]
+        }
+
+        ]
+    }
+