Skip to content

[deviations] Remove deprecated_vlan_id usage from ARISTA devaitions#5371

Open
yini101 wants to merge 1 commit intoopenconfig:mainfrom
yini101:remove-deprecated_vlan_id
Open

[deviations] Remove deprecated_vlan_id usage from ARISTA devaitions#5371
yini101 wants to merge 1 commit intoopenconfig:mainfrom
yini101:remove-deprecated_vlan_id

Conversation

@yini101
Copy link
Copy Markdown
Contributor

@yini101 yini101 commented Apr 22, 2026

EOS supports the newer single-tagged vlan-id leaf which means deprecated_vlan_id should not be used anymore. The deviation affected RT-5.14, P4RT-5.3, and RT-1.14.

EOS supports the newer single-tagged vlan-id leaf which means
deprecated_vlan_id should not be used anymore. The deviation affected
RT-5.14, P4RT-5.3, and RT-1.14.
@yini101 yini101 requested review from a team as code owners April 22, 2026 05:21
@gemini-code-assist
Copy link
Copy Markdown
Contributor

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request cleans up Arista platform deviations by removing the deprecated_vlan_id flag. This change aligns the test configurations with current EOS capabilities, which now support the standard vlan-id leaf, ensuring better compatibility and adherence to updated standards.

Highlights

  • Removal of deprecated_vlan_id: Removed the deprecated_vlan_id deviation from multiple test metadata files as EOS now supports the standard single-tagged vlan-id leaf.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@OpenConfigBot
Copy link
Copy Markdown

Pull Request Functional Test Report for #5371 / 40f01ee

Virtual Devices

Device Test Test Documentation Job Raw Log
Arista cEOS status
status
RT-5.14: Aggregate Subinterface in Default and Non-default Network Instance
P4RT-5.3: Traceroute: PacketIn With VRF Selection
Cisco 8000E status
status
RT-5.14: Aggregate Subinterface in Default and Non-default Network Instance
P4RT-5.3: Traceroute: PacketIn With VRF Selection
Cisco XRd status
status
RT-5.14: Aggregate Subinterface in Default and Non-default Network Instance
P4RT-5.3: Traceroute: PacketIn With VRF Selection
Juniper ncPTX status
status
RT-5.14: Aggregate Subinterface in Default and Non-default Network Instance
P4RT-5.3: Traceroute: PacketIn With VRF Selection
Nokia SR Linux status
status
RT-5.14: Aggregate Subinterface in Default and Non-default Network Instance
P4RT-5.3: Traceroute: PacketIn With VRF Selection
Openconfig Lemming status
status
RT-5.14: Aggregate Subinterface in Default and Non-default Network Instance
P4RT-5.3: Traceroute: PacketIn With VRF Selection

Hardware Devices

Device Test Test Documentation Raw Log
Arista 7808 status
status
RT-5.14: Aggregate Subinterface in Default and Non-default Network Instance
P4RT-5.3: Traceroute: PacketIn With VRF Selection
Cisco 8808 status
status
RT-5.14: Aggregate Subinterface in Default and Non-default Network Instance
P4RT-5.3: Traceroute: PacketIn With VRF Selection
Juniper PTX10008 status
status
RT-5.14: Aggregate Subinterface in Default and Non-default Network Instance
P4RT-5.3: Traceroute: PacketIn With VRF Selection
Nokia 7250 IXR-10e status
status
RT-5.14: Aggregate Subinterface in Default and Non-default Network Instance
P4RT-5.3: Traceroute: PacketIn With VRF Selection

Help

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request removes the deprecated_vlan_id deviation from several test metadata files, including BGP long-lived graceful restart, aggregate subinterface, and P4RT traceroute tests. Feedback was provided regarding the incomplete removal process; specifically, the deviation should also be removed from the central deviations.go and metadata.proto files, and the generated Go code should be updated accordingly.

deviations: {
omit_l2_mtu: true
interface_config_vrf_before_address: true
deprecated_vlan_id: true
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

Since deprecated_vlan_id is being removed from all affected tests (as indicated in the PR description and confirmed by the Arista-specific comment in proto/metadata.proto), please follow the complete "Removing Deviations" process as defined in the repository style guide (lines 145-163). This includes removing the accessor function from internal/deviations/deviations.go, reserving the field number (73) in proto/metadata.proto, and running make proto/metadata_go_proto/metadata.pb.go to update the generated Go code.

References
  1. Guidelines for removing deviations from the repository, including updating deviations.go and metadata.proto. (link)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants