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

  1. Request interfaces of a OND via CLI
  2. Subsequently request system/config/hostname of the same OND via CLI
  3. 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: