Describe the bug
When creating a network change e.g. through a gnmi Set() operation, if there is an error then
the creation of any subtending configuration changes is not rolled back on failure.
To Reproduce
Make sure no configuration named strat2-1.0.0 exists on the system. Use
onos config get configs
Pass an invalid name for the network change (through Extension 100) when creating it - see in the example below the name used is illegal net change name - it is illegal because it has spaces in it.
Describe the bug When creating a network change e.g. through a gnmi Set() operation, if there is an error then the creation of any subtending configuration changes is not rolled back on failure.
To Reproduce Make sure no configuration named strat2-1.0.0 exists on the system. Use
Pass an invalid name for the network change (through Extension 100) when creating it - see in the example below the name used is illegal net change name - it is illegal because it has spaces in it.
During this a configuration strat2-1.0.0 is created. It is left there after the operation fails.
Expected behavior Expect the configuration strat2-1.0.0 to have been deleted in handling the error.
Logs, text or screenshots No logs
Additional context The failure should bring the system back to the state it was in before the error.