Connection Issues

120 views
Skip to first unread message

kaus...@gmail.com

unread,
Oct 18, 2012, 2:25:06 AM10/18/12
to netc...@googlegroups.com

I have a NETCONF device which does not support 'netconf' subsystem as specified in RFC 4742 or 6242:

ssh -s kau...@10.255.221.205 -p 830 netconf
kau...@10.255.221.205's password:
Request for subsystem 'netconf' failed on channel 0


However, I can login and exchange NETCONF messages to/from this device using XML RPC classes: org.apache.xmlrpc.client.XmlRpcClient and org.apache.xmlrpc.client.XmlRpcSunHttpTransport.

Using ClientTest.java sample program, I can connect to SSH port 22; but the subsystem request fails as expected. I cannot specify port 830 due to above constraint. I see that HttpTransportClient class exists in your implementation; but not implemented yet. Is there any way I can use your NetconfX library to interact with my device?

Appreciate your help,
Kaushal Agrawal

A.V.

unread,
Oct 18, 2012, 8:35:17 AM10/18/12
to netc...@googlegroups.com, kaus...@gmail.com
Hello Kaushal,

    Currently. the only implementation available is NETCONF over SSH (the mandatory transport). The HttpTransportClient class is currently just a stub. However, since the netconfX sources are open-sourced and GPL, you can certainly write an implementation for NETCONF over HTTP.

   If you do, please remember to contribute the enhancements back to the project, so that the general community can benefit from these efforts.

Regards,
A.V.
Reply all
Reply to author
Forward
0 new messages