Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat(eos_cli_config_gen): New improved ip_name_servers and deprecate name_server #2738

Merged
merged 6 commits into from
Apr 19, 2023

Conversation

gmuloc
Copy link
Contributor

@gmuloc gmuloc commented Apr 17, 2023

Change Summary

Deprecate name_server in favor of ip_ name_servers in eos_cli_config_gen

NOTE TO REVIEWERS: for the change in the evpn_underlay_ebgp_overlay_ebgp molecule scenairo, I would be in favor of removing the test as it is already exercised in eos_designs_unit_tests scenario and there is no point in testing it twice.

Related Issue(s)

Fixes #2723

Component(s) name

arista.avd.eos_cli_config_gen

Proposed changes

  • add the new schema fragment with newer model:
    ip_name_servers:
      - ip_address: <str>
        vrf: <str>
        priority: <int>
  • add deprecation to old schema fragment
  • fix eos and documentation templates
  • fix all documentation using the legacy model (hello custom_structured_configuration examples)
  • add porting guide
  • move molecule test for deprecated model to eos_cli_config_gen_deprecatd_vars scenario
  • create molecule test for new model in eos_cli_config_gen
  • fix eos_designs base python module to render the new model
  • re-run all molecule

How to test

molecule tests

Checklist

Repository Checklist

  • My code has been rebased from devel before I start
  • I have read the CONTRIBUTING document.
  • My change requires a change to the documentation and documentation have been updated accordingly.
  • I have updated molecule CI testing accordingly. (check the box if not applicable)

@gmuloc gmuloc requested a review from a team as a code owner April 17, 2023 10:00
@github-actions github-actions bot added role: eos_cli_config_gen issue related to eos_cli_config_gen role role: eos_designs issue related to eos_designs role state: CI Updated CI scenario have been updated in the PR state: Documentation role Updated type: documentation Improvements or additions to documentation labels Apr 17, 2023
@ClausHolbechArista
Copy link
Contributor

I don't think this is a breaking change right?

@ClausHolbechArista ClausHolbechArista changed the title Refactor(eos_cli_config_gen)!: Replace name_server variable with ip_name_servers Feat(eos_cli_config_gen): New improved ip_name_servers and deprecate name_server Apr 17, 2023
@gmuloc
Copy link
Contributor Author

gmuloc commented Apr 17, 2023

I don't think this is a breaking change right?

Indeed - this will just trigger a deprecation warning - let me change the PR name

Copy link
Contributor

@emilarista emilarista left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@gmuloc gmuloc added this to the v4.0.0-dev11 milestone Apr 19, 2023
@gmuloc gmuloc merged commit 24e0086 into aristanetworks:devel Apr 19, 2023
34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rn: Feat(eos_cli_config_gen) role: eos_cli_config_gen issue related to eos_cli_config_gen role role: eos_designs issue related to eos_designs role state: CI Updated CI scenario have been updated in the PR state: Documentation role Updated type: documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refactor(eos_cli_config_gen): ip_name_server
3 participants