39f7e12993
"Description" attribute belongs to the StandardAttribute class from
which many other classes inherits (like e.g. Network, Port or Subnet).
In case when only description of object is updated, revision number of
the object should be bumped but it wasn't the case for all of the
objects. For example updated description of the Network or Router didn't
bumped its revision_number. It was like that because StandardAttribute
object was the only one which was dirty in the session, and as it is not
member of the HasStandardAttibutes class, it was filtered out.
Now, to fix that problem revision_plugin looks in the session.dirty list
for objects which inherits from HasStandardAttibutes class (as it was
before) but also for StandardAttribute objects to bump revision numbers.
Closes-Bug: #1981817
Closes-Bug: #1865173
Change-Id: I79b40a8ae5d594ed6fc875572663469c8b701202
(cherry picked from commit
|
||
---|---|---|
.. | ||
auto_allocate | ||
conntrack_helper | ||
l3_router | ||
logapi | ||
metering | ||
network_segment_range | ||
ovn_l3 | ||
placement_report | ||
portforwarding | ||
qos | ||
revisions | ||
trunk | ||
__init__.py | ||
test_provider_configuration.py |