[CONTROLLER-622] <bad-element>input</bad-element> while sending RPC no NC router Created: 11/Jul/14  Updated: 25/Jul/23  Due: 16/Jul/14  Resolved: 16/Jul/14

Status: Resolved
Project: controller
Component/s: netconf
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Robert Gallas Assignee: Lukas Sedlak
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Windows
Platform: PC


Attachments: File notifications.yang    
External issue ID: 1355

 Description   

Have got error reply from router when tried to send create-subsription RPC.

ODL / YangTools generates RPC params with <input> element.

YANG used is attached and is waiting for review as well.

2014-07-10 17:48:09.825 CEST [nettyThreadgroupModule$NioEventLoopGroupCloseable-7-1] WARN o.o.c.s.c.n.l.NetconfDeviceCommunicator - RemoteDevice

{172.23.29.112}

: Error reply from remote device, request: <rpc message-id="m-218" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<create-subscription xmlns="urn:ietf:params:xml:ns:netconf:notification:1.0">
<stream>NETCONF</stream>
<input>
<stream>NETCONF</stream>
</input>
</create-subscription>
</rpc>
, response: <rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="m-218">
<rpc-error>
<error-type>protocol</error-type>
<error-tag>unknown-element</error-tag>
<error-severity>error</error-severity>
<error-info>
<bad-element>input</bad-element>
</error-info>
</rpc-error>
</rpc-reply>



 Comments   
Comment by Robert Gallas [ 11/Jul/14 ]

Attachment notifications.yang has been added with description: notifications.yang

Comment by Lukas Sedlak [ 15/Jul/14 ]

Fixed in https://git.opendaylight.org/gerrit/#/c/9018/

Generated at Wed Feb 07 19:53:28 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.