-
Notifications
You must be signed in to change notification settings - Fork 220
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_designs): Add revised schema to support L3 Port-Channel interfaces #4752
base: devel
Are you sure you want to change the base?
Feat(eos_designs): Add revised schema to support L3 Port-Channel interfaces #4752
Conversation
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-4752
# Activate the virtual environment
source test-avd-pr-4752/bin/activate
# Install all requirements including PyAVD
pip install "pyavd[ansible] @ git+https://github.com/ashenoy-arista/avd.git@samplePRBranch#subdirectory=python-avd" --force
# Point Ansible collections path to the Python virtual environment
export ANSIBLE_COLLECTIONS_PATH=$VIRTUAL_ENV/ansible_collections
# Install Ansible collection
ansible-galaxy collection install git+https://github.com/ashenoy-arista/avd.git#/ansible_collections/arista/avd/,samplePRBranch --force
# Optional: Install AVD examples
cd test-avd-pr-4752
ansible-playbook arista.avd.install_examples |
2f1a500
to
d3086d9
Compare
d3086d9
to
7d8c276
Compare
...on-avd/pyavd/_eos_designs/schema/schema_fragments/defs_node_type_l3_port_channels.schema.yml
Show resolved
Hide resolved
...on-avd/pyavd/_eos_designs/schema/schema_fragments/defs_node_type_l3_port_channels.schema.yml
Outdated
Show resolved
Hide resolved
python-avd/pyavd/_eos_designs/schema/schema_fragments/defs_node_type.schema.yml
Outdated
Show resolved
Hide resolved
a8fa6b9
to
1d61e17
Compare
2e10ead
to
f35199a
Compare
cfae876
to
fccd4c8
Compare
@@ -105,7 +105,9 @@ def underlay_port_channel_interface(self, data: InterfaceDescriptionData) -> str | |||
- mpls_overlay_role | |||
- mpls_lsr | |||
- overlay_routing_protocol | |||
- type. | |||
- type | |||
- wan_carrier |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we allow user to configure carrier and circuit id for L3 interfaces as well or only for port channel interfaces?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, we allow user to configure these attributes for L3 interfaces as well.
Most of the schema attributes for L3 Port-Channels overlap with L3 Interfaces.
fccd4c8
to
b8175d8
Compare
Change Summary
Revised schema to support L3 Port-Channel interfaces
Primary use-case is to allow such interfaces as wan-facing interfaces.
Related Issue(s)
Fixes #4695
Component(s) name
arista.avd.eos_designs
Proposed changes
How to test
This change captures the first step towards having a schema within
eos_designs
to represent L3 port-channel interface.
The underlying logic to support the newly added schema and tests would be worked upon next.
Checklist
User Checklist
Repository Checklist