Release of Routing Manager v0.3.0
[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             {
34                 "name": "admin",
35                 "status": "unknown",
36                 "version": "1.2.3",
37                 "instances": [{
38                         "name": "admin-01",
39                         "status": "pending",
40                         "ip": "10.244.1.19",
41                         "port": 4561,
42                         "txMessages": ["HandoverPreparation","HandoverCancel"],
43                         "rxMessages": []
44                     },
45                     {
46                         "name": "admin-02",
47                         "status": "pending",
48                         "ip": "10.244.3.16",
49                         "port": 4555,
50                         "txMessages": ["HandoverPreparation","HandoverCancel"],
51                         "rxMessages": []
52                     }
53                 ]
54             },
55             {
56                 "name": "xapp",
57                 "status": "unknown",
58                 "version": "1.2.3",
59                 "instances": [{
60                         "name": "xapp-01",
61                         "status": "pending",
62                         "ip": "192.168.2.1",
63                         "port": 32300,
64                         "txMessages": ["X2Setup","Reset"],
65                         "rxMessages": ["HandoverPreparation","HandoverCancel"]
66                     },
67                     {
68                         "name": "xapp-02",
69                         "status": "pending",
70                         "ip": "192.168.2.2",
71                         "port": 32300,
72                         "txMessages": ["X2Setup","Reset"],
73                         "rxMessages": ["HandoverPreparation","HandoverCancel"]
74                     }
75                 ]
76             },
77             {
78                 "name": "e2t",
79                 "status": "unknown",
80                 "version": "1.2.3",
81                 "instances": [{
82                         "name": "e2t-01",
83                         "status": "pending",
84                         "ip": "192.168.3.1",
85                         "port": 32300,
86                         "txMessages": [],
87                         "rxMessages": ["HandoverPreparation","HandoverCancel","X2Setup","Reset"]
88                     },
89                     {
90                         "name": "e2t-02",
91                         "status": "pending",
92                         "ip": "192.168.3.2",
93                         "port": 32300,
94                         "txMessages": [],
95                         "rxMessages": ["HandoverPreparation","HandoverCancel","X2Setup","Reset"]
96                     }
97                 ]
98             }
99     ],
100     "subscriptions":
101         {
102             "id": "1ILBltYYzEGzWRrVPZKmuUmhwcc",
103             "version": 0,
104             "eventType": "all"
105         }
106     }
107