This PR adds Pebble notifications whenever there's a change against the NetworkSlice.
Additionally, a minor refactoring has been done to prevent running logic for removing NetworkSlices while removing DeviceGroups.
CONTEXT
Pebble is a service manager widely used in Canonical's solutions (i.e. SD-Core charms).
We're proposing this change to be able to orchestrate network configuration between the Core and the RAN. Pebble notices send a custom event which can be observed by the charmed operators. Based on that we'll be able to run some logic in the charmed operator which will configure the RAN part of the network.
Pebble notices feature is disabled by default. To enable it, additional configuration parameter needs to be set. This way, the impact on other parts of the webconsole are minimal.
This PR adds Pebble notifications whenever there's a change against the NetworkSlice. Additionally, a minor refactoring has been done to prevent running logic for removing NetworkSlices while removing DeviceGroups.
CONTEXT Pebble is a service manager widely used in Canonical's solutions (i.e. SD-Core charms). We're proposing this change to be able to orchestrate network configuration between the Core and the RAN. Pebble notices send a custom event which can be observed by the charmed operators. Based on that we'll be able to run some logic in the charmed operator which will configure the RAN part of the network.
Pebble notices feature is disabled by default. To enable it, additional configuration parameter needs to be set. This way, the impact on other parts of the
webconsole
are minimal.