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

Dev multi port traffic #316

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
10 changes: 5 additions & 5 deletions artifacts/openapi.html

Large diffs are not rendered by default.

10 changes: 7 additions & 3 deletions artifacts/openapi.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions artifacts/otg.proto

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 7 additions & 3 deletions flow/endpoint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,14 @@ components:
- '/components/schemas/Port/properties/name'
- '/components/schemas/Lag/properties/name'
x-field-uid: 1
rx_name:
rx_names:
Copy link
Contributor

Choose a reason for hiding this comment

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

This breaks backward compatibility for all port based tests.
Some options to mitigate broken tests would be:

  • deprecate the rx_name property for a few releases and at the same time introduce rx_names
  • introduce a new choice called ports which will have rx_names

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Agreed, I will keep the rx_name property in deprecated state for few releases.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@ajbalogh I have updated and retained rx_name property in deprecated state.

description: |-
The unique name of a port that is the intended receive port.
type: string
Unique names of ports that are intended receive ports.
type: array
items:
description: |-
The unique name of a port that is the intended receive port.
type: string
x-constraint:
- '/components/schemas/Port/properties/name'
- '/components/schemas/Lag/properties/name'
Expand Down