[CONTROLLER-465] configuration rendered invalid Created: 12/May/14 Updated: 25/Jul/23 Resolved: 21/May/14 |
|
| Status: | Resolved |
| Project: | controller |
| Component/s: | netconf |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Martin Volf | Assignee: | Tomas Olvecky |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: Linux |
||
| Issue Links: |
|
||||||||||||||||
| External issue ID: | 992 | ||||||||||||||||
| Description |
|
Getting configuration using Netconf renders invalid data - for instance, a message like <rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1"> yields a configuration containing among others <module> Note the namespace of the "type" and "name" elements - I believe it should belong to the config module, not config-logging. Likely related is that the file controller.currentconfig.xml created in case of a configuration change is invalid as well, and as a result, starting ODL generates: Exception in thread "config-pusher" java.lang.IllegalStateException: Failed to send edit-config for configuration .... , errorType=application, errorTag=invalid_value, errorSeverity=error, errorInfo={}} |
| Comments |
| Comment by Tomas Olvecky [ 14/May/14 ] |
|
Thanks for report, proposing fix |