Remove non-standard IPv6StaticAddress properties
AddressOrigin and AddressState are not defined in redfish schema of
IPv6StaticAddress, which causes redfish validator error, so remove
them.
Tested:
Redfish validator passed.
Change-Id: I165f22662cecf25cefb2c0f6ce4777eb681e9b23
Signed-off-by: Jiaqing Zhao <jiaqing.zhao@intel.com>
diff --git a/redfish-core/lib/ethernet.hpp b/redfish-core/lib/ethernet.hpp
index f7fbb95..98b556e 100644
--- a/redfish-core/lib/ethernet.hpp
+++ b/redfish-core/lib/ethernet.hpp
@@ -1808,9 +1808,7 @@
{
ipv6StaticArray.push_back(
{{"Address", ipv6Config.address},
- {"PrefixLength", ipv6Config.prefixLength},
- {"AddressOrigin", ipv6Config.origin},
- {"AddressState", nullptr}});
+ {"PrefixLength", ipv6Config.prefixLength}});
}
}
}