Requesting a specific config path of an OND returns always the whole config
Requesting a config path of an OND returns the entire config of that OND which is stored in the controller.
Description
Expected Behavior
Requesting a config path via CLI and NBI should only return the requested config path.
Actual Behavior
The whole stored config is returned
Possible Fix
The whole GoStruct is converted to gNMINotifications (see here and here). GoStruct has to be filtered and then only the requested path should be returned.
Steps to Reproduce
- Request
interfacesof a OND via CLI - Subsequently request
system/config/hostnameof the same OND via CLI - Check the output
Context
Your Environment
- Version used:
- Environment name and version (e.g. go v1.16.3 on FreeBSD 13.0-current):
- Server type and version:
- Operating System and version: