nuagenetworks / nuage-metroae-config

Nuage Networks MetroAE Configuration Template Engine
Apache License 2.0
2 stars 0 forks source link

Skip save when only performing assignment on set-values #27

Closed mpiecuch-nuage closed 3 years ago

mpiecuch-nuage commented 3 years ago

MetroAE Config always saves an object before an assign action is performed.

With some objects, e.g. system generated user groups, this causes a problem because the system generated group cannot be updated (i.e. saved) but can have users assigned to it.

To avoid this MetroAE Config should avoid trying to save objects if no fields are actually being changed (only assignments are occurring).