blob: 99d802f7664c00d59655da28f57f8cea609cfcf0 [file] [log] [blame]
sourabh_sourabh9a76aa32023-07-25 10:58:52 +01001.. This work is licensed under a Creative Commons Attribution 4.0 International License.
2.. http://creativecommons.org/licenses/by/4.0
3.. Copyright (C) 2023 Nordix Foundation
4
5.. DO NOT CHANGE THIS LABEL FOR RELEASE NOTES - EVEN THOUGH IT GIVES A WARNING
6.. _dataOperationMessageStatusCodes:
7
8
9CPS-NCMP Message Status Codes
10#############################
11
12 +-----------------+------------------------------------------------------+-----------------------------------+
13 | Status Code | Status Message | Feature |
14 +=================+======================================================+===================================+
15 | 0 | Successfully applied changes | Data Operation |
16 +-----------------+------------------------------------------------------+-----------------------------------+
17 | 1 | successfully applied subscription | CM Data Notification Subscription |
18 +-----------------+------------------------------------------------------+-----------------------------------+
19 | 100 | cm handle id(s) is(are) not found | Data Operation |
20 +-----------------+------------------------------------------------------+-----------------------------------+
21 | 101 | cm handle id(s) is(are) in non ready state | Data Operation |
22 +-----------------+------------------------------------------------------+-----------------------------------+
23 | 102 | dmi plugin service is not responding | Data Operation |
24 +-----------------+------------------------------------------------------+-----------------------------------+
25 | 103 | dmi plugin service is not able to read resource data | Data Operation |
26 +-----------------+------------------------------------------------------+-----------------------------------+
27 | 104 | partially applied subscription | CM Data Notification Subscription |
28 +-----------------+------------------------------------------------------+-----------------------------------+
29 | 105 | subscription not applicable for all cm handles | CM Data Notification Subscription |
30 +-----------------+------------------------------------------------------+-----------------------------------+
31 | 106 | subscription pending for all cm handles | CM Data Notification Subscription |
32 +-----------------+------------------------------------------------------+-----------------------------------+
33
34.. note::
35
36 - Single response format for all scenarios both positive and error, just using optional fields instead.
37 - status-code 0-99 is reserved for any success response.
38 - status-code from 100 to 199 is reserved for any failed response.
39
40
41