summaryrefslogtreecommitdiff
path: root/Redfish.md
diff options
context:
space:
mode:
authorJiaqing Zhao <jiaqing.zhao@intel.com>2023-03-03 06:23:08 +0300
committerEd Tanous <edtanous@google.com>2023-06-09 00:00:24 +0300
commit7857cb8d830209fdf82db6250f5bd36c5ff01837 (patch)
tree189351cd54e00c6bffc3fe06286d40fba21c65ce /Redfish.md
parent93bbc953e80362ca17219d5e457680e952c23036 (diff)
downloadbmcweb-7857cb8d830209fdf82db6250f5bd36c5ff01837.tar.xz
Expose VLAN interfaces as EthernetInterface
In OpenBMC, VLAN is a virtual interface that has its own configuration like IP address. Redfish schema 2021.2+ also suggests using individual EthernetInterface to show VLAN information. This patch exposes VLAN interfaces as EthernetInterface for configuring them. Now bmcweb also shows BMC VLAN interfaces under /redfish/v1/Managers /bmc/EthernetInterfaces. Fixes bmcweb issue #79 (Unable configure IP on VLAN interface via redfish). Tested: * Both physical and VLAN interfaces are now in the interface collection * Only VLAN interfaces have the VLAN property and RelatedInterfaces property pointing to its parent interface * IP address of both physical and VLAN interfaces can be modified by PATCH request successfully * Redfish validator passed Change-Id: I608892275cfbef4af8e7a03a10d67a9c2fa3ff53 Signed-off-by: Jiaqing Zhao <jiaqing.zhao@intel.com> Signed-off-by: Ed Tanous <edtanous@google.com>
Diffstat (limited to 'Redfish.md')
-rw-r--r--Redfish.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/Redfish.md b/Redfish.md
index 4c2dcfb17f..c416a5476b 100644
--- a/Redfish.md
+++ b/Redfish.md
@@ -489,6 +489,7 @@ Fields common to all schemas
- DHCPv4
- DHCPv6
- Description
+- EthernetInterfaceType
- FQDN
- HostName
- IPv4Addresses
@@ -498,12 +499,16 @@ Fields common to all schemas
- IPv6DefaultGateway
- IPv6StaticAddresses
- InterfaceEnabled
+- Links/RelatedInterfaces
- LinkStatus
- MACAddress
- NameServers
- SpeedMbps
- StaticNameServers
- Status
+- VLAN/VLANEnable
+- VLAN/VLANId
+- VLAN/Tagged
### /redfish/v1/Managers/bmc/LogServices/