Hi,
My observation when I encountered this error is as follows -

This happens when you have some unresolved imports. You should ideally see the 
following message above the error that you captured in your screenshot above -
Unable to build schema context, unsatisfied imports
This lists the yang imports that could not be resolved.

This happens because the yangs reported as part of get schemas rpc call below -
<rpc message-id="m-0" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
    <get>
        <filter xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" 
ns0:type="subtree">
            <netconf-state 
xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">
                <schemas/>
            </netconf-state>
        </filter>
    </get>
</rpc>
are incomplete i.e., they do not include all the required yangs used in imports 
across all the yangs being used for creating a schema context and hence the 
schema context creation fails.

Regards,
Ravi


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9118): https://lists.opendaylight.org/g/Discuss/message/9118
Mute This Topic: https://lists.opendaylight.org/mt/107429083/21656
Group Owner: discuss+ow...@lists.opendaylight.org
Unsubscribe: https://lists.opendaylight.org/g/Discuss/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to