canonical / sdcore-nms

A Network Management System (NMS) for operating SD-Core.
Apache License 2.0
3 stars 5 forks source link

Creating a second slice replaces default device group #230

Closed markbeierl closed 11 months ago

markbeierl commented 11 months ago

Describe the bug

Default device group is overwritten every time a slice is created

To Reproduce

  1. Create a slice
  2. Delete the default device group
  3. Create a new default device group with different values
  4. Confirm new values are present
  5. Create a new slice
  6. Reload the page and note the reset in slice 1's default

Expected behavior

Screenshots

First slice image Second slice, both defaults are set back to initial values image

patriciareinoso commented 11 months ago

After https://github.com/canonical/sdcore-nms/pull/226 the default Device Group is no longer called default. So it should help with this issue. I agree we should check whether the DG exist before creating it. It's in the backlog

gruyaume commented 11 months ago

Closing this issue as this was addressed in #226