Towards release 1.0.0 (for O-RAN A)
[ric-plt/a1.git] / tests / fixtures / ricmanifest.json
1 {
2   "controls":[
3     {
4       "name":20000,
5       "description":"various parameters to control admission of dual connection",
6       "control_state_request_rmr_type":"DC_ADM_GET_POLICY",
7       "control_state_request_reply_rmr_type":"DC_ADM_GET_POLICY_ACK",
8       "message_receives_rmr_type":"DC_ADM_INT_CONTROL",
9       "message_receives_payload_schema":{
10         "$schema":"http://json-schema.org/draft-07/schema#",
11         "type":"object",
12         "properties":{
13           "enforce":{
14             "type":"boolean",
15             "default":true
16           },
17           "window_length":{
18             "type":"integer",
19             "default":1,
20             "minimum":1,
21             "maximum":60,
22             "description":"Sliding window length (in minutes)"
23           },
24           "blocking_rate":{
25             "type":"number",
26             "default":10,
27             "minimum":1,
28             "maximum":100,
29             "description":"% Connections to block"
30           },
31           "trigger_threshold":{
32             "type":"integer",
33             "default":10,
34             "minimum":1,
35             "description":"Minimum number of events in window to trigger blocking"
36           }
37         },
38         "required":[
39           "enforce",
40           "blocking_rate",
41           "trigger_threshold",
42           "window_length"
43         ],
44         "additionalProperties":false
45       },
46       "message_sends_rmr_type":"DC_ADM_INT_CONTROL_ACK",
47       "message_sends_payload_schema":{
48         "$schema":"http://json-schema.org/draft-07/schema#",
49         "type":"object",
50         "properties":{
51           "status":{
52             "type":"string",
53             "enum":[
54               "SUCCESS",
55               "FAIL"
56             ]
57           },
58           "message":{
59             "type":"string"
60           }
61         },
62         "required":[
63           "status"
64         ],
65         "additionalProperties":false
66       }
67     },
68     {
69       "name":20001,
70       "description":"for the purposes of testing",
71       "message_receives_rmr_type":"TEST_REQ",
72       "message_sends_rmr_type":"TEST_ACK",
73       "message_sends_payload_schema":{
74         "$schema":"http://json-schema.org/draft-07/schema#",
75         "type":"object",
76         "properties":{
77           "status":{
78             "type":"string",
79             "enum":[
80               "SUCCESS",
81               "FAIL"
82             ]
83           }
84         }
85       }
86     }
87   ]
88 }