aristanetworks / avd

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

Feature: Validation of config using CloudVision #2866

Open chetryan opened 1 year ago

chetryan commented 1 year ago

Enhancement summary

At the moment, if AVD successfully generates device configuration, there is not guarantee that is correct for the device if the user supplied the wrong eos_designs or eos_cli_config_gen values. In the cases where CloudVision Portal is being used, CVP will validate the configlet against the device and report back any errors and warnings back to the user. This means that if there are errors or warnings, they are only visible onces the configlets on CVP have been changed. Any use of AVD in pipelines would not be ware that the generated configuration is not valid.

It would be great to have a feature in AVD (new role or addition to eos_config_deploy_cvp) to validate the configuration using existing CVP APIs before making any changes to configlets. This would allow:

Which component of AVD is impacted

others

Use case example

A typical use case would be:

Describe the solution you would like

The solution could either be a dedicate new role or an enhancement of eos_config_deploy_cvp and would be able to:

Describe alternatives you have considered

No response

Additional context

No response

Contributing Guide

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 90 days with no activity. The issue will be reviewed by a maintainer and may be closed