Skip to content

Commit

Permalink
Rename MacsecDevice class to Macsec as it is already contained in Dev…
Browse files Browse the repository at this point in the history
…ice class
  • Loading branch information
sasubrata committed Jan 22, 2025
1 parent a5a2479 commit a204124
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion device/device.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ components:
macsec:
description: >-
Configuration of MACsec device.
$ref: './macsec/macsec.yaml#/components/schemas/Device.MacsecDevice'
$ref: './macsec/macsec.yaml#/components/schemas/Device.Macsec'
x-field-uid: 11
required: [name]
Protocol.Options:
Expand Down
6 changes: 3 additions & 3 deletions device/macsec/macsec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
components:
schemas:
Device.MacsecDevice:
Device.Macsec:
description: >-
A container of properties for a MACsec capable device.
type: object
Expand All @@ -11,9 +11,9 @@ components:
Ethernet Interfaces
type: array
items:
$ref: '#/components/schemas/MacsecDevice.EthernetInterface'
$ref: '#/components/schemas/Device.Macsec.EthernetInterface'
x-field-uid: 1
MacsecDevice.EthernetInterface:
Device.Macsec.EthernetInterface:
description: >-
Configuration for single MACsec interface.
type: object
Expand Down

0 comments on commit a204124

Please sign in to comment.