[NETCONF-7] Netconf config pusher for plain XML files with Karaf Created: 22/Sep/14 Updated: 15/Mar/19 Resolved: 27/Aug/18 |
|
| Status: | Resolved |
| Project: | netconf |
| Component/s: | netconf |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | ||
| Reporter: | RichardHill | Assignee: | Unassigned |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| Attachments: |
|
| Description |
|
After loading RC1-6 and the config for XRVR netconf |
| Comments |
| Comment by RichardHill [ 22/Sep/14 ] |
|
Attachment karaf.log has been added with description: odl log |
| Comment by Maros Marsalek [ 22/Sep/14 ] |
|
Karaf config pusher is different to the basic config pusher. It loads config xml files as a part of a feature. If you need to change the configuration, you have to wait until controller is up and running and then push the configuration manually using Netconf, Restconf + loopback netconf connector or JMX. There will be an entry on wiki for how to do that using Restconf + loopback netconf connector in the near future. So this is not a bug, marking as enhancement. |
| Comment by RichardHill [ 22/Sep/14 ] |
|
Work around was to POST XRVR device configuration to configuration datastore /restconf/config/opendaylight-inventory:nodes/node/controller-config/yang-ext:mount/config:modules PAYLOAD <module xmlns="urn:opendaylight:params:xml:ns:yang:controller:config"> |
| Comment by Maros Marsalek [ 23/Sep/14 ] |
|
Promised wiki entry for workaround: |
| Comment by Maros Marsalek [ 11/Nov/14 ] |
|
We need enhance karaf config pusher to allow pushing initial config files from pure xml files. Not just within features. Since it is then impossible to easily modify/add initial config files. |
| Comment by Vratko Polak [ 11/Nov/14 ] |
|
(In reply to Maros Marsalek from comment #4) It was also my initial reaction, but then I have heard counter arguments. Usual way for pushing additional config files was unconditional, which means it was possible to push xml file before its handling feature has been installed. This can lead to confusing errors, missing functionality, and it has great (non-deterministic) chance to happen when karaf is being re-started. As opposed to that, adding or modifying feature-defined configs is relatively painless. |
| Comment by Maros Marsalek [ 01/Dec/14 ] |
|
Changing this to new feature. You are right Vratko. With karaf it is possible that required bundles will not appear at all if user does not install needed features. But this problem was also present with the old distribution and config pusher tries to wait for the bundles to appear (using required capabilities tag in the xml files). The case was an unresolved bundle or unknown required capabilities stated in the config file. With detailed error reporting or some kind of "auto install feature" mechanism this might be feasible, but a broader discussion is welcomed. |
| Comment by Robert Varga [ 13/Nov/15 ] |
|
Move to NETCONF project |
| Comment by Robert Varga [ 27/Aug/18 ] |
|
Config Subsystem is gone, this is no longer relevant. |