ietf

How to exclude module name in leaf value of Identityref during ODL validation?

痴心易碎 提交于 2019-12-13 03:22:54
问题 I have YANG model and JSON object which will be verified by ODL (see bellow). I need to exclude module name from JSON to verify. When I exclude module name from identityref ("type": "center-car-sale-type:sedan") and send only identityref name ("type": "sedan") ODL throw exception that this identityref is not found. I want to send object without module name because "module name" + "identityref name" leads to mix metadata and instance. How can I set up ODL validation to avoid module name in