From a2041243e795c502d5bbac5dde0909ad41cf5297 Mon Sep 17 00:00:00 2001 From: Subrata Sa Date: Wed, 22 Jan 2025 10:39:29 +0530 Subject: [PATCH] Rename MacsecDevice class to Macsec as it is already contained in Device class --- device/device.yaml | 2 +- device/macsec/macsec.yaml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/device/device.yaml b/device/device.yaml index 917248e0..c86fac52 100644 --- a/device/device.yaml +++ b/device/device.yaml @@ -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: diff --git a/device/macsec/macsec.yaml b/device/macsec/macsec.yaml index ac9375ce..70e2c884 100644 --- a/device/macsec/macsec.yaml +++ b/device/macsec/macsec.yaml @@ -1,6 +1,6 @@ components: schemas: - Device.MacsecDevice: + Device.Macsec: description: >- A container of properties for a MACsec capable device. type: object @@ -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