summaryrefslogtreecommitdiffstats
path: root/docs/cps-ncmp-message-status-codes.rst
blob: e0a3f0308bf34bacf5584e78c961b929b8203789 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
.. This work is licensed under a Creative Commons Attribution 4.0 International License.
.. http://creativecommons.org/licenses/by/4.0
.. Copyright (C) 2023-2024 Nordix Foundation

.. DO NOT CHANGE THIS LABEL FOR RELEASE NOTES - EVEN THOUGH IT GIVES A WARNING
.. _dataOperationMessageStatusCodes:


CPS-NCMP Message Status Codes
#############################

    +-----------------+------------------------------------------------------+-----------------------------------+
    | Status Code     | Status Message                                       | Feature(s)                        |
    +=================+======================================================+===================================+
    | 0               | Successfully applied changes                         | Data Operation                    |
    +-----------------+------------------------------------------------------+-----------------------------------+
    | 1               | ACCEPTED                                             | CM Data Notification Subscription |
    +-----------------+------------------------------------------------------+-----------------------------------+
    | 100             | cm handle id(s) is(are) not found                    | All features                      |
    +-----------------+------------------------------------------------------+-----------------------------------+
    | 101             | cm handle(s) not ready                               | Data Operation                    |
    +-----------------+------------------------------------------------------+-----------------------------------+
    | 102             | dmi plugin service is not responding                 | Data Operation                    |
    +-----------------+------------------------------------------------------+-----------------------------------+
    | 103             | dmi plugin service is not able to read resource data | Data Operation                    |
    +-----------------+------------------------------------------------------+-----------------------------------+
    | 104             | REJECTED                                             | CM Data Notification Subscription |
    +-----------------+------------------------------------------------------+-----------------------------------+
    | 107             | southbound system is busy                            | Data Operation                    |
    +-----------------+------------------------------------------------------+-----------------------------------+
    | 108             | Unknown error                                        | All features                      |
    +-----------------+------------------------------------------------------+-----------------------------------+
    | 109             | cm-handle already exists                             | Inventory                         |
    +-----------------+------------------------------------------------------+-----------------------------------+
    | 110             | cm-handle has an invalid character(s) in id          | Inventory                         |
    +-----------------+------------------------------------------------------+-----------------------------------+
    | 111             | alternate id already associated                      | Inventory                         |
    +-----------------+------------------------------------------------------+-----------------------------------+
    | 112             | message too large                                    | Data Operation                    |
    +-----------------+------------------------------------------------------+-----------------------------------+

.. note::

    - Single response format for all scenarios both positive and error, just using optional fields instead.
    - status-code 0-99 is reserved for any success response.
    - status-code from 100 to 199 is reserved for any failed response.