added condition to detect if a configlet is reconciled and in the list of new configlets to be added and append it to the end of the list always
How to test
easiest way to test is to grab a device, add some small changes to the running-config, reconcile, and then create a playbook and specify the same list of configlets as is on the UI but change the order of the reconciled configlet as below
Ran few manual tests targeting handling of reconciled configlets (strict and loose modes, attaching and detaching them) - everything worked correctly in all cases.
Change Summary
Related Issue(s)
Fixes #666
Component(s) name
arista.cvp.cv_device_v3
Proposed changes
added condition to detect if a configlet is reconciled and in the list of new configlets to be added and append it to the end of the list always
How to test
easiest way to test is to grab a device, add some small changes to the running-config, reconcile, and then create a playbook and specify the same list of configlets as is on the UI but change the order of the reconciled configlet as below
before this PR a task would be generated, whereas with this PR there should be no tasks generated
Checklist
User Checklist
Repository Checklist