[NETCONF-151] netconf-connector-cfg information not correct Created: 19/Feb/16 Updated: 15/Mar/19 Resolved: 22/Mar/16 |
|
| Status: | Resolved |
| Project: | netconf |
| Component/s: | netconf |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Kevin Wang | Assignee: | Unassigned |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| External issue ID: | 5395 |
| Description |
|
Reproduce: |
| Comments |
| Comment by Tomas Cere [ 22/Feb/16 ] |
|
1 & 2 : If you are configuring through mdsal(topology model) you won't find the configuration in config subsystem. If you want to see how the current configuration that's in netconf topology just switch operational to config in the restconf url you used to configure the connector in the first place. /controller-config/yang-ext:mount/config:modules/ is a separate entity and you won't find connectors that are configured in topology here. Same applies to the opposite - you won't find configuration that's in cfg subsystem in netconf-topology. 3. you were probably looking at controller-config connector configuration since connectors configured through topology are not present here. All in all seems like user error to me. |
| Comment by Tony Tkacik [ 22/Feb/16 ] |
|
Closing as resolved invalid, since as Tomas pointed out config from topology is not moved to sal-netconf-connector-cfg, since this is separate way to configure NETCONF devices and was never intended to be synchronized. |
| Comment by Colin Dixon [ 10/Mar/16 ] |
|
Given that the old mechanism is present and not deprecated in Beryllium, is is really fair to make this invalid? I'd think not? |
| Comment by Tomas Cere [ 11/Mar/16 ] |
|
Configuration through topology is meant to bypass cfg subsystem entirely. I'll try to summarize the steps quickly and go over whats wrong. 1. post configuration to mdsal mdsal and cfg subsystem are 2 separate entities and are not meant to be mirrored/synchronized. When you post configuration to the topology datastore it's going to be present in the topology datastore. You don't want to tangle these 2 systems together. (In reply to Colin Dixon from comment #3) Colin I'm not sure what you mean by this, but the bug report here has an incorrect assumption of mdsal/cfg subsystem and hence is user error. |