omec-project / webconsole

3 stars 12 forks source link

feat: Adds Pebble notifications #250

Open Gmerold opened 1 week ago

Gmerold commented 1 week ago

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.

gab-arrobo commented 3 days ago

@Gmerold, please rebase your PR (resolve conflicts). Thanks!

Gmerold commented 3 days ago

@Gmerold, please rebase your PR (resolve conflicts). Thanks!

Hi @gab-arrobo, done .