Unable to parse error message: Were using NSO restconf APIs to create/modify services. Here is one of the error messages "error-message": "Python cb_pre_modification error. Delete on inter-layer-link ('P-BOTTOMRIGHT', '0/0/0/1') is not allowed at this moment, it in use by ron-ml BROWN_OLS_TPRHT_BTMRGT_400_TR service.STATUS_CODE: RON-421REASON: The inter-layer-link entry cannot be edited or deleted at the moment.CATEGORY: userSEVERITY: ERRORContext [name = inter-layer-link db edit state = {'Opertion': 'Delete', 'Keypath': '/cisco-ron-cfp:ron/inter-layer-link{P-BOTTOMRIGHT 0/0/0/1}', 'used-by': 'BROWN_OLS_TPRHT_BTMRGT_400_TR'}]"In this case ideally we would like to tell the user that Delete on inter-layer-link ('P-BOTTOMRIGHT', '0/0/0/1') is not allowed at this moment, it in use by ron-ml BROWN_OLS_TPRHT_BTMRGT_400_TR service.Which is part of the error-message, but can also be constructed using the REASON and used-by fileds.We will go ahead and attempt to parse the message per case basis but wanted to understand if there is a logic that can be followed generically. Or a list of status codes on which a certain method can be followed.
Had a call with Mukul and had a discussion regarding RON status codes. Questions and issues was resolved.Worked with Mukul to answer queries and provide RON status code bootstrap file