From 9cfcad2db4cf52ae4e6fa449f033d7200d30838f Mon Sep 17 00:00:00 2001 From: Jiaqing Zhao Date: Thu, 23 Feb 2023 13:45:00 +0800 Subject: Remove usage of deprecated VLanNetworkInterface In Redfish Schema (DSP2046) 2022.3 introduces EthernetInterface 1.9.0 that allows creating VLAN interface by POST EthernetInterface [1] instead of using the deprecated VLanNetworkInterface. This patch removes all current usage of VLanNetworkInterface. This patchest (topic:redfish-ethernet-1.9) introduces breaking API changes to current VLAN management features. All deprecated VLAN APIs are removed, VLAN interfaces will be managed in the same way as the EthernetInterface Resource, except they can be created or deleted. Since webui-vue has not implemented anything related to VLAN yet, it is not impacted. Solves the issue mentioned in 188cb6294105 ("ethernet: Bump EthernetInterface schema 1.4.1 -> 1.6.0") [1] https://redfishforum.com/thread/619 Tested: Redfish validator passed on a board with VLAN interface. No VLAN interface is exposed in Redfish. Change-Id: I9b243a5bb0f07642aa60bc13a622e862f62ee871 Signed-off-by: Jiaqing Zhao --- scripts/update_schemas.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'scripts') diff --git a/scripts/update_schemas.py b/scripts/update_schemas.py index 3115a262d8..92d446fbbc 100755 --- a/scripts/update_schemas.py +++ b/scripts/update_schemas.py @@ -130,8 +130,6 @@ include_list = [ "Triggers", "TriggersCollection", "UpdateService", - "VLanNetworkInterfaceCollection", - "VLanNetworkInterface", "VirtualMedia", "VirtualMediaCollection", "odata", -- cgit v1.2.3