based on look of Hello from LINC which you posted before:
LINC switch announced capabilities only for Netconf protocol, but did not announced OF-Config, nor IETF-Monitoring.
· IETF-Monitoring is required for ODL to automatically download models from Netconf Server, otherwise YANG models are used from cache/schema
· OF Config announcement (and announcements of other YANG modules) provides an information that netconf server support OF-Config (it references OF-Config YANG module), this actually
Triggers Netconf Connector to look up the YANG model (be it from cache/schema or via IETF-Monitoring from Netconf Device).
So if your Netconf Server (LINC) supports OF Config and does not announces it, it is bug in LINC.
Hope, this will help with debuging.
I have observed that if you put below URL directly in browser’s address bar, it will give you get-config output in xml form.
If you try to use postman to get output in JSON format, you will see this error “No mount point exist”. To resolve this you need to write the yang files that represent your device.
In case of LINC switch as per the hello message posted by Madhusudhan, it seems the device does support netconf monitoring and we don’t need to write any yang files. Netconf protocol plugin should download it from the device itself.
I would suggest to do some debugging in NetconfDevice.java to figure out what is actually happening there. You can also enable the logs.
From: Kiran Agrahara Sreenivasa [mailto:kkoushik@...]
Sent: Thursday, April 10, 2014 6:22 AM
To: Madhusudhan Kandadai
Cc: Gupta, Kanika
Subject: RE: [controller-dev] Netconf with LINC switch
No, just with mininet..
Same here. I am using latest controller with OF1.3 plugin.
Kiran: Are you using LINC switch?
On Wed, Apr 9, 2014 at 5:32 PM, Kiran Agrahara Sreenivasa <kkoushik@...> wrote:
(b) retrieve running configuration and device state configuration
Kanika: You can use below restconf url to access get-config data. It will give you output in XML format. For JSON format, you need to write YANG files that represent your device.
I am getting 404 Bad Request. And the response is "Mount point does not contain any schema with modules." BTW, what device you installed for server? I am using LINC switch which has inbuilt netconf server.
[Kiran] I’m getting the following error:
“Mount point does not exist”
I’m running the latest version of controller with OF1.3 plugin.