I’m surprised that schemaless will work for you. Not the connection part but at 
the application level.
Can you make the configuration changes you need with a schemaless connection ?

brian



https://docs.opendaylight.org/projects/netconf/en/latest/user-guide.html
Connecting to a device supporting only NETCONF 1.0
OpenDaylight is schema-based distribution and heavily depends on YANG models. 
However some legacy NETCONF devices are not schema-based and implement just RFC 
4741. This type of device does not utilize YANG models internally and 
OpenDaylight does not know how to communicate with such devices, how to 
validate data, or what the semantics of data are.
NETCONF connector can communicate also with these devices, but the trade-offs 
are worsened possibilities in utilization of NETCONF mountpoints. Using 
RESTCONF with such devices is not suported. Also communicating with schemaless 
devices from application code is slightly different.
To connect to schemaless device, there is a optional configuration option in 
netconf-node-topology model called schemaless. You have to set this option to 
true.


From: [email protected] <[email protected]> On Behalf Of 
Kamel Idir via lists.onap.org
Sent: Tuesday, September 8, 2020 1:47 PM
To: Kamel Idir <[email protected]>; [email protected]
Subject: Re: [onap-discuss] #sdnc Facing issues while trying to mount netconf 
server

Hi Brian,

I have fixed my netconf mount issue.

Basically I added this line in my netconf mount request body. and got connected 
to the gNB.

<schemaless xmlns="urn:opendaylight:netconf-node-topology">true</schemaless>

Here is the response of netconf connection check from my Postman.
{
    "node": [
        {
            "node-id": "bb294f67-9c53-4f08-ab8d-d7a842e88585",
            "netconf-node-topology:host": "10.x.x.x",
            "netconf-node-topology:connection-status": "connected",
            "netconf-node-topology:port": 840
        }
    ]
}

Thanks,
Kamel


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#22082): https://lists.onap.org/g/onap-discuss/message/22082
Mute This Topic: https://lists.onap.org/mt/74201211/21656
Mute #sdnc: https://lists.onap.org/g/onap+onap-discuss/mutehashtag/sdnc
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to