aristanetworks / avd

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

Feat(eos_cli_config_gen): Add switchport data model #4158

Closed Shivani-gslab closed 1 month ago

Shivani-gslab commented 3 months ago

Change Summary

Refactor eos_cli_config_gen switchport data models

Related Issue(s)

Fixes #2288

Component(s) name

arista.avd.eos_cli_config_gen

Proposed changes

Adding switchport to ethernet-interfaces and port-channel interfaces schema and template.

Config for switchport.tap and switchport.tool is implemented in PR #4174

How to test

Molecule tests are added. Test in EOS CLI.

Checklist

Repository Checklist

github-actions[bot] commented 3 months ago

Review docs on Read the Docs

To test this pull request:

# Create virtual environment for this testing below the current directory
python -m venv test-avd-pr-4158
# Activate the virtual environment
source test-avd-pr-4158/bin/activate
# Install all requirements including PyAVD
pip install "pyavd[ansible] @ git+https://github.com/Shivani-gslab/avd.git@switchport_trunk#subdirectory=python-avd" --force
# Install Ansible collection
ansible-galaxy collection install git+https://github.com/Shivani-gslab/avd.git#/ansible_collections/arista/avd/,switchport_trunk --force
# Optional: Install AVD examples
cd test-avd-pr-4158
ansible-playbook arista.avd.install_examples
ClausHolbechArista commented 2 months ago

Since we are targeting 5.0 now you can deprecate the old models you are replacing. Thanks.

github-actions[bot] commented 2 months ago

This pull request has conflicts, please resolve those before we can evaluate the pull request.

github-actions[bot] commented 1 month ago

Conflicts have been resolved. A maintainer will review the pull request shortly.

github-actions[bot] commented 1 month ago

This pull request has conflicts, please resolve those before we can evaluate the pull request.

github-actions[bot] commented 1 month ago

Conflicts have been resolved. A maintainer will review the pull request shortly.

github-actions[bot] commented 1 month ago

This pull request has conflicts, please resolve those before we can evaluate the pull request.

github-actions[bot] commented 1 month ago

Conflicts have been resolved. A maintainer will review the pull request shortly.

github-actions[bot] commented 1 month ago

This pull request has conflicts, please resolve those before we can evaluate the pull request.

github-actions[bot] commented 1 month ago

Conflicts have been resolved. A maintainer will review the pull request shortly.

github-actions[bot] commented 1 month ago

This pull request has conflicts, please resolve those before we can evaluate the pull request.

github-actions[bot] commented 1 month ago

Conflicts have been resolved. A maintainer will review the pull request shortly.

github-actions[bot] commented 1 month ago

This pull request has conflicts, please resolve those before we can evaluate the pull request.

github-actions[bot] commented 1 month ago

Conflicts have been resolved. A maintainer will review the pull request shortly.

github-actions[bot] commented 1 month ago

This pull request has conflicts, please resolve those before we can evaluate the pull request.

github-actions[bot] commented 1 month ago

Conflicts have been resolved. A maintainer will review the pull request shortly.

github-actions[bot] commented 1 month ago

This pull request has conflicts, please resolve those before we can evaluate the pull request.

github-actions[bot] commented 1 month ago

Conflicts have been resolved. A maintainer will review the pull request shortly.

sonarcloud[bot] commented 1 month ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud