Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

copy-config: accepting invalid source #3

Closed
GoogleCodeExporter opened this issue Jun 11, 2015 · 1 comment
Closed

copy-config: accepting invalid source #3

GoogleCodeExporter opened this issue Jun 11, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Connect to server.
2. Send copy-config message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="12">
  <copy-config>
        <source>
                <invalid/>
        </source>
        <target>
                <running/>
        </target>
</copy-config>
</rpc>


What is the expected output?
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="13">
  <rpc-error>
    <error-tag>bad-element</error-tag>
    <error-type>application</error-type>
    <error-severity>error</error-severity>
    <error-message>An element value is not correct.</error-message>
    <error-info>
      <element>source</element>
    </error-info>
  </rpc-error>
</rpc-reply>

What do you see instead?
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="12">
  <ok/>
</rpc-reply>


Please use labels and text to provide additional information.


Original issue reported on code.google.com by david.kupka@gmail.com on 17 Oct 2012 at 12:16

@GoogleCodeExporter
Copy link
Author

This issue was closed by revision 812e1a0bf5bc.

Original comment by rkre...@cesnet.cz on 17 Oct 2012 at 1:56

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant