Update Privilege Registry from 1.2.0 to 1.3.0
This change updates the privilege registry .json file from version 1.2.0
to 1.3.0. The change in privilege_registry is generated by executing the
parse_registries.py script.
Tested: The build completes.
Signed-off-by: Sui Chen <suichen@google.com>
Change-Id: Id36fa21df1b8fbd38a3b9aaad952773b0a1a0208
diff --git a/redfish-core/include/registries/privilege_registry.hpp b/redfish-core/include/registries/privilege_registry.hpp
index a10c7f6..035aee4 100644
--- a/redfish-core/include/registries/privilege_registry.hpp
+++ b/redfish-core/include/registries/privilege_registry.hpp
@@ -724,6 +724,13 @@
const static auto& deleteManagerAccountCollection = privilegeSetConfigureUsers;
const static auto& postManagerAccountCollection = privilegeSetConfigureUsers;
+// ManagerDiagnosticData
+const static auto& getManagerDiagnosticData = privilegeSetLogin;
+const static auto& headManagerDiagnosticData = privilegeSetLogin;
+const static auto& patchManagerDiagnosticData = privilegeSetConfigureManager;
+const static auto& postManagerDiagnosticData = privilegeSetConfigureManager;
+const static auto& putManagerDiagnosticData = privilegeSetConfigureManager;
+
// ManagerNetworkProtocol
const static auto& getManagerNetworkProtocol = privilegeSetLogin;
const static auto& headManagerNetworkProtocol = privilegeSetLogin;
diff --git a/scripts/parse_registries.py b/scripts/parse_registries.py
index 7074589..731a116 100755
--- a/scripts/parse_registries.py
+++ b/scripts/parse_registries.py
@@ -174,7 +174,7 @@
def make_privilege_registry():
path, json_file, type_name, url = \
- make_getter('Redfish_1.2.0_PrivilegeRegistry.json',
+ make_getter('Redfish_1.3.0_PrivilegeRegistry.json',
'privilege_registry.hpp', 'privilege')
with open(path, 'w') as registry:
registry.write(