Applying a SDN configuration should also update the internal configuration of managed network elements
The ApplySDNConfig
function for integration tests only updates the configuration within the controller itself. If there is also a network element (e.g., a gnmi-target) involved the configuration of that device stays untouched. In general it would be good if applying a SDN configuration would also mean that the available configuration of a network element is pushed down to that specific network element as well.
Description
Expected Behavior
Also update the internal configuration of managed network elements.
Actual Behavior
Only the configuration within the controller is applied.
Possible Fix
Extend ImportSDNConfig
method of the configurationmanagement service to also set the root path of each device within a SDN config to the related network elements config.
Steps to Reproduce
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: