diff --git a/config/config.yaml b/config/config.yaml index 5a511ce4..cb16135d 100644 --- a/config/config.yaml +++ b/config/config.yaml @@ -74,4 +74,9 @@ components: x-field-uid: 1 protocol_options: $ref: '../device/device.yaml#/components/schemas/Protocol.Options' - x-field-uid: 2 \ No newline at end of file + x-field-uid: 2 + vendor_options: + type: array + items: + $ref: '../device/device.yaml#/components/schemas/Vendor.Options' + x-field-uid: 3 \ No newline at end of file diff --git a/device/device.yaml b/device/device.yaml index 6a79e2d7..d5410662 100644 --- a/device/device.yaml +++ b/device/device.yaml @@ -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 \ No newline at end of file diff --git a/layer1/layer1.yaml b/layer1/layer1.yaml index 359a260d..9a92a8a7 100644 --- a/layer1/layer1.yaml +++ b/layer1/layer1.yaml @@ -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