Seed code for Routing Manager (ric-plt/rtmgr).
[ric-plt/rtmgr.git] / test / kubernetes / xmgr / xmgr-cfg.yaml
1 #
2 #==================================================================================
3 #   Copyright (c) 2019 AT&T Intellectual Property.
4 #   Copyright (c) 2019 Nokia
5 #
6 #   Licensed under the Apache License, Version 2.0 (the "License");
7 #   you may not use this file except in compliance with the License.
8 #   You may obtain a copy of the License at
9 #
10 #       http://www.apache.org/licenses/LICENSE-2.0
11 #
12 #   Unless required by applicable law or agreed to in writing, software
13 #   distributed under the License is distributed on an "AS IS" BASIS,
14 #   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 #   See the License for the specific language governing permissions and
16 #   limitations under the License.
17 #==================================================================================
18 #
19 #
20 #   Abstract:           Static dataset distributed by the Test xApp Manager
21 #   Date:               29 March 2019
22 #
23 apiVersion: v1
24 kind: ConfigMap
25 metadata:
26   name: xmgrcfg
27   namespace: example
28 data:
29   xmgrdata: |
30     { 
31     "xapps":
32         [{
33             "name": "admin",
34             "status": "unknown",
35             "version": "1.2.3",
36             "instances": [{
37                     "name": "admin-01",
38                     "status": "pending",
39                     "ip": "10.244.1.19",
40                     "port": 4561,
41                     "txMessages": ["HandoverPreparation","HandoverCancel"],
42                     "rxMessages": []
43                 },
44                 {
45                     "name": "admin-02",
46                     "status": "pending",
47                     "ip": "10.244.3.16",
48                     "port": 4555,
49                     "txMessages": ["HandoverPreparation","HandoverCancel"],
50                     "rxMessages": []
51                 }
52             ]
53         },
54         {
55             "name": "xapp",
56             "status": "unknown",
57             "version": "1.2.3",
58             "instances": [{
59                     "name": "xapp-01",
60                     "status": "pending",
61                     "ip": "192.168.2.1",
62                     "port": 32300,
63                     "txMessages": ["X2Setup","Reset"],
64                     "rxMessages": ["HandoverPreparation","HandoverCancel"]
65                 },
66                 {
67                     "name": "xapp-02",
68                     "status": "pending",
69                     "ip": "192.168.2.2",
70                     "port": 32300,
71                     "txMessages": ["X2Setup","Reset"],
72                     "rxMessages": ["HandoverPreparation","HandoverCancel"]
73                 }
74             ]
75         },
76         {
77             "name": "e2t",
78             "status": "unknown",
79             "version": "1.2.3",
80             "instances": [{
81                     "name": "e2t-01",
82                     "status": "pending",
83                     "ip": "192.168.3.1",
84                     "port": 32300,
85                     "txMessages": [],
86                     "rxMessages": ["HandoverPreparation","HandoverCancel","X2Setup","Reset"]
87                 },
88                 {
89                     "name": "e2t-02",
90                     "status": "pending",
91                     "ip": "192.168.3.2",
92                     "port": 32300,
93                     "txMessages": [],
94                     "rxMessages": ["HandoverPreparation","HandoverCancel","X2Setup","Reset"]
95                 }
96             ]
97         }
98
99         ]
100     }
101