Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions artifacts/openapi.html

Large diffs are not rendered by default.

21 changes: 21 additions & 0 deletions artifacts/openapi.yaml

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

10 changes: 10 additions & 0 deletions artifacts/otg.proto

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

17 changes: 16 additions & 1 deletion flow/endpoint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,27 @@ components:
rx_name:
description: |-
The unique name of a port that is the intended receive port.
x-status:
status: deprecated
information: |-
This property is deprecated in favor of property rx_names
type: string
x-constraint:
- '/components/schemas/Port/properties/name'
- '/components/schemas/Lag/properties/name'

x-field-uid: 2
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: |-
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'
x-field-uid: 3
Flow.Router:
description: >-
A container for declaring a map of 1..n transmit devices
Expand Down