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

OTG Model to support different RoCE speed #400

Open
wants to merge 23 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
3c26aa2
Proposal to handle RoCEv2 speeed type
alakendu Dec 17, 2024
5690681
Update auto generated content
actions-user Dec 17, 2024
2152e6e
add more description
alakendu Dec 17, 2024
cab4a24
Merge branch 'speed_proposal' of https://github.com/open-traffic-gene…
alakendu Dec 17, 2024
13f1d12
unique x-field-uid
alakendu Dec 17, 2024
606b1e4
Update auto generated content
actions-user Dec 17, 2024
6f4e423
change to names
alakendu Dec 18, 2024
a24c20f
Merge branch 'speed_proposal' of https://github.com/open-traffic-gene…
alakendu Dec 18, 2024
934f89b
handle missing items
alakendu Dec 18, 2024
dd81f91
Update auto generated content
actions-user Dec 18, 2024
f224d1e
add more description
alakendu Dec 18, 2024
5e3827c
Merge branch 'speed_proposal' of https://github.com/open-traffic-gene…
alakendu Dec 18, 2024
8ba17ff
typo
alakendu Dec 19, 2024
5133110
Update auto generated content
actions-user Dec 19, 2024
59fc2e3
add description
alakendu Dec 19, 2024
da464a4
Merge branch 'speed_proposal' of https://github.com/open-traffic-gene…
alakendu Dec 19, 2024
2f3b1e9
Update auto generated content
actions-user Dec 19, 2024
5eb1147
typo
alakendu Dec 19, 2024
06ad80c
Merge branch 'speed_proposal' of https://github.com/open-traffic-gene…
alakendu Dec 19, 2024
32c00e1
Update auto generated content
actions-user Dec 19, 2024
5c2cec6
restructure
alakendu Dec 19, 2024
ee7952d
Merge branch 'speed_proposal' of https://github.com/open-traffic-gene…
alakendu Dec 19, 2024
5366ff2
Update auto generated content
actions-user Dec 19, 2024
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
6 changes: 3 additions & 3 deletions artifacts/openapi.html

Large diffs are not rendered by default.

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

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

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

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

9 changes: 8 additions & 1 deletion config/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,11 @@ components:
x-field-uid: 1
protocol_options:
$ref: '../device/device.yaml#/components/schemas/Protocol.Options'
x-field-uid: 2
x-field-uid: 2
vendor_options:
description: >-
This is a backdoor access to underlying OTG application.
type: array
items:
$ref: '../device/device.yaml#/components/schemas/Vendor.Options'
x-field-uid: 3
25 changes: 25 additions & 0 deletions device/device.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,28 @@ components:
type: boolean
default: true
x-field-uid: 1
Vendor.Options:
type: object
properties:
additional_features:
description: >-
OTG Application require some additional property to run the config.
That additional property may not be generic enough to address in OTG model.
So, OTG expose this backdoor access to define a feature name must be understandable by OTG application.
type: array
items:
type: string
x-field-uid: 1
deviations:
description: >-
Name of the deviating feature names when OTG model deviates from the application requirements.
type: array
items:
type: string
x-field-uid: 2
vendor:
description: >-
Names of the vendor.
Vendor specific options will be applicable for all vendor if this field is not defined.
type: string
x-field-uid: 3
7 changes: 7 additions & 0 deletions layer1/layer1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,13 @@ components:
x-field-uid: 12
speed_800_gbps:
x-field-uid: 13
custom_speed:
x-field-uid: 14
custom_speed:
description: >-
Vendor specific custom speed.
type: string
x-field-uid: 11
media:
description: |-
Set the type of media for test interface if supported. When no media
Expand Down
Loading