Skip to content

Commit

Permalink
Allow more than one TxSCs and RxSCs in model
Browse files Browse the repository at this point in the history
  • Loading branch information
sasubrata committed Jan 16, 2025
1 parent 53db31b commit fef8e24
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions device/macsec/macsec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ components:
description: >-
Configuration for single MACsec interface.
type: object
required: [eth_name, name, basic, txsc, rxsc, crypto_engine]
required: [eth_name, name, basic, txscs, rxscs, crypto_engine]
properties:
eth_name:
description: >-
Expand All @@ -35,15 +35,19 @@ components:
This contains the basic properties of MACsec.
$ref: './basic.yaml#/components/schemas/Macsec.Basic'
x-field-uid: 3
txsc:
txscs:
description: >-
This contains the Tx SC properties of MACsec.
$ref: './txsc.yaml#/components/schemas/Macsec.TxSc'
Tx secure channels.
type: array
items:
$ref: './txsc.yaml#/components/schemas/Macsec.TxSc'
x-field-uid: 4
rxsc:
rxscs:
description: >-
This contains the Rx SC properties of MACsec.
$ref: './rxsc.yaml#/components/schemas/Macsec.RxSc'
Rx secure channels.
type: array
items:
$ref: './rxsc.yaml#/components/schemas/Macsec.RxSc'
x-field-uid: 5
crypto_engine:
description: >-
Expand Down

0 comments on commit fef8e24

Please sign in to comment.