Skip to content

Commit

Permalink
Proposal to handle RoCEv2 speeed type
Browse files Browse the repository at this point in the history
  • Loading branch information
alakendu committed Dec 17, 2024
1 parent f1b5ff7 commit 3c26aa2
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 1 deletion.
7 changes: 6 additions & 1 deletion config/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,9 @@ 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:
type: array
items:
$ref: '../device/device.yaml#/components/schemas/Vendor.Options'
x-field-uid: 3
15 changes: 15 additions & 0 deletions device/device.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,18 @@ components:
type: boolean
default: true
x-field-uid: 1
Vendor.Options:
description: >-
Vendor specific key and value pair.
type: object
properties:
key:
description: >-
key secific to the vandor.
type: string
x-field-uid: 1
value:
description: >-
Value secific to the vandor.
type: string
x-field-uid: 2
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

0 comments on commit 3c26aa2

Please sign in to comment.