Where is the message log for s/b netconf?

asked 2015-10-07 04:41:00 -0700

baxteran gravatar image

Hi,

I'm trying to debug a problem integrating the netconf s/b adapter with a Juniper device.

Environment is Lithium SR-1 on ubuntu 14.04

I can see that the adapter and device are communicating, but the device is not liking the message it's receiving. Is there a means of logging the netconf messages from/to the netconf adapter to assist in debug and how is this enabled?

Thanks.

btw - the error I'm seeing looks like the following if anyone recognises it:

2015-10-07 12:36:53,226 | WARN | oupCloseable-6-6 | NetconfDeviceCommunicator | 184 - org.opendaylight.controller.sal-netconf-connector - 1.2.1.Lithium-SR1 | RemoteDevice{junos-testmx-netconf-device}: Error reply from remote device, request: <rpc message-id="m-5" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"> <get-config> <source></source> <running> <filter ns0:type="subtree" xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0"> </filter></running></get-config> </rpc> , response: <rpc-reply message-id="m-5" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" xmlns:junos="http://xml.juniper.net/junos/15.1R1/junos"> <rpc-error> <error-type>protocol</error-type> <error-tag>operation-failed</error-tag> <error-severity>error</error-severity> <error-message>syntax error, expecting <filter></error-message> <error-info> <bad-element>filter</bad-element> </error-info> </rpc-error> </rpc-reply>

edit retag flag offensive close merge delete