diff options
author | Jiaqing Zhao <jiaqing.zhao@intel.com> | 2023-03-08 10:14:58 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2023-06-09 00:52:33 +0300 |
commit | b5ca3fdcf15c029e36b05d619752711871bf0e8d (patch) | |
tree | 70d252c388ee96d76002bc74cc59c6f40c2f2e88 /redfish-core/include | |
parent | e7caf25097d911dc290567e2a68ee6c4682e6890 (diff) | |
download | bmcweb-b5ca3fdcf15c029e36b05d619752711871bf0e8d.tar.xz |
POST EthernetInterfaceCollection for VLAN
With EthernetInterface 1.9.0, creation of VLAN interface is done by
POST EthernetInterfaceCollection. This patch implements the POST
handler to do so.
Tested:
* With valid RelatedInterfaces and VLANId provided, new VLAN interface
is successfully created.
* Creating VLAN over another VLAN or non-existent interface returns
error.
* Creating an existing VLAN returns ResourceAlreadyExists error.
* Invalid RelatedInterfaces links are rejected.
Change-Id: I6b1064193eccf7ec487b43139a73d9932b6eea84
Signed-off-by: Jiaqing Zhao <jiaqing.zhao@intel.com>
Signed-off-by: Ed Tanous <edtanous@google.com>
Diffstat (limited to 'redfish-core/include')
0 files changed, 0 insertions, 0 deletions