aristanetworks / avd

Arista Validated Designs
https://avd.arista.com
Apache License 2.0
251 stars 187 forks source link

Refactor(plugins): Move jinja filter code for arista.avd.natural_sort to PyAVD #4070

Closed Shivani-gslab closed 3 weeks ago

Shivani-gslab commented 4 weeks ago

Enhancement summary

Move jinja filter code for arista.avd.natural_sort to PyAVD.

Which component of AVD is impacted

plugins

Use case example

-

Describe the solution you would like

The code and unit tests for natural_sort filter should be moved to pyavd/j2filters and imported inside plugins/filter using pyavd wrapper.

Describe alternatives you have considered

No response

Additional context

No response

Contributing Guide