commit | 0aadbe41aadd155d91e2bda1c471ac85a7dffee9 | [log] [tgz] |
---|---|---|
author | Ravi Teja <raviteja28031990@gmail.com> | Fri Jan 12 04:32:25 2024 -0600 |
committer | Ravi Teja <raviteja28031990@gmail.com> | Fri Jan 12 04:36:52 2024 -0600 |
tree | 23a8589a888c3a9b66bbffb3168dc6ce0cbc4a66 | |
parent | 7da02bdee08f558b26e933a9dfba51362ada999b [diff] |
Add Hostname property errors Hostname does not allow special characters while setting hostname this commit adds InvalidArgument error to handle invalid hostnames Change-Id: I2ecc92637364baebe9e845bd22099fcb9744c2f4 Signed-off-by: Ravi Teja <raviteja28031990@gmail.com>
diff --git a/yaml/xyz/openbmc_project/Network/SystemConfiguration.interface.yaml b/yaml/xyz/openbmc_project/Network/SystemConfiguration.interface.yaml index a0a82c4..dccefac 100644 --- a/yaml/xyz/openbmc_project/Network/SystemConfiguration.interface.yaml +++ b/yaml/xyz/openbmc_project/Network/SystemConfiguration.interface.yaml
@@ -5,3 +5,5 @@ type: string description: > The value of this property shall be host name of the system. + errors: + - xyz.openbmc_project.Common.Error.InvalidArgument