├── Redfish_generic.postman_environment.json ├── _12_PowerActions.postman_collection.json ├── Jupyter.postman_collection.json ├── 9-Telemetry.postman_collection.json ├── README.md ├── _11_Logs.postman_collection.json ├── 4_PersistentMemory.postman_collection.json ├── FirmwareUpdates.postman_collection.json ├── 1_Sessions.postman_collection.json ├── 8-EventSubscriptions.postman_collection.json ├── _14_Boot.postman_collection.json ├── _15_Chassis.postman_collection.json ├── 3_VirtualMedia.postman_collection.json ├── _13_Security.postman_collection.json ├── 5_ManagerUserManagement.postman_collection.json ├── LICENSE.md ├── iLO Amplifier Pack.postman_collection.json └── 7-Bios.postman_collection.json /Redfish_generic.postman_environment.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "d8e180c3-059f-4412-aace-22a628b2a5f8", 3 | "name": "Redfish_generic", 4 | "values": [ 5 | { 6 | "key": "iloURI", 7 | "value": "http://", 8 | "enabled": true 9 | }, 10 | { 11 | "key": "Token", 12 | "value": "", 13 | "enabled": true 14 | }, 15 | { 16 | "key": "SessionLocation", 17 | "value": "", 18 | "enabled": true 19 | }, 20 | { 21 | "key": "iloUser", 22 | "value": "ilo-username\n", 23 | "description": "", 24 | "enabled": true 25 | }, 26 | { 27 | "key": "iloPasswd", 28 | "value": "iloPassword", 29 | "description": "", 30 | "enabled": true 31 | } 32 | ], 33 | "_postman_variable_scope": "environment", 34 | "_postman_exported_at": "2018-12-12T10:04:35.408Z", 35 | "_postman_exported_using": "Postman/6.6.1" 36 | } -------------------------------------------------------------------------------- /_12_PowerActions.postman_collection.json: -------------------------------------------------------------------------------- 1 | { 2 | "info": { 3 | "_postman_id": "a3c1881c-487d-4287-b822-cb560701ea3d", 4 | "name": "_12_PowerActions", 5 | "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" 6 | }, 7 | "item": [ 8 | { 9 | "name": "Graceful Shutdown", 10 | "request": { 11 | "method": "POST", 12 | "header": [ 13 | { 14 | "key": "OData-Version", 15 | "value": "4.0" 16 | }, 17 | { 18 | "key": "Content-Type", 19 | "value": "application/json" 20 | }, 21 | { 22 | "key": "X-Auth-Token", 23 | "value": "{{Token}}" 24 | } 25 | ], 26 | "body": { 27 | "mode": "raw", 28 | "raw": "{\n\n\t\"ResetType\": \"GracefulShutdown\"\n}" 29 | }, 30 | "url": { 31 | "raw": "{{iloURI}}/redfish/v1/Systems/1/Actions/ComputerSystem.Reset/", 32 | "host": [ 33 | "{{iloURI}}" 34 | ], 35 | "path": [ 36 | "redfish", 37 | "v1", 38 | "Systems", 39 | "1", 40 | "Actions", 41 | "ComputerSystem.Reset", 42 | "" 43 | ] 44 | } 45 | }, 46 | "response": [] 47 | }, 48 | { 49 | "name": "Power On Server", 50 | "request": { 51 | "method": "POST", 52 | "header": [ 53 | { 54 | "key": "OData-Version", 55 | "value": "4.0", 56 | "disabled": true 57 | }, 58 | { 59 | "key": "Content-Type", 60 | "value": "application/json" 61 | }, 62 | { 63 | "key": "X-Auth-Token", 64 | "value": "{{Token}}" 65 | } 66 | ], 67 | "body": { 68 | "mode": "raw", 69 | "raw": "{\n\n\t\"ResetType\": \"On\"\n}" 70 | }, 71 | "url": { 72 | "raw": "{{iloURI}}/redfish/v1/Systems/1/Actions/ComputerSystem.Reset/", 73 | "host": [ 74 | "{{iloURI}}" 75 | ], 76 | "path": [ 77 | "redfish", 78 | "v1", 79 | "Systems", 80 | "1", 81 | "Actions", 82 | "ComputerSystem.Reset", 83 | "" 84 | ] 85 | }, 86 | "description": "Force Power Off the remote server" 87 | }, 88 | "response": [] 89 | }, 90 | { 91 | "name": "PowerMetrics", 92 | "protocolProfileBehavior": { 93 | "disableBodyPruning": true 94 | }, 95 | "request": { 96 | "method": "GET", 97 | "header": [ 98 | { 99 | "key": "OData-Version", 100 | "value": "4.0", 101 | "disabled": true 102 | }, 103 | { 104 | "key": "Content-Type", 105 | "value": "application/json" 106 | }, 107 | { 108 | "key": "X-Auth-Token", 109 | "value": "{{Token}}" 110 | } 111 | ], 112 | "body": { 113 | "mode": "raw", 114 | "raw": "{\n\n\t\"ResetType\": \"On\"\n}" 115 | }, 116 | "url": { 117 | "raw": "{{iloURI}}/redfish/v1/Chassis/1/Power", 118 | "host": [ 119 | "{{iloURI}}" 120 | ], 121 | "path": [ 122 | "redfish", 123 | "v1", 124 | "Chassis", 125 | "1", 126 | "Power" 127 | ] 128 | } 129 | }, 130 | "response": [] 131 | } 132 | ] 133 | } -------------------------------------------------------------------------------- /Jupyter.postman_collection.json: -------------------------------------------------------------------------------- 1 | { 2 | "info": { 3 | "_postman_id": "77818f5e-d75d-4c68-9998-0edefe90c543", 4 | "name": "Jupyter", 5 | "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" 6 | }, 7 | "item": [ 8 | { 9 | "name": "JupyterHub users", 10 | "request": { 11 | "method": "GET", 12 | "header": [ 13 | { 14 | "key": "Authorization", 15 | "value": "token ab69bf5b899f4902bec233a383b84040", 16 | "description": "francois' token", 17 | "type": "text" 18 | } 19 | ], 20 | "url": { 21 | "raw": "{{JupyterURI}}/users", 22 | "host": [ 23 | "{{JupyterURI}}" 24 | ], 25 | "path": [ 26 | "users" 27 | ] 28 | } 29 | }, 30 | "response": [] 31 | }, 32 | { 33 | "name": "Specific user", 34 | "request": { 35 | "method": "GET", 36 | "header": [ 37 | { 38 | "key": "Authorization", 39 | "value": "token ab69bf5b899f4902bec233a383b84040", 40 | "description": "francois' token", 41 | "type": "text" 42 | } 43 | ], 44 | "url": { 45 | "raw": "{{JupyterURI}}/users/student1", 46 | "host": [ 47 | "{{JupyterURI}}" 48 | ], 49 | "path": [ 50 | "users", 51 | "student1" 52 | ] 53 | } 54 | }, 55 | "response": [] 56 | }, 57 | { 58 | "name": "Kill Jupyter server", 59 | "request": { 60 | "method": "DELETE", 61 | "header": [ 62 | { 63 | "description": "francois' token", 64 | "key": "Authorization", 65 | "type": "text", 66 | "value": "token b6c6ed97922d46b580dbb375f81ffe65" 67 | } 68 | ], 69 | "url": { 70 | "raw": "{{JupyterURI}}/users/student107/server", 71 | "host": [ 72 | "{{JupyterURI}}" 73 | ], 74 | "path": [ 75 | "users", 76 | "student107", 77 | "server" 78 | ] 79 | } 80 | }, 81 | "response": [] 82 | }, 83 | { 84 | "name": "Services", 85 | "request": { 86 | "method": "GET", 87 | "header": [ 88 | { 89 | "key": "Authorization", 90 | "value": "token ab69bf5b899f4902bec233a383b84040", 91 | "description": "francois' token", 92 | "type": "text" 93 | } 94 | ], 95 | "url": { 96 | "raw": "{{JupyterURI}}/services", 97 | "host": [ 98 | "{{JupyterURI}}" 99 | ], 100 | "path": [ 101 | "services" 102 | ] 103 | } 104 | }, 105 | "response": [] 106 | }, 107 | { 108 | "name": "Specific user Tokens", 109 | "request": { 110 | "method": "GET", 111 | "header": [ 112 | { 113 | "key": "Authorization", 114 | "value": "token ab69bf5b899f4902bec233a383b84040", 115 | "description": "francois' token", 116 | "type": "text" 117 | } 118 | ], 119 | "url": { 120 | "raw": "{{JupyterURI}}/users/student1/tokens", 121 | "host": [ 122 | "{{JupyterURI}}" 123 | ], 124 | "path": [ 125 | "users", 126 | "student1", 127 | "tokens" 128 | ] 129 | } 130 | }, 131 | "response": [] 132 | }, 133 | { 134 | "name": "Proyx routing tables", 135 | "request": { 136 | "method": "GET", 137 | "header": [ 138 | { 139 | "key": "Authorization", 140 | "value": "token ab69bf5b899f4902bec233a383b84040", 141 | "description": "francois' token", 142 | "type": "text" 143 | } 144 | ], 145 | "url": { 146 | "raw": "{{JupyterURI}}/proxy", 147 | "host": [ 148 | "{{JupyterURI}}" 149 | ], 150 | "path": [ 151 | "proxy" 152 | ] 153 | } 154 | }, 155 | "response": [] 156 | }, 157 | { 158 | "name": "Start user server", 159 | "request": { 160 | "method": "POST", 161 | "header": [ 162 | { 163 | "key": "Authorization", 164 | "value": "token ab69bf5b899f4902bec233a383b84040", 165 | "description": "francois' token", 166 | "type": "text" 167 | }, 168 | { 169 | "key": "Content-Type", 170 | "value": "application/json", 171 | "type": "text" 172 | } 173 | ], 174 | "body": { 175 | "mode": "raw", 176 | "raw": "{}", 177 | "options": { 178 | "raw": {} 179 | } 180 | }, 181 | "url": { 182 | "raw": "{{JupyterURI}}/users/student2/servers/student2", 183 | "host": [ 184 | "{{JupyterURI}}" 185 | ], 186 | "path": [ 187 | "users", 188 | "student2", 189 | "servers", 190 | "student2" 191 | ] 192 | }, 193 | "description": "Need c.JupyterHub.allow_named_servers = True in /etc/jupyter/jupyter_config.py" 194 | }, 195 | "response": [] 196 | } 197 | ], 198 | "protocolProfileBehavior": {} 199 | } -------------------------------------------------------------------------------- /9-Telemetry.postman_collection.json: -------------------------------------------------------------------------------- 1 | { 2 | "info": { 3 | "_postman_id": "106a0a44-91d6-4917-a8ac-f026d2979b01", 4 | "name": "9-Telemetry", 5 | "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" 6 | }, 7 | "item": [ 8 | { 9 | "name": "Telemetry Service entry point", 10 | "request": { 11 | "method": "GET", 12 | "header": [ 13 | { 14 | "key": "OData-Version", 15 | "value": "4.0", 16 | "type": "text" 17 | }, 18 | { 19 | "key": "Content-Type", 20 | "value": "application/json", 21 | "type": "text" 22 | }, 23 | { 24 | "key": "X-Auth-Token", 25 | "value": "{{Token}}", 26 | "type": "text" 27 | } 28 | ], 29 | "url": { 30 | "raw": "{{iloURI}}/redfish/v1/TelemetryService/", 31 | "host": [ 32 | "{{iloURI}}" 33 | ], 34 | "path": [ 35 | "redfish", 36 | "v1", 37 | "TelemetryService", 38 | "" 39 | ] 40 | } 41 | }, 42 | "response": [] 43 | }, 44 | { 45 | "name": "Telemetry Metric Reports", 46 | "request": { 47 | "method": "GET", 48 | "header": [ 49 | { 50 | "key": "OData-Version", 51 | "value": "4.0", 52 | "type": "text" 53 | }, 54 | { 55 | "key": "Content-Type", 56 | "value": "application/json", 57 | "type": "text" 58 | }, 59 | { 60 | "key": "X-Auth-Token", 61 | "value": "{{Token}}", 62 | "type": "text" 63 | } 64 | ], 65 | "url": { 66 | "raw": "{{iloURI}}/redfish/v1/TelemetryService/MetricReports/", 67 | "host": [ 68 | "{{iloURI}}" 69 | ], 70 | "path": [ 71 | "redfish", 72 | "v1", 73 | "TelemetryService", 74 | "MetricReports", 75 | "" 76 | ] 77 | } 78 | }, 79 | "response": [] 80 | }, 81 | { 82 | "name": "10 mn Telemetry CPU utilization ", 83 | "request": { 84 | "method": "GET", 85 | "header": [ 86 | { 87 | "key": "OData-Version", 88 | "value": "4.0", 89 | "type": "text" 90 | }, 91 | { 92 | "key": "Content-Type", 93 | "value": "application/json", 94 | "type": "text" 95 | }, 96 | { 97 | "key": "X-Auth-Token", 98 | "value": "{{Token}}", 99 | "type": "text" 100 | } 101 | ], 102 | "url": { 103 | "raw": "{{iloURI}}/redfish/v1/TelemetryService/MetricReports/CPUUtilCustom1/", 104 | "host": [ 105 | "{{iloURI}}" 106 | ], 107 | "path": [ 108 | "redfish", 109 | "v1", 110 | "TelemetryService", 111 | "MetricReports", 112 | "CPUUtilCustom1", 113 | "" 114 | ] 115 | } 116 | }, 117 | "response": [] 118 | }, 119 | { 120 | "name": "CPU Utilization Triggers", 121 | "request": { 122 | "method": "GET", 123 | "header": [ 124 | { 125 | "key": "OData-Version", 126 | "value": "4.0", 127 | "type": "text" 128 | }, 129 | { 130 | "key": "Content-Type", 131 | "value": "application/json", 132 | "type": "text" 133 | }, 134 | { 135 | "key": "X-Auth-Token", 136 | "value": "{{Token}}", 137 | "type": "text" 138 | } 139 | ], 140 | "url": { 141 | "raw": "{{iloURI}}/redfish/v1/TelemetryService/Triggers/CPUUtilTriggers/", 142 | "host": [ 143 | "{{iloURI}}" 144 | ], 145 | "path": [ 146 | "redfish", 147 | "v1", 148 | "TelemetryService", 149 | "Triggers", 150 | "CPUUtilTriggers", 151 | "" 152 | ] 153 | }, 154 | "description": "Defaults are:\n\n\n \"NumericThresholds\": {\n \"LowerCritical\": {\n \"Activation\": \"Decreasing\",\n \"DwellTime\": \"PT0S\",\n \"Reading\": 0\n },\n \"UpperCritical\": {\n \"Activation\": \"Increasing\",\n \"DwellTime\": \"PT0S\",\n \"Reading\": 0\n }\n },\n \"Status\": {\n \"Health\": \"OK\",\n \"State\": \"Enabled\"\n },\n \"TriggerActions\": [\n \"LogToLogService\"\n ]" 155 | }, 156 | "response": [] 157 | }, 158 | { 159 | "name": "Change CPU Utilization Thresholds", 160 | "request": { 161 | "method": "PATCH", 162 | "header": [ 163 | { 164 | "key": "OData-Version", 165 | "type": "text", 166 | "value": "4.0" 167 | }, 168 | { 169 | "key": "Content-Type", 170 | "type": "text", 171 | "value": "application/json" 172 | }, 173 | { 174 | "key": "X-Auth-Token", 175 | "type": "text", 176 | "value": "{{Token}}" 177 | } 178 | ], 179 | "body": { 180 | "mode": "raw", 181 | "raw": "{\r\n\t\"NumericThresholds\": {\r\n \"LowerCritical\": {\r\n \t\"DwellTime\": \"PT20S\",\r\n \"Reading\": 10\r\n },\r\n \"UpperCritical\": {\r\n \t\"DwellTime\": \"PT20S\",\r\n \"Reading\": 90\r\n }\r\n }\r\n}" 182 | }, 183 | "url": { 184 | "raw": "{{iloURI}}/redfish/v1/TelemetryService/Triggers/CPUUtilTriggers/", 185 | "host": [ 186 | "{{iloURI}}" 187 | ], 188 | "path": [ 189 | "redfish", 190 | "v1", 191 | "TelemetryService", 192 | "Triggers", 193 | "CPUUtilTriggers", 194 | "" 195 | ] 196 | } 197 | }, 198 | "response": [] 199 | } 200 | ] 201 | } -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Postman-Redfish-Collections 2 | 3 | Postman collections for Redfish requests against HPE servers 4 | 5 | This repository contains exported Postman collections in .json files as well as a typical environment with suitable variables holding everything needed to run Redfish requests against HPE iLOs in a smoothly manner. 6 | 7 | The overall goal is to provide raw Redfish examples to understand the basic Redfish mechanic. Once this mechanic is digested you will be able to translate the examples into your favorite programing or scripting language (Python, PowerShell...). Note that the `Generate Code Snippet` Postman facility can help you to perform this kind of translation. 8 | 9 | The Redfish requests of this repository can help as well understand the examples posted in the [python-ilorest-library](https://github.com/HewlettPackard/python-ilorest-library/tree/master/examples/Redfish). 10 | 11 | **NOTE**: Using such raw Redfish requests or code snippets in a production environment is a very bad idea because Redfish objects may change their location overtime or be different from one server to another. Read the [Getting Started with iLO RESTful API](https://developer.hpe.com/blog/getting-started-with-ilo-restful-api-redfish-api-conformance) article to understand how important it is to never assume a Redfish property location. 12 | 13 | ## Requirements 14 | 15 | Install or upgrade to the latest version of [Postman](https://www.getpostman.com/apps) and make sure it is connected to the Internet. 16 | 17 | ## Import the Redfish generic environment 18 | 19 | You need first to import the typical Redfish environment and customize it with your own values. 20 | 21 | Download the [Redfish_generic.postman_environment.json](https://github.com/donzef/Postman-Redfish-Collections/blob/master/Redfish_generic.postman_environment.json) to your local computer. Start Postman and open the `Manage Environments` window (gear wheel icon in the upper right corner). Click on the import button, browse and select the just downloaded environment. 22 | 23 | Once this generic environment is imported, select it and customize the three variables according to your environment: `iloURI`, `iloUser` and `iloPasswd`. The `Token` and `SessionLocation` variables will be automatically populated during the iLO session creation. Hence you can leave them empty. 24 | 25 | Click on the `Update` button to save your changes. 26 | 27 | You can now kill the `Manage Environments` popup window and select this new environment in the environment pull down list (upper right corner). 28 | 29 | ## Import collections 30 | 31 | To use the various collections of this repository, you must import first the [1_Sessions](https://github.com/donzef/Postman-Redfish-Collections/blob/master/1_Sessions.postman_collection.json) collection. This collection contains iLO session management requests. 32 | 33 | Copy in the clipboard the .json [collection URL](https://github.com/donzef/Postman-Redfish-Collections/blob/master/1_Sessions.postman_collection.json). Start Postman and click on `File` --> `Import...`. Select the `Import From Link` tabulation. Paste the URL in the dialog box and click `import`. You should see this new imported collection in the collection pane on the left side of Postman. 34 | 35 | Use the same methodology to import other collections. 36 | 37 | ## Testing the environment 38 | 39 | Expand the `1_Sessions` collection and click on the `Create iLO Session` request. Click on the `Send` button. If everything goes smoothly, you get a `201 Created` status code. You can verify that the `Token` and `SessionLocation` variables have been populated by the `test` javascript. The `Token` variable will be to authenticate future requests. The `SessionLocation` will be used to delete the iLO session. 40 | 41 | ## Collection descriptions 42 | 43 | ### Redfish_generic 44 | 45 | Generic Redfish Postman environment containing the remote iLO IP address as well as the remote iLO credentials required to open a session. It contains as well `Token` and `SessionLocation` variables required, respectively, to authenticate HTTP requests and delete the iLO session. 46 | 47 | ### 1_Sessions 48 | 49 | Create, Delete and View iLO sessions. Use of the Postman `test` facility to capture the session Token and Session Location during the session creation. 50 | 51 | Read the [Managing iLO sessions with Redfish](https://developer.hpe.com/blog/managing-ilo-sessions-with-redfish) article to better understand iLO session management. 52 | 53 | [Published](https://documenter.getpostman.com/view/3625509/RzfmEST5) 54 | 55 | ### 2_Storage 56 | 57 | Management of HPE Smart Storage: view, create, delete disks and logical drives. 58 | 59 | This collection can only be used against HPE Gen10 servers only. 60 | 61 | This collection has been used to write the [Storage management with Redfish](https://developer.hpe.com/blog/storage-management-with-redfish) article. 62 | 63 | [Published](https://documenter.getpostman.com/view/3625509/RzfmESXR) 64 | 65 | ### 3_VirtualMedia 66 | 67 | This collection proposes mount and unmount Virtual drive requests using the Redfish standard and the legacy HPE Oem implementation. 68 | 69 | The first versions of the Redfish [VirtualMedia](http://redfish.dmtf.org/schemas/v1/VirtualMedia.json) were very limited in terms of actions and properties. However, in order to propose a decent user experience, HPE implemented its own Virtual Media subsystem under the Oem sub-tree, as permitted by the Redfish standard. 70 | 71 | Today, and for backward compatibility, HPE implements both the Redfish VirtualMedia standard and its legacy Oem implementation. 72 | 73 | [Published](https://documenter.getpostman.com/view/3625509/RzfmESXS) 74 | -------------------------------------------------------------------------------- /_11_Logs.postman_collection.json: -------------------------------------------------------------------------------- 1 | { 2 | "info": { 3 | "_postman_id": "05539c33-53be-4cbf-a8d4-2fd995176d24", 4 | "name": "_11_Logs", 5 | "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" 6 | }, 7 | "item": [ 8 | { 9 | "name": "iLO Integrated Management Logs (IML)", 10 | "request": { 11 | "method": "GET", 12 | "header": [ 13 | { 14 | "key": "OData-Version", 15 | "value": "4.0" 16 | }, 17 | { 18 | "key": "Content-Type", 19 | "value": "application/json" 20 | }, 21 | { 22 | "key": "X-Auth-Token", 23 | "value": "{{Token}}" 24 | } 25 | ], 26 | "url": { 27 | "raw": "{{iloURI}}/redfish/v1/systems/1/logservices/IML/Entries?$skip=180", 28 | "host": [ 29 | "{{iloURI}}" 30 | ], 31 | "path": [ 32 | "redfish", 33 | "v1", 34 | "systems", 35 | "1", 36 | "logservices", 37 | "IML", 38 | "Entries" 39 | ], 40 | "query": [ 41 | { 42 | "key": "$skip", 43 | "value": "180" 44 | } 45 | ] 46 | }, 47 | "description": "latest" 48 | }, 49 | "response": [] 50 | }, 51 | { 52 | "name": "Filter IML entries", 53 | "request": { 54 | "method": "GET", 55 | "header": [ 56 | { 57 | "key": "OData-Version", 58 | "value": "4.0", 59 | "type": "text" 60 | }, 61 | { 62 | "key": "Content-Type", 63 | "value": "application/json", 64 | "type": "text" 65 | }, 66 | { 67 | "key": "X-Auth-Token", 68 | "value": "{{Token}}", 69 | "type": "text" 70 | } 71 | ], 72 | "url": { 73 | "raw": "{{iloURI}}/redfish/v1/Systems/1/LogServices/IML/Entries?$filter=Created gt '2020-11-12T07:49:50Z' ", 74 | "host": [ 75 | "{{iloURI}}" 76 | ], 77 | "path": [ 78 | "redfish", 79 | "v1", 80 | "Systems", 81 | "1", 82 | "LogServices", 83 | "IML", 84 | "Entries" 85 | ], 86 | "query": [ 87 | { 88 | "key": "$filter", 89 | "value": "Created gt '2020-11-12T07:49:50Z' " 90 | } 91 | ] 92 | } 93 | }, 94 | "response": [] 95 | }, 96 | { 97 | "name": "Get first IML entries", 98 | "request": { 99 | "method": "GET", 100 | "header": [ 101 | { 102 | "key": "OData-Version", 103 | "value": "4.0", 104 | "type": "text" 105 | }, 106 | { 107 | "key": "Content-Type", 108 | "value": "application/json", 109 | "type": "text" 110 | }, 111 | { 112 | "key": "X-Auth-Token", 113 | "value": "{{Token}}", 114 | "type": "text" 115 | } 116 | ], 117 | "url": { 118 | "raw": "{{iloURI}}/redfish/v1/Systems/1/LogServices/IML/Entries?$top=10", 119 | "host": [ 120 | "{{iloURI}}" 121 | ], 122 | "path": [ 123 | "redfish", 124 | "v1", 125 | "Systems", 126 | "1", 127 | "LogServices", 128 | "IML", 129 | "Entries" 130 | ], 131 | "query": [ 132 | { 133 | "key": "$top", 134 | "value": "10" 135 | } 136 | ] 137 | } 138 | }, 139 | "response": [] 140 | }, 141 | { 142 | "name": "Get last IML entries", 143 | "request": { 144 | "method": "GET", 145 | "header": [ 146 | { 147 | "key": "OData-Version", 148 | "value": "4.0", 149 | "type": "text" 150 | }, 151 | { 152 | "key": "Content-Type", 153 | "value": "application/json", 154 | "type": "text" 155 | }, 156 | { 157 | "key": "X-Auth-Token", 158 | "value": "{{Token}}", 159 | "type": "text" 160 | } 161 | ], 162 | "url": { 163 | "raw": "{{iloURI}}/redfish/v1/Systems/1/LogServices/IML/Entries?skip=100", 164 | "host": [ 165 | "{{iloURI}}" 166 | ], 167 | "path": [ 168 | "redfish", 169 | "v1", 170 | "Systems", 171 | "1", 172 | "LogServices", 173 | "IML", 174 | "Entries" 175 | ], 176 | "query": [ 177 | { 178 | "key": "skip", 179 | "value": "100" 180 | } 181 | ] 182 | } 183 | }, 184 | "response": [] 185 | }, 186 | { 187 | "name": "iLO Event Log (IEL) Entries", 188 | "request": { 189 | "method": "GET", 190 | "header": [ 191 | { 192 | "key": "OData-Version", 193 | "value": "4.0", 194 | "disabled": true 195 | }, 196 | { 197 | "key": "Content-Type", 198 | "value": "application/json" 199 | }, 200 | { 201 | "key": "X-Auth-Token", 202 | "value": "{{Token}}" 203 | } 204 | ], 205 | "url": { 206 | "raw": "{{iloURI}}/redfish/v1/Managers/1/LogServices/IEL/Entries", 207 | "host": [ 208 | "{{iloURI}}" 209 | ], 210 | "path": [ 211 | "redfish", 212 | "v1", 213 | "Managers", 214 | "1", 215 | "LogServices", 216 | "IEL", 217 | "Entries" 218 | ] 219 | }, 220 | "description": "iLO Event Log Entries" 221 | }, 222 | "response": [] 223 | }, 224 | { 225 | "name": "System Security Log Entries (SL)", 226 | "request": { 227 | "method": "GET", 228 | "header": [ 229 | { 230 | "key": "OData-Version", 231 | "value": "4.0" 232 | }, 233 | { 234 | "key": "Content-Type", 235 | "value": "application/json" 236 | }, 237 | { 238 | "key": "X-Auth-Token", 239 | "value": "{{Token}}" 240 | } 241 | ], 242 | "url": { 243 | "raw": "{{iloURI}}/redfish/v1/systems/1/logservices/SL/Entries", 244 | "host": [ 245 | "{{iloURI}}" 246 | ], 247 | "path": [ 248 | "redfish", 249 | "v1", 250 | "systems", 251 | "1", 252 | "logservices", 253 | "SL", 254 | "Entries" 255 | ] 256 | } 257 | }, 258 | "response": [] 259 | } 260 | ] 261 | } -------------------------------------------------------------------------------- /4_PersistentMemory.postman_collection.json: -------------------------------------------------------------------------------- 1 | { 2 | "info": { 3 | "_postman_id": "dbe6e11f-c44a-41e9-810c-05d204cf9eb5", 4 | "name": "4_PersistentMemory", 5 | "description": "Persistent Memory / Optane DC PMEM collection", 6 | "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" 7 | }, 8 | "item": [ 9 | { 10 | "name": "Tasks List", 11 | "request": { 12 | "method": "GET", 13 | "header": [ 14 | { 15 | "key": "OData-Version", 16 | "value": "4.0", 17 | "type": "text" 18 | }, 19 | { 20 | "key": "Content-Type", 21 | "value": "application/json", 22 | "type": "text" 23 | }, 24 | { 25 | "key": "X-Auth-Token", 26 | "value": "{{Token}}", 27 | "type": "text" 28 | } 29 | ], 30 | "url": { 31 | "raw": "{{iloURI}}/redfish/v1/TaskService/Tasks/", 32 | "host": [ 33 | "{{iloURI}}" 34 | ], 35 | "path": [ 36 | "redfish", 37 | "v1", 38 | "TaskService", 39 | "Tasks", 40 | "" 41 | ] 42 | } 43 | }, 44 | "response": [] 45 | }, 46 | { 47 | "name": "Tasks List Copy", 48 | "request": { 49 | "method": "GET", 50 | "header": [ 51 | { 52 | "key": "OData-Version", 53 | "value": "4.0", 54 | "type": "text" 55 | }, 56 | { 57 | "key": "Content-Type", 58 | "value": "application/json", 59 | "type": "text" 60 | }, 61 | { 62 | "key": "X-Auth-Token", 63 | "value": "{{Token}}", 64 | "type": "text" 65 | } 66 | ], 67 | "url": { 68 | "raw": "{{iloURI}}/redfish/v1/TaskService/Tasks/", 69 | "host": [ 70 | "{{iloURI}}" 71 | ], 72 | "path": [ 73 | "redfish", 74 | "v1", 75 | "TaskService", 76 | "Tasks", 77 | "" 78 | ] 79 | } 80 | }, 81 | "response": [] 82 | }, 83 | { 84 | "name": "{{iloURI}}/redfish/v1/TaskService/Tasks/137/", 85 | "request": { 86 | "method": "DELETE", 87 | "header": [ 88 | { 89 | "key": "OData-Version", 90 | "value": "4.0", 91 | "type": "text" 92 | }, 93 | { 94 | "key": "Content-Type", 95 | "value": "application/json", 96 | "type": "text" 97 | }, 98 | { 99 | "key": "X-Auth-Token", 100 | "value": "{{Token}}", 101 | "type": "text" 102 | } 103 | ], 104 | "body": { 105 | "mode": "raw", 106 | "raw": "" 107 | }, 108 | "url": { 109 | "raw": "{{iloURI}}/redfish/v1/TaskService/Tasks/135/", 110 | "host": [ 111 | "{{iloURI}}" 112 | ], 113 | "path": [ 114 | "redfish", 115 | "v1", 116 | "TaskService", 117 | "Tasks", 118 | "135", 119 | "" 120 | ] 121 | }, 122 | "description": "Delete a Task" 123 | }, 124 | "response": [] 125 | }, 126 | { 127 | "name": "Proc1 PMEM configuration", 128 | "request": { 129 | "method": "GET", 130 | "header": [ 131 | { 132 | "key": "OData-Version", 133 | "value": "4.0", 134 | "type": "text" 135 | }, 136 | { 137 | "key": "Content-Type", 138 | "value": "application/json", 139 | "type": "text" 140 | }, 141 | { 142 | "key": "X-Auth-Token", 143 | "value": "{{Token}}", 144 | "type": "text" 145 | } 146 | ], 147 | "url": { 148 | "raw": "{{iloURI}}/redfish/v1/Systems/1/MemoryDomains/PROC1MemoryDomain/MemoryChunks", 149 | "host": [ 150 | "{{iloURI}}" 151 | ], 152 | "path": [ 153 | "redfish", 154 | "v1", 155 | "Systems", 156 | "1", 157 | "MemoryDomains", 158 | "PROC1MemoryDomain", 159 | "MemoryChunks" 160 | ] 161 | } 162 | }, 163 | "response": [] 164 | }, 165 | { 166 | "name": "List of DIMMs present in the System", 167 | "event": [ 168 | { 169 | "listen": "test", 170 | "script": { 171 | "exec": [ 172 | "// Make sure we'll work on a suitable response.", 173 | "pm.test(\"Status code is 200\", function () {", 174 | " pm.response.to.have.status(200);", 175 | "});", 176 | "pm.test(\"Response includes MemoryType\", function () {", 177 | " pm.expect(pm.response.json()).to.include.keys(\"MemoryType\", \"Name\");", 178 | "});", 179 | "", 180 | "// Extract values from the response.", 181 | "let DimmName = pm.response.json().Members[0.Name];", 182 | "let MemoryType = pm.response.json().Members;", 183 | "", 184 | "// Create Postman environment variables", 185 | "pm.environment.set('DimmName', DimmName);", 186 | "pm.environment.set('MemoryType', MemoryType);", 187 | "", 188 | "// Print keys and corresponding values on the Postman Console.", 189 | "console.log(\"DimmName:\", pm.variables.get(\"DimmName\"));", 190 | "console.log(\"MemoryType:\", pm.variables.get(\"MemoryType\"));", 191 | "", 192 | "", 193 | "//pm.environment.unset('PostState', PostState);", 194 | "//pm.environment.unset('SmartArrayDiscovery', SmartArrayDiscovery);" 195 | ], 196 | "type": "text/javascript" 197 | } 198 | } 199 | ], 200 | "request": { 201 | "method": "GET", 202 | "header": [ 203 | { 204 | "key": "OData-Version", 205 | "value": "4.0", 206 | "type": "text" 207 | }, 208 | { 209 | "key": "Content-Type", 210 | "value": "application/json", 211 | "type": "text" 212 | }, 213 | { 214 | "key": "X-Auth-Token", 215 | "value": "{{Token}}", 216 | "type": "text" 217 | } 218 | ], 219 | "url": { 220 | "raw": "{{iloURI}}/redfish/v1/Systems/1/Memory?$expand=.", 221 | "host": [ 222 | "{{iloURI}}" 223 | ], 224 | "path": [ 225 | "redfish", 226 | "v1", 227 | "Systems", 228 | "1", 229 | "Memory" 230 | ], 231 | "query": [ 232 | { 233 | "key": "$expand", 234 | "value": "." 235 | } 236 | ] 237 | } 238 | }, 239 | "response": [] 240 | }, 241 | { 242 | "name": "PMM properties", 243 | "request": { 244 | "method": "GET", 245 | "header": [ 246 | { 247 | "key": "OData-Version", 248 | "value": "4.0", 249 | "type": "text" 250 | }, 251 | { 252 | "key": "Content-Type", 253 | "value": "application/json", 254 | "type": "text" 255 | }, 256 | { 257 | "key": "X-Auth-Token", 258 | "value": "{{Token}}", 259 | "type": "text" 260 | } 261 | ], 262 | "url": { 263 | "raw": "{{iloURI}}/redfish/v1/Systems/1/Memory/proc1dimm2/", 264 | "host": [ 265 | "{{iloURI}}" 266 | ], 267 | "path": [ 268 | "redfish", 269 | "v1", 270 | "Systems", 271 | "1", 272 | "Memory", 273 | "proc1dimm2", 274 | "" 275 | ] 276 | }, 277 | "description": "Contains the configured Volatile and non-Volatile size." 278 | }, 279 | "response": [] 280 | } 281 | ] 282 | } -------------------------------------------------------------------------------- /FirmwareUpdates.postman_collection.json: -------------------------------------------------------------------------------- 1 | { 2 | "info": { 3 | "_postman_id": "1c2df68b-e005-4a0a-94bc-a4a6deaecf30", 4 | "name": "FirmwareUpdates", 5 | "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" 6 | }, 7 | "item": [ 8 | { 9 | "name": "Firmware Collections", 10 | "request": { 11 | "method": "GET", 12 | "header": [ 13 | { 14 | "key": "OData-Version", 15 | "value": "4.0" 16 | }, 17 | { 18 | "key": "Content-Type", 19 | "value": "application/json" 20 | }, 21 | { 22 | "key": "X-Auth-Token", 23 | "value": "{{Token}}" 24 | } 25 | ], 26 | "url": { 27 | "raw": "{{iloURI}}/redfish/v1/UpdateService/FirmwareInventory", 28 | "host": [ 29 | "{{iloURI}}" 30 | ], 31 | "path": [ 32 | "redfish", 33 | "v1", 34 | "UpdateService", 35 | "FirmwareInventory" 36 | ] 37 | }, 38 | "description": "List all collection of all firmware components" 39 | }, 40 | "response": [] 41 | }, 42 | { 43 | "name": "Expanded all firmware collections", 44 | "request": { 45 | "method": "GET", 46 | "header": [ 47 | { 48 | "key": "OData-Version", 49 | "value": "4.0" 50 | }, 51 | { 52 | "key": "Content-Type", 53 | "value": "application/json" 54 | }, 55 | { 56 | "key": "X-Auth-Token", 57 | "value": "{{Token}}" 58 | } 59 | ], 60 | "url": { 61 | "raw": "{{iloURI}}/redfish/v1/UpdateService/FirmwareInventory?$expand=.", 62 | "host": [ 63 | "{{iloURI}}" 64 | ], 65 | "path": [ 66 | "redfish", 67 | "v1", 68 | "UpdateService", 69 | "FirmwareInventory" 70 | ], 71 | "query": [ 72 | { 73 | "key": "$expand", 74 | "value": "." 75 | } 76 | ] 77 | }, 78 | "description": "A single GET to retrieve all the details of all firmware in the system" 79 | }, 80 | "response": [] 81 | }, 82 | { 83 | "name": "Graceful Shutdown", 84 | "request": { 85 | "method": "POST", 86 | "header": [ 87 | { 88 | "key": "OData-Version", 89 | "value": "4.0" 90 | }, 91 | { 92 | "key": "Content-Type", 93 | "value": "application/json" 94 | }, 95 | { 96 | "key": "X-Auth-Token", 97 | "value": "{{Token}}" 98 | } 99 | ], 100 | "body": { 101 | "mode": "raw", 102 | "raw": "{\n\n\t\"ResetType\": \"GracefulShutdown\"\n}" 103 | }, 104 | "url": { 105 | "raw": "{{iloURI}}/redfish/v1/Systems/1/Actions/ComputerSystem.Reset/", 106 | "host": [ 107 | "{{iloURI}}" 108 | ], 109 | "path": [ 110 | "redfish", 111 | "v1", 112 | "Systems", 113 | "1", 114 | "Actions", 115 | "ComputerSystem.Reset", 116 | "" 117 | ] 118 | } 119 | }, 120 | "response": [] 121 | }, 122 | { 123 | "name": "SimpleUpdate", 124 | "event": [ 125 | { 126 | "listen": "test", 127 | "script": { 128 | "id": "43481402-97ba-4d30-9a28-bc6e14228909", 129 | "exec": [ 130 | "" 131 | ], 132 | "type": "text/javascript" 133 | } 134 | } 135 | ], 136 | "request": { 137 | "auth": { 138 | "type": "noauth" 139 | }, 140 | "method": "POST", 141 | "header": [ 142 | { 143 | "key": "OData-Version", 144 | "value": "4.0" 145 | }, 146 | { 147 | "key": "Content-Type", 148 | "value": "application/json" 149 | }, 150 | { 151 | "key": "X-Auth-Token", 152 | "value": "{{Token}}" 153 | } 154 | ], 155 | "body": { 156 | "mode": "raw", 157 | "raw": "{\n\t\"ImageURI\": \"http://172.16.50.100/Kits/firmwares/U32_2.04_04_18_2019.signed.flash\"\n}\n" 158 | }, 159 | "url": { 160 | "raw": "{{iloURI}}/redfish/v1/UpdateService/Actions/UpdateService.SimpleUpdate/", 161 | "host": [ 162 | "{{iloURI}}" 163 | ], 164 | "path": [ 165 | "redfish", 166 | "v1", 167 | "UpdateService", 168 | "Actions", 169 | "UpdateService.SimpleUpdate", 170 | "" 171 | ] 172 | } 173 | }, 174 | "response": [] 175 | }, 176 | { 177 | "name": "Tasks List", 178 | "request": { 179 | "method": "GET", 180 | "header": [ 181 | { 182 | "key": "OData-Version", 183 | "value": "4.0", 184 | "type": "text" 185 | }, 186 | { 187 | "key": "Content-Type", 188 | "value": "application/json", 189 | "type": "text" 190 | }, 191 | { 192 | "key": "X-Auth-Token", 193 | "value": "{{Token}}", 194 | "type": "text" 195 | } 196 | ], 197 | "url": { 198 | "raw": "{{iloURI}}/redfish/v1/TaskService/Tasks/", 199 | "host": [ 200 | "{{iloURI}}" 201 | ], 202 | "path": [ 203 | "redfish", 204 | "v1", 205 | "TaskService", 206 | "Tasks", 207 | "" 208 | ] 209 | } 210 | }, 211 | "response": [] 212 | }, 213 | { 214 | "name": "Power On Server Copy", 215 | "request": { 216 | "method": "POST", 217 | "header": [ 218 | { 219 | "key": "OData-Version", 220 | "value": "4.0", 221 | "disabled": true 222 | }, 223 | { 224 | "key": "Content-Type", 225 | "value": "application/json" 226 | }, 227 | { 228 | "key": "X-Auth-Token", 229 | "value": "{{Token}}" 230 | } 231 | ], 232 | "body": { 233 | "mode": "raw", 234 | "raw": "{\n\n\t\"ResetType\": \"On\"\n}" 235 | }, 236 | "url": { 237 | "raw": "{{iloURI}}/redfish/v1/Systems/1/Actions/ComputerSystem.Reset/", 238 | "host": [ 239 | "{{iloURI}}" 240 | ], 241 | "path": [ 242 | "redfish", 243 | "v1", 244 | "Systems", 245 | "1", 246 | "Actions", 247 | "ComputerSystem.Reset", 248 | "" 249 | ] 250 | }, 251 | "description": "Force Power Off the remote server" 252 | }, 253 | "response": [] 254 | }, 255 | { 256 | "name": "iLO Repository content", 257 | "request": { 258 | "method": "GET", 259 | "header": [ 260 | { 261 | "key": "OData-Version", 262 | "value": "4.0" 263 | }, 264 | { 265 | "key": "Content-Type", 266 | "value": "application/json" 267 | }, 268 | { 269 | "key": "X-Auth-Token", 270 | "value": "{{Token}}" 271 | } 272 | ], 273 | "url": { 274 | "raw": "{{iloURI}}/redfish/v1/UpdateService/ComponentRepository/", 275 | "host": [ 276 | "{{iloURI}}" 277 | ], 278 | "path": [ 279 | "redfish", 280 | "v1", 281 | "UpdateService", 282 | "ComponentRepository", 283 | "" 284 | ] 285 | } 286 | }, 287 | "response": [] 288 | }, 289 | { 290 | "name": "UpdateService locations", 291 | "event": [ 292 | { 293 | "listen": "test", 294 | "script": { 295 | "id": "43481402-97ba-4d30-9a28-bc6e14228909", 296 | "exec": [ 297 | "" 298 | ], 299 | "type": "text/javascript" 300 | } 301 | } 302 | ], 303 | "request": { 304 | "auth": { 305 | "type": "noauth" 306 | }, 307 | "method": "GET", 308 | "header": [ 309 | { 310 | "key": "OData-Version", 311 | "value": "4.0" 312 | }, 313 | { 314 | "key": "Content-Type", 315 | "value": "application/json" 316 | }, 317 | { 318 | "key": "X-Auth-Token", 319 | "value": "{{Token}}" 320 | } 321 | ], 322 | "url": { 323 | "raw": "{{iloURI}}/redfish/v1/UpdateService/", 324 | "host": [ 325 | "{{iloURI}}" 326 | ], 327 | "path": [ 328 | "redfish", 329 | "v1", 330 | "UpdateService", 331 | "" 332 | ] 333 | }, 334 | "description": "TBD" 335 | }, 336 | "response": [] 337 | } 338 | ] 339 | } -------------------------------------------------------------------------------- /1_Sessions.postman_collection.json: -------------------------------------------------------------------------------- 1 | { 2 | "info": { 3 | "_postman_id": "d7ddd198-7dd0-4ab2-8459-fa118d0e29a4", 4 | "name": "1_Sessions", 5 | "description": "Create, Delete and View iLO sessions. Use of the Postman `test` facility to capture the session Token and Session Location during the session creation. \n\nRead the [Managing iLO sessions with Redfish](https://developer.hpe.com/blog/managing-ilo-sessions-with-redfish) article to better understand iLO session management.\n\n\n\n[Published](https://documenter.getpostman.com/view/3625509/RzfmEST5)", 6 | "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" 7 | }, 8 | "item": [ 9 | { 10 | "name": "SessionsWithBasicAuthentication", 11 | "event": [ 12 | { 13 | "listen": "test", 14 | "script": { 15 | "type": "text/javascript", 16 | "exec": [ 17 | "" 18 | ] 19 | } 20 | } 21 | ], 22 | "request": { 23 | "auth": { 24 | "type": "basic", 25 | "basic": [ 26 | { 27 | "key": "password", 28 | "value": "{{iloPasswd}}", 29 | "type": "string" 30 | }, 31 | { 32 | "key": "username", 33 | "value": "{{iloUser}}", 34 | "type": "string" 35 | } 36 | ] 37 | }, 38 | "method": "GET", 39 | "header": [ 40 | { 41 | "key": "OData-Version", 42 | "value": "4.0" 43 | }, 44 | { 45 | "key": "Content-Type", 46 | "value": "application/json" 47 | } 48 | ], 49 | "url": { 50 | "raw": "{{iloURI}}/redfish/v1/SessionService/Sessions/", 51 | "host": [ 52 | "{{iloURI}}" 53 | ], 54 | "path": [ 55 | "redfish", 56 | "v1", 57 | "SessionService", 58 | "Sessions", 59 | "" 60 | ] 61 | }, 62 | "description": "Get Sessions using Basic Authentication, case of problems with the Token generation mechanism." 63 | }, 64 | "response": [] 65 | }, 66 | { 67 | "name": "Create iLO Session", 68 | "event": [ 69 | { 70 | "listen": "test", 71 | "script": { 72 | "exec": [ 73 | "pm.environment.set(\"Token\", postman.getResponseHeader(\"X-Auth-Token\"));", 74 | "pm.environment.set(\"SessionLocation\", postman.getResponseHeader(\"Location\"));", 75 | "", 76 | "", 77 | "//console.log(\"Token:\", pm.variables.get(\"Token\")); ", 78 | "//console.log(\"SessionLocation:\", pm.variables.get(\"SessionLocation\")); ", 79 | "", 80 | "// Environment Cleanup", 81 | "pm.environment.unset('PowerState'); ", 82 | "pm.environment.unset('PostState'); ", 83 | "pm.environment.unset('SmartArrayDiscovery');" 84 | ], 85 | "type": "text/javascript" 86 | } 87 | } 88 | ], 89 | "request": { 90 | "auth": { 91 | "type": "noauth" 92 | }, 93 | "method": "POST", 94 | "header": [ 95 | { 96 | "key": "OData-Version", 97 | "value": "4.0" 98 | }, 99 | { 100 | "key": "Content-Type", 101 | "value": "application/json" 102 | } 103 | ], 104 | "body": { 105 | "mode": "raw", 106 | "raw": "{\n\t\"UserName\": \"{{iloUser}}\",\n\t\"Password\": \"{{iloPasswd}}\"\n\t\n}\n" 107 | }, 108 | "url": { 109 | "raw": "{{iloURI}}/redfish/v1/SessionService/Sessions/", 110 | "host": [ 111 | "{{iloURI}}" 112 | ], 113 | "path": [ 114 | "redfish", 115 | "v1", 116 | "SessionService", 117 | "Sessions", 118 | "" 119 | ] 120 | }, 121 | "description": "Get Session Token" 122 | }, 123 | "response": [] 124 | }, 125 | { 126 | "name": "Get iLO Sessions", 127 | "event": [ 128 | { 129 | "listen": "test", 130 | "script": { 131 | "type": "text/javascript", 132 | "exec": [ 133 | "" 134 | ] 135 | } 136 | } 137 | ], 138 | "request": { 139 | "auth": { 140 | "type": "noauth" 141 | }, 142 | "method": "GET", 143 | "header": [ 144 | { 145 | "key": "OData-Version", 146 | "value": "4.0" 147 | }, 148 | { 149 | "key": "Content-Type", 150 | "value": "application/json" 151 | }, 152 | { 153 | "key": "X-Auth-Token", 154 | "value": "{{Token}}" 155 | } 156 | ], 157 | "url": { 158 | "raw": "{{iloURI}}/redfish/v1/SessionService/Sessions/", 159 | "host": [ 160 | "{{iloURI}}" 161 | ], 162 | "path": [ 163 | "redfish", 164 | "v1", 165 | "SessionService", 166 | "Sessions", 167 | "" 168 | ] 169 | }, 170 | "description": "Get Session Token" 171 | }, 172 | "response": [] 173 | }, 174 | { 175 | "name": "Delete Session", 176 | "event": [ 177 | { 178 | "listen": "test", 179 | "script": { 180 | "exec": [ 181 | "pm.test(\"Body matches string\", function () {", 182 | " pm.expect(pm.response.text()).to.include(\"Success\");", 183 | "});", 184 | "", 185 | "// Environment Cleanup", 186 | "pm.environment.unset('PowerState'); ", 187 | "pm.environment.unset('PostState'); ", 188 | "pm.environment.unset('SmartArrayDiscovery');", 189 | "pm.environment.unset('Token');", 190 | "pm.environment.unset('SessionLocation');" 191 | ], 192 | "type": "text/javascript" 193 | } 194 | } 195 | ], 196 | "request": { 197 | "auth": { 198 | "type": "noauth" 199 | }, 200 | "method": "DELETE", 201 | "header": [ 202 | { 203 | "key": "OData-Version", 204 | "value": "4.0" 205 | }, 206 | { 207 | "key": "Content-Type", 208 | "value": "application/json" 209 | }, 210 | { 211 | "key": "X-Auth-Token", 212 | "value": "{{Token}}" 213 | } 214 | ], 215 | "body": { 216 | "mode": "raw", 217 | "raw": "" 218 | }, 219 | "url": { 220 | "raw": "{{SessionLocation}}", 221 | "host": [ 222 | "{{SessionLocation}}" 223 | ] 224 | }, 225 | "description": "DELETE Session" 226 | }, 227 | "response": [] 228 | }, 229 | { 230 | "name": "SessionTimeout", 231 | "request": { 232 | "auth": { 233 | "type": "basic", 234 | "basic": [ 235 | { 236 | "key": "password", 237 | "value": "password", 238 | "type": "string" 239 | }, 240 | { 241 | "key": "username", 242 | "value": "demopaq", 243 | "type": "string" 244 | } 245 | ] 246 | }, 247 | "method": "PATCH", 248 | "header": [ 249 | { 250 | "key": "Content-Type", 251 | "value": "application/json", 252 | "type": "text" 253 | }, 254 | { 255 | "key": "OData-Version", 256 | "value": "4.0", 257 | "type": "text" 258 | } 259 | ], 260 | "body": { 261 | "mode": "raw", 262 | "raw": "{\n\"SessionTimeout\": 3600\n}", 263 | "options": { 264 | "raw": { 265 | "language": "json" 266 | } 267 | } 268 | }, 269 | "url": { 270 | "raw": "{{iloURI}}/redfish/v1/SessionService", 271 | "host": [ 272 | "{{iloURI}}" 273 | ], 274 | "path": [ 275 | "redfish", 276 | "v1", 277 | "SessionService" 278 | ] 279 | }, 280 | "description": "TBV: Patch SessionTimeout value " 281 | }, 282 | "response": [] 283 | }, 284 | { 285 | "name": "SessionService WithBasicAuthentication", 286 | "event": [ 287 | { 288 | "listen": "test", 289 | "script": { 290 | "exec": [ 291 | "" 292 | ], 293 | "type": "text/javascript" 294 | } 295 | } 296 | ], 297 | "request": { 298 | "auth": { 299 | "type": "basic", 300 | "basic": [ 301 | { 302 | "key": "password", 303 | "value": "{{iloPasswd}}", 304 | "type": "string" 305 | }, 306 | { 307 | "key": "username", 308 | "value": "{{iloUser}}", 309 | "type": "string" 310 | } 311 | ] 312 | }, 313 | "method": "GET", 314 | "header": [ 315 | { 316 | "key": "OData-Version", 317 | "value": "4.0" 318 | }, 319 | { 320 | "key": "Content-Type", 321 | "value": "application/json" 322 | } 323 | ], 324 | "url": { 325 | "raw": "{{iloURI}}/redfish/v1/SessionService", 326 | "host": [ 327 | "{{iloURI}}" 328 | ], 329 | "path": [ 330 | "redfish", 331 | "v1", 332 | "SessionService" 333 | ] 334 | } 335 | }, 336 | "response": [] 337 | } 338 | ], 339 | "event": [ 340 | { 341 | "listen": "prerequest", 342 | "script": { 343 | "type": "text/javascript", 344 | "exec": [ 345 | "" 346 | ] 347 | } 348 | }, 349 | { 350 | "listen": "test", 351 | "script": { 352 | "type": "text/javascript", 353 | "exec": [ 354 | "" 355 | ] 356 | } 357 | } 358 | ] 359 | } -------------------------------------------------------------------------------- /8-EventSubscriptions.postman_collection.json: -------------------------------------------------------------------------------- 1 | { 2 | "info": { 3 | "_postman_id": "a6236455-784d-4027-8a97-1f413e17f4f7", 4 | "name": "8-EventSubscriptions", 5 | "description": "TBD", 6 | "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" 7 | }, 8 | "item": [ 9 | { 10 | "name": "EventSubscriptions", 11 | "event": [ 12 | { 13 | "listen": "test", 14 | "script": { 15 | "exec": [ 16 | "" 17 | ], 18 | "type": "text/javascript" 19 | } 20 | } 21 | ], 22 | "request": { 23 | "auth": { 24 | "type": "noauth" 25 | }, 26 | "method": "GET", 27 | "header": [ 28 | { 29 | "key": "OData-Version", 30 | "value": "4.0" 31 | }, 32 | { 33 | "key": "Content-Type", 34 | "value": "application/json" 35 | }, 36 | { 37 | "key": "X-Auth-Token", 38 | "value": "{{Token}}" 39 | } 40 | ], 41 | "url": { 42 | "raw": "{{iloURI}}/redfish/v1/EventService/Subscriptions/", 43 | "host": [ 44 | "{{iloURI}}" 45 | ], 46 | "path": [ 47 | "redfish", 48 | "v1", 49 | "EventService", 50 | "Subscriptions", 51 | "" 52 | ] 53 | }, 54 | "description": "Get the list of all the Redfish services, at root level" 55 | }, 56 | "response": [] 57 | }, 58 | { 59 | "name": "Gen10: Event Subscription", 60 | "event": [ 61 | { 62 | "listen": "test", 63 | "script": { 64 | "exec": [ 65 | "" 66 | ], 67 | "type": "text/javascript" 68 | } 69 | } 70 | ], 71 | "request": { 72 | "auth": { 73 | "type": "noauth" 74 | }, 75 | "method": "POST", 76 | "header": [ 77 | { 78 | "key": "OData-Version", 79 | "value": "4.0" 80 | }, 81 | { 82 | "key": "Content-Type", 83 | "value": "application/json" 84 | }, 85 | { 86 | "key": "X-Auth-Token", 87 | "value": "{{Token}}" 88 | } 89 | ], 90 | "body": { 91 | "mode": "raw", 92 | "raw": "{\r\n\t\"Destination\": \"https://{{EventListener}}/RedfishEvents/EventReceiver.php\",\r\n\t\"EventTypes\": [\r\n\t\t\"StatusChange\",\r\n\t\t\"ResourceUpdated\",\r\n\t\t\"ResourceAdded\",\r\n\t\t\"ResourceRemoved\",\r\n\t\t\"Alert\"\r\n\t\t],\r\n\t\t\"HttpHeaders\": {\r\n\t\t\t\"Content-Type\": \"Application/JSON\",\r\n\t\t\t\"OData-Version\": \"4.0\"\r\n\t\t\t\r\n\t\t},\r\n\t\t\"Context\": \"Public\",\r\n\t\t\"Oem\": {\r\n\t\t\t\"Hpe\": {\r\n\t\t\t\t\"DeliveryRetryIntervalInSeconds\":30,\r\n\t\t\t\t\"RequestedMaxEventsToQueue\": 20,\r\n\t\t\t\t\"DeliveryRetryAttempts\": 5,\r\n\t\t\t\t\"RetireOldEventInMinutes\": 10\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t}\r\n}\r\n" 93 | }, 94 | "url": { 95 | "raw": "{{iloURI}}/redfish/v1/EventService/Subscriptions/", 96 | "host": [ 97 | "{{iloURI}}" 98 | ], 99 | "path": [ 100 | "redfish", 101 | "v1", 102 | "EventService", 103 | "Subscriptions", 104 | "" 105 | ] 106 | }, 107 | "description": "Event Subscription on a Gen10 server:\n\nDifference with Gen9:\nRemoved TTLCount and TTLUnit\n\nReplaced Oem/hp with Oem/hpe" 108 | }, 109 | "response": [] 110 | }, 111 | { 112 | "name": "Gen10: Minimal Event Subscription", 113 | "event": [ 114 | { 115 | "listen": "test", 116 | "script": { 117 | "exec": [ 118 | "" 119 | ], 120 | "type": "text/javascript" 121 | } 122 | } 123 | ], 124 | "request": { 125 | "auth": { 126 | "type": "noauth" 127 | }, 128 | "method": "POST", 129 | "header": [ 130 | { 131 | "key": "OData-Version", 132 | "value": "4.0" 133 | }, 134 | { 135 | "key": "Content-Type", 136 | "value": "application/json" 137 | }, 138 | { 139 | "key": "X-Auth-Token", 140 | "value": "{{Token}}" 141 | } 142 | ], 143 | "body": { 144 | "mode": "raw", 145 | "raw": "{\r\n\t\"Destination\": \"https://{{EventListener}}/RedfishEvents/EventReceiver.php\",\r\n\t\"EventTypes\": [\r\n\t\t\"StatusChange\",\r\n\t\t\"ResourceUpdated\",\r\n\t\t\"ResourceAdded\",\r\n\t\t\"ResourceRemoved\",\r\n\t\t\"Alert\"\r\n\t\t],\r\n\t\t\"Context\": \"Public\"\r\n}\r\n" 146 | }, 147 | "url": { 148 | "raw": "{{iloURI}}/redfish/v1/EventService/Subscriptions/", 149 | "host": [ 150 | "{{iloURI}}" 151 | ], 152 | "path": [ 153 | "redfish", 154 | "v1", 155 | "EventService", 156 | "Subscriptions", 157 | "" 158 | ] 159 | }, 160 | "description": "Event Subscription on a Gen10 server:\n\nDifference with Gen9:\nRemoved TTLCount and TTLUnit\n\nReplaced Oem/hp with Oem/hpe" 161 | }, 162 | "response": [] 163 | }, 164 | { 165 | "name": "Gen9: Event Subscription", 166 | "event": [ 167 | { 168 | "listen": "test", 169 | "script": { 170 | "type": "text/javascript", 171 | "exec": [ 172 | "" 173 | ] 174 | } 175 | } 176 | ], 177 | "request": { 178 | "auth": { 179 | "type": "noauth" 180 | }, 181 | "method": "POST", 182 | "header": [ 183 | { 184 | "key": "OData-Version", 185 | "value": "4.0" 186 | }, 187 | { 188 | "key": "Content-Type", 189 | "value": "application/json" 190 | }, 191 | { 192 | "key": "X-Auth-Token", 193 | "value": "{{Token}}" 194 | } 195 | ], 196 | "body": { 197 | "mode": "raw", 198 | "raw": "{\r\n\"Destination\": \"https://{{EventListener}}/RedfishEvents/EventReceiver.php\",\r\n\"EventTypes\": [\r\n \"StatusChange\",\r\n \"ResourceUpdated\",\r\n \"ResourceAdded\",\r\n \"ResourceRemoved\",\r\n \"Alert\"\r\n],\r\n\"HttpHeaders\": {\r\n \"Content-Type\": \"Application/JSON\",\r\n \"OData-Version\": \"4.0\"\r\n},\r\n\"TTLCount\": 14400,\r\n\"TTLUnits\": \"minutes\",\r\n\"Context\": \"context string\",\r\n\"Oem\": {\r\n \"Hp\": {\r\n \"DeliveryRetryIntervalInSeconds\": 30,\r\n \"RequestedMaxEventsToQueue\": 20,\r\n \"DeliveryRetryAttempts\": 5,\r\n \"RetireOldEventInMinutes\": 10\r\n }\r\n}}\r\n" 199 | }, 200 | "url": { 201 | "raw": "{{iloURI}}/redfish/v1/EventService/EventSubscriptions/", 202 | "host": [ 203 | "{{iloURI}}" 204 | ], 205 | "path": [ 206 | "redfish", 207 | "v1", 208 | "EventService", 209 | "EventSubscriptions", 210 | "" 211 | ] 212 | }, 213 | "description": "Event Subscription on a Gen9 server" 214 | }, 215 | "response": [] 216 | }, 217 | { 218 | "name": "Test Event", 219 | "event": [ 220 | { 221 | "listen": "test", 222 | "script": { 223 | "exec": [ 224 | "" 225 | ], 226 | "type": "text/javascript" 227 | } 228 | } 229 | ], 230 | "request": { 231 | "auth": { 232 | "type": "noauth" 233 | }, 234 | "method": "POST", 235 | "header": [ 236 | { 237 | "key": "OData-Version", 238 | "value": "4.0" 239 | }, 240 | { 241 | "key": "Content-Type", 242 | "value": "application/json" 243 | }, 244 | { 245 | "key": "X-Auth-Token", 246 | "value": "{{Token}}" 247 | } 248 | ], 249 | "body": { 250 | "mode": "raw", 251 | "raw": "{\r\n \"EventType\": \"ResourceAdded\",\r\n \"EventID\": \"myEventId\",\r\n \"EventTimestamp\": \"top-of-the-hour\",\r\n \"Severity\": \"OK\",\r\n \"Message\": \"This is a test message\",\r\n \"MessageID\": \"iLOEvents.0.9.ResourceStatusChanged\",\r\n \"MessageArgs\": [ \"arg0\", \"arg1\" ],\r\n \"OriginOfCondition\": \"/redfish/v1/Chassis/1/FooBar\"\r\n}\r\n" 252 | }, 253 | "url": { 254 | "raw": "{{iloURI}}/redfish/v1/EventService/Actions/EventService.SubmitTestEvent", 255 | "host": [ 256 | "{{iloURI}}" 257 | ], 258 | "path": [ 259 | "redfish", 260 | "v1", 261 | "EventService", 262 | "Actions", 263 | "EventService.SubmitTestEvent" 264 | ] 265 | }, 266 | "description": "TBD" 267 | }, 268 | "response": [] 269 | }, 270 | { 271 | "name": "Event Subscription", 272 | "request": { 273 | "method": "DELETE", 274 | "header": [ 275 | { 276 | "key": "OData-Version", 277 | "value": "4.0" 278 | }, 279 | { 280 | "key": "Content-Type", 281 | "value": "application/json" 282 | }, 283 | { 284 | "key": "X-Auth-Token", 285 | "value": "{{Token}}" 286 | } 287 | ], 288 | "url": { 289 | "raw": "{{iloURI}}/redfish/v1/EventService/Subscriptions/5", 290 | "host": [ 291 | "{{iloURI}}" 292 | ], 293 | "path": [ 294 | "redfish", 295 | "v1", 296 | "EventService", 297 | "Subscriptions", 298 | "5" 299 | ] 300 | } 301 | }, 302 | "response": [] 303 | }, 304 | { 305 | "name": "Get CPUUtilTriggers", 306 | "protocolProfileBehavior": { 307 | "disableBodyPruning": true 308 | }, 309 | "request": { 310 | "method": "GET", 311 | "header": [ 312 | { 313 | "key": "OData-Version", 314 | "value": "4.0", 315 | "type": "text" 316 | }, 317 | { 318 | "key": "Content-Type", 319 | "value": "application/json", 320 | "type": "text" 321 | }, 322 | { 323 | "key": "X-Auth-Token", 324 | "value": "{{Token}}", 325 | "type": "text" 326 | } 327 | ], 328 | "body": { 329 | "mode": "raw", 330 | "raw": "" 331 | }, 332 | "url": { 333 | "raw": "{{iloURI}}/redfish/v1/TelemetryService/Triggers/CPUUtilTriggers", 334 | "host": [ 335 | "{{iloURI}}" 336 | ], 337 | "path": [ 338 | "redfish", 339 | "v1", 340 | "TelemetryService", 341 | "Triggers", 342 | "CPUUtilTriggers" 343 | ] 344 | } 345 | }, 346 | "response": [] 347 | } 348 | ] 349 | } -------------------------------------------------------------------------------- /_14_Boot.postman_collection.json: -------------------------------------------------------------------------------- 1 | { 2 | "info": { 3 | "_postman_id": "4d3e87e9-012d-448e-a181-665c3f2917bc", 4 | "name": "_14_Boot", 5 | "description": "Everything concerning boot params", 6 | "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" 7 | }, 8 | "item": [ 9 | { 10 | "name": "Boot Order", 11 | "request": { 12 | "method": "PATCH", 13 | "header": [ 14 | { 15 | "key": "OData-Version", 16 | "value": "4.0", 17 | "type": "text" 18 | }, 19 | { 20 | "key": "Content-Type", 21 | "value": "application/json", 22 | "type": "text" 23 | }, 24 | { 25 | "key": "X-Auth-Token", 26 | "value": "{{Token}}", 27 | "type": "text" 28 | } 29 | ], 30 | "body": { 31 | "mode": "raw", 32 | "raw": "{\r\n\t\"Boot\": {\r\n \"BootOrder\": [\r\n \"Boot0018\",\r\n \"Boot0001\",\r\n \"Boot000E\",\r\n \"Boot0010\",\r\n \"Boot0023\",\r\n \"Boot000A\",\r\n \"Boot000D\",\r\n \"Boot000B\",\r\n \"Boot0003\",\r\n \"Boot000F\",\r\n \"Boot0012\",\r\n \"Boot0014\",\r\n \"Boot0016\",\r\n \"Boot0011\",\r\n \"Boot0015\",\r\n \"Boot0013\",\r\n \"Boot0017\",\r\n \"Boot0019\"\r\n ]\r\n }\r\n}\r\n" 33 | }, 34 | "url": { 35 | "raw": "{{iloURI}}/redfish/v1/Systems/1", 36 | "host": [ 37 | "{{iloURI}}" 38 | ], 39 | "path": [ 40 | "redfish", 41 | "v1", 42 | "Systems", 43 | "1" 44 | ] 45 | } 46 | }, 47 | "response": [] 48 | }, 49 | { 50 | "name": "OneTime Boot", 51 | "request": { 52 | "method": "PATCH", 53 | "header": [ 54 | { 55 | "key": "OData-Version", 56 | "value": "4.0", 57 | "type": "text" 58 | }, 59 | { 60 | "key": "Content-Type", 61 | "value": "application/json", 62 | "type": "text" 63 | }, 64 | { 65 | "key": "X-Auth-Token", 66 | "value": "{{Token}}", 67 | "type": "text" 68 | } 69 | ], 70 | "body": { 71 | "mode": "raw", 72 | "raw": "{\r\n\t\"BootSourceOverrideTarget\": \"BiosSetup\",\r\n \"BootSourceOverrideEnabled\": \"Once\"\r\n}\r\n" 73 | }, 74 | "url": { 75 | "raw": "{{iloURI}}/redfish/v1/Systems/1/Bios/Boot/Settings", 76 | "host": [ 77 | "{{iloURI}}" 78 | ], 79 | "path": [ 80 | "redfish", 81 | "v1", 82 | "Systems", 83 | "1", 84 | "Bios", 85 | "Boot", 86 | "Settings" 87 | ] 88 | } 89 | }, 90 | "response": [] 91 | }, 92 | { 93 | "name": "Default Boot Order", 94 | "request": { 95 | "method": "PATCH", 96 | "header": [ 97 | { 98 | "key": "OData-Version", 99 | "value": "4.0", 100 | "type": "text" 101 | }, 102 | { 103 | "key": "Content-Type", 104 | "value": "application/json", 105 | "type": "text" 106 | }, 107 | { 108 | "key": "X-Auth-Token", 109 | "value": "{{Token}}", 110 | "type": "text" 111 | } 112 | ], 113 | "body": { 114 | "mode": "raw", 115 | "raw": "{\r\n\t\"DefaultBootOrder\": [\r\n \"UefiShell\",\r\n \"EmbeddedStorage\",\r\n \"PcieSlotStorage\",\r\n \"EmbeddedFlexLOM\",\r\n \"PcieSlotNic\",\r\n \"Usb\",\r\n \"Cd\"\r\n ]\r\n}\r\n" 116 | }, 117 | "url": { 118 | "raw": "{{iloURI}}/redfish/v1/Systems/1/bios/boot/settings", 119 | "host": [ 120 | "{{iloURI}}" 121 | ], 122 | "path": [ 123 | "redfish", 124 | "v1", 125 | "Systems", 126 | "1", 127 | "bios", 128 | "boot", 129 | "settings" 130 | ] 131 | } 132 | }, 133 | "response": [] 134 | }, 135 | { 136 | "name": "Boot Mode", 137 | "request": { 138 | "method": "PATCH", 139 | "header": [ 140 | { 141 | "key": "OData-Version", 142 | "type": "text", 143 | "value": "4.0" 144 | }, 145 | { 146 | "key": "Content-Type", 147 | "type": "text", 148 | "value": "application/json" 149 | }, 150 | { 151 | "key": "X-Auth-Token", 152 | "type": "text", 153 | "value": "{{Token}}" 154 | } 155 | ], 156 | "url": { 157 | "raw": "{{iloURI}}/redfish/v1/Chassis/1/NetworkAdapters/6421377D/NetworkDeviceFunctions/7A79/Settings/", 158 | "host": [ 159 | "{{iloURI}}" 160 | ], 161 | "path": [ 162 | "redfish", 163 | "v1", 164 | "Chassis", 165 | "1", 166 | "NetworkAdapters", 167 | "6421377D", 168 | "NetworkDeviceFunctions", 169 | "7A79", 170 | "Settings", 171 | "" 172 | ] 173 | } 174 | }, 175 | "response": [] 176 | }, 177 | { 178 | "name": "Get Boot Pending Settings", 179 | "request": { 180 | "method": "GET", 181 | "header": [ 182 | { 183 | "key": "OData-Version", 184 | "value": "4.0" 185 | }, 186 | { 187 | "key": "Content-Type", 188 | "value": "application/json" 189 | }, 190 | { 191 | "key": "X-Auth-Token", 192 | "value": "{{Token}}" 193 | } 194 | ], 195 | "url": { 196 | "raw": "{{iloURI}}/redfish/v1/systems/1/bios/boot/settings", 197 | "host": [ 198 | "{{iloURI}}" 199 | ], 200 | "path": [ 201 | "redfish", 202 | "v1", 203 | "systems", 204 | "1", 205 | "bios", 206 | "boot", 207 | "settings" 208 | ] 209 | } 210 | }, 211 | "response": [] 212 | }, 213 | { 214 | "name": "Get Boot Settings", 215 | "request": { 216 | "method": "GET", 217 | "header": [ 218 | { 219 | "key": "OData-Version", 220 | "value": "4.0" 221 | }, 222 | { 223 | "key": "Content-Type", 224 | "value": "application/json" 225 | }, 226 | { 227 | "key": "X-Auth-Token", 228 | "value": "{{Token}}" 229 | } 230 | ], 231 | "url": { 232 | "raw": "{{iloURI}}/redfish/v1/systems/1/bios/boot", 233 | "host": [ 234 | "{{iloURI}}" 235 | ], 236 | "path": [ 237 | "redfish", 238 | "v1", 239 | "systems", 240 | "1", 241 | "bios", 242 | "boot" 243 | ] 244 | } 245 | }, 246 | "response": [] 247 | }, 248 | { 249 | "name": "BootOnNextServerReset", 250 | "request": { 251 | "method": "PATCH", 252 | "header": [ 253 | { 254 | "key": "OData-Version", 255 | "value": "4.0", 256 | "disabled": true 257 | }, 258 | { 259 | "key": "Content-Type", 260 | "value": "application/json" 261 | }, 262 | { 263 | "key": "X-Auth-Token", 264 | "value": "{{Token}}" 265 | } 266 | ], 267 | "body": { 268 | "mode": "raw", 269 | "raw": "{\n\t\"Oem\": {\"Hpe\": {\"BootOnNextServerReset\": true}}\n}" 270 | }, 271 | "url": { 272 | "raw": "{{iloURI}}/redfish/v1/Managers/1/VirtualMedia/2/", 273 | "host": [ 274 | "{{iloURI}}" 275 | ], 276 | "path": [ 277 | "redfish", 278 | "v1", 279 | "Managers", 280 | "1", 281 | "VirtualMedia", 282 | "2", 283 | "" 284 | ] 285 | }, 286 | "description": "Sets BootOnNextServerReset to true in the Oem.Hpe subtree. This is the companion request of the StandardDvdMount request in the 3_VirtualMedia Collection.\n\nThis request successful only when the managed server is Off or in FinishedPost state.\n\nIf the server is in InPost or in InPostDiscoveryComplete state this request will return an error.\n\nSee the [Master the Redfish Server States](https://developer.hpe.com/blog/master-the-redfish-server-states-to-improve-your-monitoring-and-manageme) article for more information on this subject." 287 | }, 288 | "response": [] 289 | }, 290 | { 291 | "name": "SecureBoot Enabled", 292 | "request": { 293 | "method": "PATCH", 294 | "header": [ 295 | { 296 | "key": "OData-Version", 297 | "value": "4.0", 298 | "type": "text" 299 | }, 300 | { 301 | "key": "Content-Type", 302 | "value": "application/json", 303 | "type": "text" 304 | }, 305 | { 306 | "key": "X-Auth-Token", 307 | "value": "{{Token}}", 308 | "type": "text" 309 | } 310 | ], 311 | "body": { 312 | "mode": "raw", 313 | "raw": "{\n\t\"SecureBootEnable\": false\n}" 314 | }, 315 | "url": { 316 | "raw": "{{iloURI}}/redfish/v1/Systems/1/SecureBoot/", 317 | "host": [ 318 | "{{iloURI}}" 319 | ], 320 | "path": [ 321 | "redfish", 322 | "v1", 323 | "Systems", 324 | "1", 325 | "SecureBoot", 326 | "" 327 | ] 328 | } 329 | }, 330 | "response": [] 331 | }, 332 | { 333 | "name": "Network Device Function Boot Mode", 334 | "request": { 335 | "method": "PATCH", 336 | "header": [ 337 | { 338 | "key": "OData-Version", 339 | "type": "text", 340 | "value": "4.0" 341 | }, 342 | { 343 | "key": "Content-Type", 344 | "type": "text", 345 | "value": "application/json" 346 | }, 347 | { 348 | "key": "X-Auth-Token", 349 | "type": "text", 350 | "value": "{{Token}}" 351 | } 352 | ], 353 | "body": { 354 | "mode": "raw", 355 | "raw": "{\"BootMode\": \"None\"}" 356 | }, 357 | "url": { 358 | "raw": "{{iloURI}}/redfish/v1/Chassis/1/NetworkAdapters/6421377D/NetworkDeviceFunctions/7A79/Settings/", 359 | "host": [ 360 | "{{iloURI}}" 361 | ], 362 | "path": [ 363 | "redfish", 364 | "v1", 365 | "Chassis", 366 | "1", 367 | "NetworkAdapters", 368 | "6421377D", 369 | "NetworkDeviceFunctions", 370 | "7A79", 371 | "Settings", 372 | "" 373 | ] 374 | }, 375 | "description": "Test whether a specific Network Device Function can have its Boot Protocol Mode modified." 376 | }, 377 | "response": [] 378 | } 379 | ] 380 | } -------------------------------------------------------------------------------- /_15_Chassis.postman_collection.json: -------------------------------------------------------------------------------- 1 | { 2 | "info": { 3 | "_postman_id": "79558f40-06cd-4f65-90df-57daeade4be6", 4 | "name": "_15_Chassis", 5 | "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" 6 | }, 7 | "item": [ 8 | { 9 | "name": "Gen10: Chassis Thermal Configuration", 10 | "event": [ 11 | { 12 | "listen": "test", 13 | "script": { 14 | "exec": [ 15 | "" 16 | ], 17 | "type": "text/javascript" 18 | } 19 | } 20 | ], 21 | "request": { 22 | "auth": { 23 | "type": "noauth" 24 | }, 25 | "method": "PATCH", 26 | "header": [ 27 | { 28 | "key": "OData-Version", 29 | "value": "4.0", 30 | "disabled": true 31 | }, 32 | { 33 | "key": "Content-Type", 34 | "value": "application/json" 35 | }, 36 | { 37 | "key": "X-Auth-Token", 38 | "value": "{{Token}}" 39 | } 40 | ], 41 | "body": { 42 | "mode": "raw", 43 | "raw": "{\n \"Oem\": {\n \"Hpe\": {\n \"ThermalConfiguration\": \"OptimalCooling\"\n }\n }\n}" 44 | }, 45 | "url": { 46 | "raw": "{{iloURI}}/redfish/v1/Chassis/1/Thermal", 47 | "host": [ 48 | "{{iloURI}}" 49 | ], 50 | "path": [ 51 | "redfish", 52 | "v1", 53 | "Chassis", 54 | "1", 55 | "Thermal" 56 | ] 57 | }, 58 | "description": "OptimalCooling\r\n\r\nEnhancedCooling\r\n\r\nIncreasedCooling\r\n\r\nMaximumCooling" 59 | }, 60 | "response": [] 61 | }, 62 | { 63 | "name": "Chassis Collection", 64 | "request": { 65 | "method": "GET", 66 | "header": [ 67 | { 68 | "key": "OData-Version", 69 | "value": "4.0", 70 | "type": "text" 71 | }, 72 | { 73 | "key": "Content-Type", 74 | "value": "application/json", 75 | "type": "text" 76 | }, 77 | { 78 | "key": "X-Auth-Token", 79 | "value": "{{Token}}", 80 | "type": "text" 81 | } 82 | ], 83 | "url": { 84 | "raw": "{{iloURI}}/redfish/v1/Chassis", 85 | "host": [ 86 | "{{iloURI}}" 87 | ], 88 | "path": [ 89 | "redfish", 90 | "v1", 91 | "Chassis" 92 | ] 93 | } 94 | }, 95 | "response": [] 96 | }, 97 | { 98 | "name": "ComputeNode Chassis", 99 | "request": { 100 | "method": "GET", 101 | "header": [ 102 | { 103 | "key": "OData-Version", 104 | "value": "4.0", 105 | "type": "text" 106 | }, 107 | { 108 | "key": "Content-Type", 109 | "value": "application/json", 110 | "type": "text" 111 | }, 112 | { 113 | "key": "X-Auth-Token", 114 | "value": "{{Token}}", 115 | "type": "text" 116 | } 117 | ], 118 | "url": { 119 | "raw": "{{iloURI}}/redfish/v1/Chassis/1", 120 | "host": [ 121 | "{{iloURI}}" 122 | ], 123 | "path": [ 124 | "redfish", 125 | "v1", 126 | "Chassis", 127 | "1" 128 | ] 129 | } 130 | }, 131 | "response": [] 132 | }, 133 | { 134 | "name": "Enclosure Chassis", 135 | "request": { 136 | "method": "GET", 137 | "header": [ 138 | { 139 | "key": "OData-Version", 140 | "value": "4.0", 141 | "type": "text" 142 | }, 143 | { 144 | "key": "Content-Type", 145 | "value": "application/json", 146 | "type": "text" 147 | }, 148 | { 149 | "key": "X-Auth-Token", 150 | "value": "{{Token}}", 151 | "type": "text" 152 | } 153 | ], 154 | "url": { 155 | "raw": "{{iloURI}}/redfish/v1/Chassis/enclosurechassis", 156 | "host": [ 157 | "{{iloURI}}" 158 | ], 159 | "path": [ 160 | "redfish", 161 | "v1", 162 | "Chassis", 163 | "enclosurechassis" 164 | ] 165 | } 166 | }, 167 | "response": [] 168 | }, 169 | { 170 | "name": "Thermal from Chassis", 171 | "request": { 172 | "method": "GET", 173 | "header": [ 174 | { 175 | "key": "OData-Version", 176 | "value": "4.0", 177 | "type": "text" 178 | }, 179 | { 180 | "key": "Content-Type", 181 | "value": "application/json", 182 | "type": "text" 183 | }, 184 | { 185 | "key": "X-Auth-Token", 186 | "value": "{{Token}}", 187 | "type": "text" 188 | } 189 | ], 190 | "url": { 191 | "raw": "{{iloURI}}/redfish/v1/Chassis/1/Thermal", 192 | "host": [ 193 | "{{iloURI}}" 194 | ], 195 | "path": [ 196 | "redfish", 197 | "v1", 198 | "Chassis", 199 | "1", 200 | "Thermal" 201 | ] 202 | } 203 | }, 204 | "response": [] 205 | }, 206 | { 207 | "name": "NetworkDeviceFunction 1", 208 | "request": { 209 | "method": "GET", 210 | "header": [ 211 | { 212 | "key": "OData-Version", 213 | "value": "4.0", 214 | "type": "text" 215 | }, 216 | { 217 | "key": "Content-Type", 218 | "value": "application/json", 219 | "type": "text" 220 | }, 221 | { 222 | "key": "X-Auth-Token", 223 | "value": "{{Token}}", 224 | "type": "text" 225 | } 226 | ], 227 | "url": { 228 | "raw": "{{iloURI}}/redfish/v1/Chassis/1/NetworkAdapters/DC03D000/NetworkDeviceFunctions/1", 229 | "host": [ 230 | "{{iloURI}}" 231 | ], 232 | "path": [ 233 | "redfish", 234 | "v1", 235 | "Chassis", 236 | "1", 237 | "NetworkAdapters", 238 | "DC03D000", 239 | "NetworkDeviceFunctions", 240 | "1" 241 | ] 242 | } 243 | }, 244 | "response": [] 245 | }, 246 | { 247 | "name": "NetworkDeviceFunction 1 Settings", 248 | "request": { 249 | "method": "GET", 250 | "header": [ 251 | { 252 | "key": "OData-Version", 253 | "value": "4.0", 254 | "type": "text" 255 | }, 256 | { 257 | "key": "Content-Type", 258 | "value": "application/json", 259 | "type": "text" 260 | }, 261 | { 262 | "key": "X-Auth-Token", 263 | "value": "{{Token}}", 264 | "type": "text" 265 | } 266 | ], 267 | "url": { 268 | "raw": "{{iloURI}}/redfish/v1/Chassis/1/NetworkAdapters/DC03D000/NetworkDeviceFunctions/1/Settings", 269 | "host": [ 270 | "{{iloURI}}" 271 | ], 272 | "path": [ 273 | "redfish", 274 | "v1", 275 | "Chassis", 276 | "1", 277 | "NetworkAdapters", 278 | "DC03D000", 279 | "NetworkDeviceFunctions", 280 | "1", 281 | "Settings" 282 | ] 283 | } 284 | }, 285 | "response": [] 286 | }, 287 | { 288 | "name": "Modify BootMode", 289 | "request": { 290 | "method": "PATCH", 291 | "header": [ 292 | { 293 | "key": "OData-Version", 294 | "value": "4.0", 295 | "type": "text" 296 | }, 297 | { 298 | "key": "Content-Type", 299 | "value": "application/json", 300 | "type": "text" 301 | }, 302 | { 303 | "key": "X-Auth-Token", 304 | "value": "{{Token}}", 305 | "type": "text" 306 | } 307 | ], 308 | "body": { 309 | "mode": "raw", 310 | "raw": "{\"BootMode\": \"Disabled\"}" 311 | }, 312 | "url": { 313 | "raw": "{{iloURI}}/redfish/v1/Chassis/1/NetworkAdapters/DC03D000/NetworkDeviceFunctions/1/Settings", 314 | "host": [ 315 | "{{iloURI}}" 316 | ], 317 | "path": [ 318 | "redfish", 319 | "v1", 320 | "Chassis", 321 | "1", 322 | "NetworkAdapters", 323 | "DC03D000", 324 | "NetworkDeviceFunctions", 325 | "1", 326 | "Settings" 327 | ] 328 | } 329 | }, 330 | "response": [] 331 | }, 332 | { 333 | "name": "Network Adapters collection", 334 | "request": { 335 | "method": "GET", 336 | "header": [ 337 | { 338 | "key": "OData-Version", 339 | "value": "4.0", 340 | "type": "text" 341 | }, 342 | { 343 | "key": "Content-Type", 344 | "value": "application/json", 345 | "type": "text" 346 | }, 347 | { 348 | "key": "X-Auth-Token", 349 | "value": "{{Token}}", 350 | "type": "text" 351 | } 352 | ], 353 | "url": { 354 | "raw": "{{iloURI}}/redfish/v1/Chassis/1/NetworkAdapters", 355 | "host": [ 356 | "{{iloURI}}" 357 | ], 358 | "path": [ 359 | "redfish", 360 | "v1", 361 | "Chassis", 362 | "1", 363 | "NetworkAdapters" 364 | ] 365 | } 366 | }, 367 | "response": [] 368 | }, 369 | { 370 | "name": "Disable LLDP", 371 | "request": { 372 | "method": "PATCH", 373 | "header": [ 374 | { 375 | "key": "OData-Version", 376 | "value": "4.0", 377 | "type": "text" 378 | }, 379 | { 380 | "key": "Content-Type", 381 | "value": "application/json", 382 | "type": "text" 383 | }, 384 | { 385 | "key": "X-Auth-Token", 386 | "value": "{{Token}}", 387 | "type": "text" 388 | } 389 | ], 390 | "body": { 391 | "mode": "raw", 392 | "raw": "{\r\n \"Oem\": {\r\n \"Hpe\": {\r\n \"Controllers\": [\r\n {\r\n \"EmbeddedLLDPFunctions\": {\r\n \"Enabled\": false\r\n }\r\n }\r\n ]\r\n }\r\n }\r\n}" 393 | }, 394 | "url": { 395 | "raw": "{{iloURI}}/redfish/v1/Chassis/1/NetworkAdapters/DC062000/Settings/", 396 | "host": [ 397 | "{{iloURI}}" 398 | ], 399 | "path": [ 400 | "redfish", 401 | "v1", 402 | "Chassis", 403 | "1", 404 | "NetworkAdapters", 405 | "DC062000", 406 | "Settings", 407 | "" 408 | ] 409 | }, 410 | "description": "Disable all LLDP funcionts in this controller" 411 | }, 412 | "response": [] 413 | }, 414 | { 415 | "name": "Set IndicatorLED of Enclosure", 416 | "request": { 417 | "method": "PATCH", 418 | "header": [ 419 | { 420 | "key": "OData-Version", 421 | "value": "4.0", 422 | "type": "text" 423 | }, 424 | { 425 | "key": "Content-Type", 426 | "value": "application/json", 427 | "type": "text" 428 | }, 429 | { 430 | "key": "X-Auth-Token", 431 | "value": "{{Token}}", 432 | "type": "text" 433 | } 434 | ], 435 | "body": { 436 | "mode": "raw", 437 | "raw": "{\"IndicatorLED\": \"Lit\"}" 438 | }, 439 | "url": { 440 | "raw": "{{iloURI}}/redfish/v1/Chassis/enclosurechassis", 441 | "host": [ 442 | "{{iloURI}}" 443 | ], 444 | "path": [ 445 | "redfish", 446 | "v1", 447 | "Chassis", 448 | "enclosurechassis" 449 | ] 450 | }, 451 | "description": "Make sure the Environment is Synergy. For Example the Santander environment." 452 | }, 453 | "response": [] 454 | }, 455 | { 456 | "name": "Set IndicatorLED ComputeNode Chassis", 457 | "request": { 458 | "method": "PATCH", 459 | "header": [ 460 | { 461 | "key": "OData-Version", 462 | "value": "4.0", 463 | "type": "text" 464 | }, 465 | { 466 | "key": "Content-Type", 467 | "value": "application/json", 468 | "type": "text" 469 | }, 470 | { 471 | "key": "X-Auth-Token", 472 | "value": "{{Token}}", 473 | "type": "text" 474 | } 475 | ], 476 | "body": { 477 | "mode": "raw", 478 | "raw": "{\"IndicatorLED\": \"Lit\"}" 479 | }, 480 | "url": { 481 | "raw": "{{iloURI}}/redfish/v1/Chassis/1", 482 | "host": [ 483 | "{{iloURI}}" 484 | ], 485 | "path": [ 486 | "redfish", 487 | "v1", 488 | "Chassis", 489 | "1" 490 | ] 491 | } 492 | }, 493 | "response": [] 494 | } 495 | ] 496 | } -------------------------------------------------------------------------------- /3_VirtualMedia.postman_collection.json: -------------------------------------------------------------------------------- 1 | { 2 | "info": { 3 | "_postman_id": "72b0e9c7-0f56-4308-9ce0-1c0a8a28dff6", 4 | "name": "3_VirtualMedia", 5 | "description": "This collection proposes mount and unmount Virtual drive requests using the Redfish standard and the legacy HPE Oem implementation. \n\nThe first versions of the Redfish [VirtualMedia](http://redfish.dmtf.org/schemas/v1/VirtualMedia.json) were very limited in terms of actions and properties. However, in order to propose a decent user experience, HPE implemented its own Virtual Media subsystem under the Oem sub-tree, as permitted by the Redfish standard.\n\nToday, and for backward compatibility, HPE implements both the Redfish VirtualMedia standard and its legacy Oem implementation.\n\n[Published](https://documenter.getpostman.com/view/3625509/RzfmESXS)", 6 | "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" 7 | }, 8 | "item": [ 9 | { 10 | "name": "StandardDvdMount", 11 | "request": { 12 | "method": "POST", 13 | "header": [ 14 | { 15 | "key": "OData-Version", 16 | "value": "4.0", 17 | "disabled": true 18 | }, 19 | { 20 | "key": "Content-Type", 21 | "value": "application/json" 22 | }, 23 | { 24 | "key": "X-Auth-Token", 25 | "value": "{{Token}}" 26 | } 27 | ], 28 | "body": { 29 | "mode": "raw", 30 | "raw": "{\n\n\t\"Image\": \"http://172.22.103.1/MediaKits/Media/ISOs/SPP.iso\"\n}" 31 | }, 32 | "url": { 33 | "raw": "{{iloURI}}/redfish/v1/Managers/1/VirtualMedia/2/Actions/VirtualMedia.InsertMedia/", 34 | "host": [ 35 | "{{iloURI}}" 36 | ], 37 | "path": [ 38 | "redfish", 39 | "v1", 40 | "Managers", 41 | "1", 42 | "VirtualMedia", 43 | "2", 44 | "Actions", 45 | "VirtualMedia.InsertMedia", 46 | "" 47 | ] 48 | }, 49 | "description": "Mount a remote .ISO file via HTTP using a standard POST request toward an Action target.\n\nNOTE: if you want the server to boot on this Virtual Media during the next reboot, you have to send a separate PATCH request. See the BootOnNextServerReset request in the _14_Boot Collection." 50 | }, 51 | "response": [] 52 | }, 53 | { 54 | "name": "CD/DvD Virtual Media", 55 | "protocolProfileBehavior": { 56 | "disableBodyPruning": true 57 | }, 58 | "request": { 59 | "method": "GET", 60 | "header": [ 61 | { 62 | "key": "OData-Version", 63 | "value": "4.0", 64 | "disabled": true 65 | }, 66 | { 67 | "key": "Content-Type", 68 | "value": "application/json" 69 | }, 70 | { 71 | "key": "X-Auth-Token", 72 | "value": "{{Token}}" 73 | } 74 | ], 75 | "body": { 76 | "mode": "raw", 77 | "raw": "" 78 | }, 79 | "url": { 80 | "raw": "{{iloURI}}/redfish/v1/Managers/1/VirtualMedia/2/", 81 | "host": [ 82 | "{{iloURI}}" 83 | ], 84 | "path": [ 85 | "redfish", 86 | "v1", 87 | "Managers", 88 | "1", 89 | "VirtualMedia", 90 | "2", 91 | "" 92 | ] 93 | }, 94 | "description": "Retrieves the CD/DvD Virtual Media properties.\n\nNote the standard \"Actions\" and the legacy \"Oem.Hpe.Actions\" properties. \n\nNote as well that the BootOnNextReset boolean is under the Oem.Hpe sub-tree." 95 | }, 96 | "response": [] 97 | }, 98 | { 99 | "name": "StandardDvdUnmount", 100 | "request": { 101 | "method": "POST", 102 | "header": [ 103 | { 104 | "key": "OData-Version", 105 | "value": "4.0", 106 | "disabled": true 107 | }, 108 | { 109 | "key": "Content-Type", 110 | "value": "application/json" 111 | }, 112 | { 113 | "key": "X-Auth-Token", 114 | "value": "{{Token}}" 115 | } 116 | ], 117 | "body": { 118 | "mode": "raw", 119 | "raw": "{}\n" 120 | }, 121 | "url": { 122 | "raw": "{{iloURI}}/redfish/v1/Managers/1/VirtualMedia/2/Actions/VirtualMedia.EjectMedia/", 123 | "host": [ 124 | "{{iloURI}}" 125 | ], 126 | "path": [ 127 | "redfish", 128 | "v1", 129 | "Managers", 130 | "1", 131 | "VirtualMedia", 132 | "2", 133 | "Actions", 134 | "VirtualMedia.EjectMedia", 135 | "" 136 | ] 137 | }, 138 | "description": "POST request toward an Action target as defined by Redfish to unmount a CD or DvD Virtual Media.\n\nNote that this requests automatically resets to false the BootOnNextServerReset boolean, if needed." 139 | }, 140 | "response": [] 141 | }, 142 | { 143 | "name": "LegacyDvdMount1", 144 | "request": { 145 | "method": "PATCH", 146 | "header": [ 147 | { 148 | "key": "OData-Version", 149 | "value": "4.0", 150 | "disabled": true 151 | }, 152 | { 153 | "key": "Content-Type", 154 | "value": "application/json" 155 | }, 156 | { 157 | "key": "X-Auth-Token", 158 | "value": "{{Token}}" 159 | } 160 | ], 161 | "body": { 162 | "mode": "raw", 163 | "raw": "{\n\t\"Oem\": {\n\t\t \"Hpe\": {\"BootOnNextServerReset\": true}\n\t\t },\n\t\"Image\": \"http://172.22.103.1/MediaKits/Media/ISOs/SPP.iso\"\n}" 164 | }, 165 | "url": { 166 | "raw": "{{iloURI}}/redfish/v1/Managers/1/VirtualMedia/2/", 167 | "host": [ 168 | "{{iloURI}}" 169 | ], 170 | "path": [ 171 | "redfish", 172 | "v1", 173 | "Managers", 174 | "1", 175 | "VirtualMedia", 176 | "2", 177 | "" 178 | ] 179 | }, 180 | "description": "Legacy Dvd Mount + Boot On Next Server reset\n\nWith this PATCH request toward the Oem.Hpe subtree we can perform 2 actions at one time: mount a Virtual DvD and set the BootOnNextServerReset boolean to true.\n\nNote that the second action will be successful only if the server is in the Off or FinishedPost state.\n\nRead the [Master the Redfish Server States](https://developer.hpe.com/blog/master-the-redfish-server-states-to-improve-your-monitoring-and-manageme) article for more information on the server states." 181 | }, 182 | "response": [] 183 | }, 184 | { 185 | "name": "LegacyDvdMount2", 186 | "request": { 187 | "method": "POST", 188 | "header": [ 189 | { 190 | "key": "OData-Version", 191 | "value": "4.0", 192 | "disabled": true 193 | }, 194 | { 195 | "key": "Content-Type", 196 | "value": "application/json" 197 | }, 198 | { 199 | "key": "X-Auth-Token", 200 | "value": "{{Token}}" 201 | } 202 | ], 203 | "body": { 204 | "mode": "raw", 205 | "raw": "{\n\t\"Action\": \"HpeiLOVirtualMedia.InsertVirtualMedia\", \n\t\"Image\": \"http://172.22.103.1/MediaKits/Media/ISOs/SPP.iso\"\n}" 206 | }, 207 | "url": { 208 | "raw": "{{iloURI}}/redfish/v1/Managers/1/VirtualMedia/2/Actions/Oem/Hpe/HpeiLOVirtualMedia.InsertVirtualMedia/", 209 | "host": [ 210 | "{{iloURI}}" 211 | ], 212 | "path": [ 213 | "redfish", 214 | "v1", 215 | "Managers", 216 | "1", 217 | "VirtualMedia", 218 | "2", 219 | "Actions", 220 | "Oem", 221 | "Hpe", 222 | "HpeiLOVirtualMedia.InsertVirtualMedia", 223 | "" 224 | ] 225 | }, 226 | "description": "Legacy POST request toward an Oem.Hpe Action target to mount a DvD virtual Media.\n\nNote that it does not set the BootOnNextServerReset to true. If needed, use the BootOnNextServer PATCH request in this collection to perform this action." 227 | }, 228 | "response": [] 229 | }, 230 | { 231 | "name": "iLO 4 LegacyDvdMount2", 232 | "request": { 233 | "method": "POST", 234 | "header": [ 235 | { 236 | "key": "OData-Version", 237 | "value": "4.0", 238 | "disabled": true 239 | }, 240 | { 241 | "key": "Content-Type", 242 | "value": "application/json" 243 | }, 244 | { 245 | "key": "X-Auth-Token", 246 | "value": "{{Token}}" 247 | } 248 | ], 249 | "body": { 250 | "mode": "raw", 251 | "raw": "{\n\t\"Action\": \"InsertVirtualMedia\", \n\t\"Image\": \"http://balt.etc.fr.comm.hpecorp.net/MediaKits/Media/BootISOs/bay12-centos72.iso\"\n}" 252 | }, 253 | "url": { 254 | "raw": "{{iloURI}}/redfish/v1/Managers/1/VirtualMedia/2/Actions/Oem/Hp/HpiLOVirtualMedia.InsertVirtualMedia/", 255 | "host": [ 256 | "{{iloURI}}" 257 | ], 258 | "path": [ 259 | "redfish", 260 | "v1", 261 | "Managers", 262 | "1", 263 | "VirtualMedia", 264 | "2", 265 | "Actions", 266 | "Oem", 267 | "Hp", 268 | "HpiLOVirtualMedia.InsertVirtualMedia", 269 | "" 270 | ] 271 | }, 272 | "description": "Legacy POST request toward an Oem.Hpe Action target to mount a DvD virtual Media.\n\nNote that it does not set the BootOnNextServerReset to true. If needed, use the BootOnNextServer PATCH request in this collection to perform this action." 273 | }, 274 | "response": [] 275 | }, 276 | { 277 | "name": "LegacyDvdUnmount", 278 | "request": { 279 | "method": "POST", 280 | "header": [ 281 | { 282 | "key": "OData-Version", 283 | "value": "4.0", 284 | "disabled": true 285 | }, 286 | { 287 | "key": "Content-Type", 288 | "value": "application/json" 289 | }, 290 | { 291 | "key": "X-Auth-Token", 292 | "value": "{{Token}}" 293 | } 294 | ], 295 | "body": { 296 | "mode": "raw", 297 | "raw": "{\n\t\n}" 298 | }, 299 | "url": { 300 | "raw": "{{iloURI}}/redfish/v1/Managers/1/VirtualMedia/2/Actions/Oem/Hpe/HpeiLOVirtualMedia.EjectVirtualMedia/", 301 | "host": [ 302 | "{{iloURI}}" 303 | ], 304 | "path": [ 305 | "redfish", 306 | "v1", 307 | "Managers", 308 | "1", 309 | "VirtualMedia", 310 | "2", 311 | "Actions", 312 | "Oem", 313 | "Hpe", 314 | "HpeiLOVirtualMedia.EjectVirtualMedia", 315 | "" 316 | ] 317 | }, 318 | "description": "Legacy DvD POST request toward an Oem.Hpe Action target.\n\nNote that it will reset the BootOnNextServerReset boolean to false if needed." 319 | }, 320 | "response": [] 321 | }, 322 | { 323 | "name": "iLO4 LegacyDvdUnmount", 324 | "request": { 325 | "method": "POST", 326 | "header": [ 327 | { 328 | "key": "OData-Version", 329 | "value": "4.0", 330 | "disabled": true 331 | }, 332 | { 333 | "key": "Content-Type", 334 | "value": "application/json" 335 | }, 336 | { 337 | "key": "X-Auth-Token", 338 | "value": "{{Token}}" 339 | } 340 | ], 341 | "body": { 342 | "mode": "raw", 343 | "raw": "{\n\t\n}" 344 | }, 345 | "url": { 346 | "raw": "{{iloURI}}/redfish/v1/Managers/1/VirtualMedia/2/Actions/Oem/Hp/HpiLOVirtualMedia.EjectVirtualMedia/", 347 | "host": [ 348 | "{{iloURI}}" 349 | ], 350 | "path": [ 351 | "redfish", 352 | "v1", 353 | "Managers", 354 | "1", 355 | "VirtualMedia", 356 | "2", 357 | "Actions", 358 | "Oem", 359 | "Hp", 360 | "HpiLOVirtualMedia.EjectVirtualMedia", 361 | "" 362 | ] 363 | }, 364 | "description": "Legacy DvD POST request toward an Oem.Hpe Action target.\n\nNote that it will reset the BootOnNextServerReset boolean to false if needed." 365 | }, 366 | "response": [] 367 | } 368 | ], 369 | "event": [ 370 | { 371 | "listen": "prerequest", 372 | "script": { 373 | "type": "text/javascript", 374 | "exec": [ 375 | "" 376 | ] 377 | } 378 | }, 379 | { 380 | "listen": "test", 381 | "script": { 382 | "type": "text/javascript", 383 | "exec": [ 384 | "" 385 | ] 386 | } 387 | } 388 | ] 389 | } -------------------------------------------------------------------------------- /_13_Security.postman_collection.json: -------------------------------------------------------------------------------- 1 | { 2 | "info": { 3 | "_postman_id": "9835b182-9a17-45a3-9c61-72e896b5c860", 4 | "name": "_13_Security", 5 | "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" 6 | }, 7 | "item": [ 8 | { 9 | "name": "iLO Security Service ", 10 | "protocolProfileBehavior": { 11 | "disableBodyPruning": true 12 | }, 13 | "request": { 14 | "method": "GET", 15 | "header": [ 16 | { 17 | "key": "OData-Version", 18 | "value": "4.0", 19 | "disabled": true 20 | }, 21 | { 22 | "key": "Content-Type", 23 | "value": "application/json" 24 | }, 25 | { 26 | "key": "X-Auth-Token", 27 | "value": "{{Token}}" 28 | } 29 | ], 30 | "body": { 31 | "mode": "raw", 32 | "raw": "" 33 | }, 34 | "url": { 35 | "raw": "{{iloURI}}/redfish/v1/Managers/1/SecurityService", 36 | "host": [ 37 | "{{iloURI}}" 38 | ], 39 | "path": [ 40 | "redfish", 41 | "v1", 42 | "Managers", 43 | "1", 44 | "SecurityService" 45 | ] 46 | } 47 | }, 48 | "response": [] 49 | }, 50 | { 51 | "name": "ilO Security Dashboard ", 52 | "request": { 53 | "method": "GET", 54 | "header": [ 55 | { 56 | "key": "OData-Version", 57 | "value": "4.0", 58 | "disabled": true 59 | }, 60 | { 61 | "key": "Content-Type", 62 | "value": "application/json" 63 | }, 64 | { 65 | "key": "X-Auth-Token", 66 | "value": "{{Token}}" 67 | } 68 | ], 69 | "url": { 70 | "raw": "{{iloURI}}/redfish/v1/Managers/1/SecurityService/SecurityDashboard", 71 | "host": [ 72 | "{{iloURI}}" 73 | ], 74 | "path": [ 75 | "redfish", 76 | "v1", 77 | "Managers", 78 | "1", 79 | "SecurityService", 80 | "SecurityDashboard" 81 | ] 82 | } 83 | }, 84 | "response": [] 85 | }, 86 | { 87 | "name": "iLO Security Params Collection", 88 | "request": { 89 | "method": "GET", 90 | "header": [ 91 | { 92 | "key": "OData-Version", 93 | "value": "4.0", 94 | "disabled": true 95 | }, 96 | { 97 | "key": "Content-Type", 98 | "value": "application/json" 99 | }, 100 | { 101 | "key": "X-Auth-Token", 102 | "value": "{{Token}}" 103 | } 104 | ], 105 | "url": { 106 | "raw": "{{iloURI}}/redfish/v1/Managers/1/SecurityService/SecurityDashboard/SecurityParams", 107 | "host": [ 108 | "{{iloURI}}" 109 | ], 110 | "path": [ 111 | "redfish", 112 | "v1", 113 | "Managers", 114 | "1", 115 | "SecurityService", 116 | "SecurityDashboard", 117 | "SecurityParams" 118 | ] 119 | } 120 | }, 121 | "response": [] 122 | }, 123 | { 124 | "name": "Expanded Security Params Collection", 125 | "request": { 126 | "method": "GET", 127 | "header": [ 128 | { 129 | "key": "OData-Version", 130 | "value": "4.0", 131 | "disabled": true 132 | }, 133 | { 134 | "key": "Content-Type", 135 | "value": "application/json" 136 | }, 137 | { 138 | "key": "X-Auth-Token", 139 | "value": "{{Token}}" 140 | } 141 | ], 142 | "url": { 143 | "raw": "{{iloURI}}/redfish/v1/Managers/1/SecurityService/SecurityDashboard/SecurityParams?$expand=.", 144 | "host": [ 145 | "{{iloURI}}" 146 | ], 147 | "path": [ 148 | "redfish", 149 | "v1", 150 | "Managers", 151 | "1", 152 | "SecurityService", 153 | "SecurityDashboard", 154 | "SecurityParams" 155 | ], 156 | "query": [ 157 | { 158 | "key": "$expand", 159 | "value": "." 160 | } 161 | ] 162 | } 163 | }, 164 | "response": [] 165 | }, 166 | { 167 | "name": "Security Parameters (SecureBoot)", 168 | "request": { 169 | "method": "GET", 170 | "header": [ 171 | { 172 | "key": "OData-Version", 173 | "value": "4.0", 174 | "disabled": true 175 | }, 176 | { 177 | "key": "Content-Type", 178 | "value": "application/json" 179 | }, 180 | { 181 | "key": "X-Auth-Token", 182 | "value": "{{Token}}" 183 | } 184 | ], 185 | "url": { 186 | "raw": "{{iloURI}}/redfish/v1/Managers/1/SecurityService/SecurityDashboard/SecurityParams/5", 187 | "host": [ 188 | "{{iloURI}}" 189 | ], 190 | "path": [ 191 | "redfish", 192 | "v1", 193 | "Managers", 194 | "1", 195 | "SecurityService", 196 | "SecurityDashboard", 197 | "SecurityParams", 198 | "5" 199 | ] 200 | } 201 | }, 202 | "response": [] 203 | }, 204 | { 205 | "name": "Security Schemas", 206 | "request": { 207 | "method": "GET", 208 | "header": [ 209 | { 210 | "key": "OData-Version", 211 | "value": "4.0", 212 | "disabled": true 213 | }, 214 | { 215 | "key": "Content-Type", 216 | "value": "application/json" 217 | }, 218 | { 219 | "key": "X-Auth-Token", 220 | "value": "{{Token}}" 221 | } 222 | ], 223 | "url": { 224 | "raw": "{{iloURI}}/redfish/v1/JsonSchemas/HpeiLOSecurityParam", 225 | "host": [ 226 | "{{iloURI}}" 227 | ], 228 | "path": [ 229 | "redfish", 230 | "v1", 231 | "JsonSchemas", 232 | "HpeiLOSecurityParam" 233 | ] 234 | } 235 | }, 236 | "response": [] 237 | }, 238 | { 239 | "name": "iLO Security Params Schema EntryPoint", 240 | "request": { 241 | "method": "GET", 242 | "header": [ 243 | { 244 | "key": "OData-Version", 245 | "value": "4.0", 246 | "disabled": true 247 | }, 248 | { 249 | "key": "Content-Type", 250 | "value": "application/json" 251 | }, 252 | { 253 | "key": "X-Auth-Token", 254 | "value": "{{Token}}" 255 | } 256 | ], 257 | "url": { 258 | "raw": "{{iloURI}}/redfish/v1/SchemaStore/en/HpeiLOSecurityParam.json", 259 | "host": [ 260 | "{{iloURI}}" 261 | ], 262 | "path": [ 263 | "redfish", 264 | "v1", 265 | "SchemaStore", 266 | "en", 267 | "HpeiLOSecurityParam.json" 268 | ] 269 | } 270 | }, 271 | "response": [] 272 | }, 273 | { 274 | "name": "Security Param (SecureBoot)", 275 | "request": { 276 | "method": "PATCH", 277 | "header": [ 278 | { 279 | "key": "OData-Version", 280 | "value": "4.0", 281 | "disabled": true 282 | }, 283 | { 284 | "key": "Content-Type", 285 | "value": "application/json" 286 | }, 287 | { 288 | "key": "X-Auth-Token", 289 | "value": "{{Token}}" 290 | } 291 | ], 292 | "body": { 293 | "mode": "raw", 294 | "raw": "{\n\t\"Ignore\": true\n}" 295 | }, 296 | "url": { 297 | "raw": "{{iloURI}}/redfish/v1/Managers/1/SecurityService/SecurityDashboard/SecurityParams/5", 298 | "host": [ 299 | "{{iloURI}}" 300 | ], 301 | "path": [ 302 | "redfish", 303 | "v1", 304 | "Managers", 305 | "1", 306 | "SecurityService", 307 | "SecurityDashboard", 308 | "SecurityParams", 309 | "5" 310 | ] 311 | } 312 | }, 313 | "response": [] 314 | }, 315 | { 316 | "name": "Certificates", 317 | "request": { 318 | "method": "GET", 319 | "header": [ 320 | { 321 | "key": "OData-Version", 322 | "value": "4.0", 323 | "disabled": true 324 | }, 325 | { 326 | "key": "Content-Type", 327 | "value": "application/json" 328 | }, 329 | { 330 | "key": "X-Auth-Token", 331 | "value": "{{Token}}" 332 | } 333 | ], 334 | "url": { 335 | "raw": "{{iloURI}}/redfish/v1/Managers/1/SecurityService/HttpsCert/", 336 | "host": [ 337 | "{{iloURI}}" 338 | ], 339 | "path": [ 340 | "redfish", 341 | "v1", 342 | "Managers", 343 | "1", 344 | "SecurityService", 345 | "HttpsCert", 346 | "" 347 | ] 348 | } 349 | }, 350 | "response": [] 351 | }, 352 | { 353 | "name": "Certificate Signing Request", 354 | "request": { 355 | "method": "POST", 356 | "header": [ 357 | { 358 | "key": "OData-Version", 359 | "value": "4.0", 360 | "disabled": true 361 | }, 362 | { 363 | "key": "Content-Type", 364 | "value": "application/json" 365 | }, 366 | { 367 | "key": "X-Auth-Token", 368 | "value": "{{Token}}" 369 | } 370 | ], 371 | "body": { 372 | "mode": "raw", 373 | "raw": "{\r\n \"City\": \"Sophia Antipolis\", \r\n \"CommonName\": \"ilo-toybox.etc.fr.comm.hpecorp.net\", \r\n \"Country\": \"FR\", \r\n \"OrgName\": \"HPE\", \r\n \"OrgUnit\": \"Compute\", \r\n \"State\": \"Provence-Alpes-Cote d'Azur\", \r\n \"IncludeIP\": true\r\n}" 374 | }, 375 | "url": { 376 | "raw": "{{iloURI}}/redfish/v1/Managers/1/SecurityService/HttpsCert/Actions/HpHttpsCert.GenerateCSR", 377 | "host": [ 378 | "{{iloURI}}" 379 | ], 380 | "path": [ 381 | "redfish", 382 | "v1", 383 | "Managers", 384 | "1", 385 | "SecurityService", 386 | "HttpsCert", 387 | "Actions", 388 | "HpHttpsCert.GenerateCSR" 389 | ] 390 | } 391 | }, 392 | "response": [] 393 | }, 394 | { 395 | "name": "Import new Certificate", 396 | "request": { 397 | "method": "POST", 398 | "header": [ 399 | { 400 | "key": "OData-Version", 401 | "value": "4.0", 402 | "disabled": true 403 | }, 404 | { 405 | "key": "Content-Type", 406 | "value": "application/json" 407 | }, 408 | { 409 | "key": "X-Auth-Token", 410 | "value": "{{Token}}" 411 | } 412 | ], 413 | "body": { 414 | "mode": "raw", 415 | "raw": "{\r\n \"Certificate\": \"-----BEGIN CERTIFICATE-----\\nMIIELzCCAxegAwIBAgIBAjANBgkqhkiG9w0BAQsFADCBvTELMAkGA1UEBhMCRlIx\\nIzAhBgNVBAgMGlByb3ZlbmNlLUFscGVzLUNvdGUgZCdBenVyMRkwFwYDVQQHDBBT\\nb3BoaWEtQW50aXBvbGlzMQwwCgYDVQQKDANIUEUxEDAOBgNVBAsMB0NvbXB1dGUx\\nJzAlBgNVBAMMHnRveWJveC5ldGMuZnIuY29tbS5ocGVjb3JwLm5ldDElMCMGCSqG\\nSIb3DQEJARYWZnJhbmNvaXMuZG9uemVAaHBlLmNvbTAeFw0yMTA0MTUwODA4MTRa\\nFw0yMjA0MTUwODA4MTRaMIGaMQswCQYDVQQGEwJGUjEjMCEGA1UECAwaUHJvdmVu\\nY2UtQWxwZXMtQ290ZSBkJ0F6dXIxGTAXBgNVBAcMEFNvcGhpYSBBbnRpcG9saXMx\\nDDAKBgNVBAoMA0hQRTEQMA4GA1UECwwHQ29tcHV0ZTErMCkGA1UEAwwiaWxvLXRv\\neWJveC5ldGMuZnIuY29tbS5ocGVjb3JwLm5ldDCCASIwDQYJKoZIhvcNAQEBBQAD\\nggEPADCCAQoCggEBANHtXv496C8Y/Myu3nHhUgduoUfQQ0h/1m3N7DlYcZJD7cRC\\n3D0GnzaPglE2GrrPbYlJede6Jl2EBCa8DfKfV6/NUe5jq0jOXKngn7Ypk1wvOHsn\\nve1EvN6D+hy9v7MLDW1z26ddipljIyBsE7h6d23Iq3kdvoLz4zMDduy/bYamHyrP\\nrEZzsXmm0ioOl8ITNeDOIf4jrTvqEN0APSsCE4zhUEBm8pDwd1R1hBwQyti4iIaK\\nfr0kvrcVaY9/8WNlWRgjvq/f/xxEyTSh82qbH67omLBt//Bc27phDXPZEr+8hiIm\\nXHcQ09MgiukMlFOULDvtBlePyJyH3kQ7MBJEMVkCAwEAAaNbMFkwCQYDVR0TBAIw\\nADALBgNVHQ8EBAMCBeAwPwYDVR0RBDgwNoIiaWxvLXRveWJveC5ldGMuZnIuY29t\\nbS5ocGVjb3JwLm5ldIIKaWxvLXRveWJveIcECuRLAjANBgkqhkiG9w0BAQsFAAOC\\nAQEAIvwooSzR2It+yaH4RP1dPL6B0VPM/LI99q5XP7bCiG0xmNTzWyqsWU31xsL/\\nwinY2oYYIpomSQvg+OW/sSgESGOzH+hFoRmVLOK/KEADHSyQLGVT4ApumrVPk4tt\\nKTej7AppFGJaWkMsKFS37hCugRjvf1sDLsqZB35KifPEPHtOQXzekinoqKLOsOxq\\nfjtXhY5/4P6ZtDTz/roI+1QhAq8VQRmtKUDNsLnYtPs6i9QLSI/LNmq1ILySAmma\\n8hpjqQ8cp2j8+tTVmIKN+FUxPjTqvwpaTLiJAMbPHtwQOOu+7gYDPXVtCaPtcMHX\\noWmvMu8akaTzzkxBtoWe17OxWQ==\\n-----END CERTIFICATE-----\\n\"\r\n}" 416 | }, 417 | "url": { 418 | "raw": "{{iloURI}}/redfish/v1/Managers/1/SecurityService/HttpsCert/Actions/HpHttpsCert.ImportCertificate", 419 | "host": [ 420 | "{{iloURI}}" 421 | ], 422 | "path": [ 423 | "redfish", 424 | "v1", 425 | "Managers", 426 | "1", 427 | "SecurityService", 428 | "HttpsCert", 429 | "Actions", 430 | "HpHttpsCert.ImportCertificate" 431 | ] 432 | } 433 | }, 434 | "response": [] 435 | } 436 | ] 437 | } -------------------------------------------------------------------------------- /5_ManagerUserManagement.postman_collection.json: -------------------------------------------------------------------------------- 1 | { 2 | "info": { 3 | "_postman_id": "44e9f20e-6450-4b91-bb49-d482591df0bf", 4 | "name": "5_ManagerUserManagement", 5 | "description": "Get, Create, Patch iLO Users.", 6 | "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" 7 | }, 8 | "item": [ 9 | { 10 | "name": "All iLO Users", 11 | "request": { 12 | "method": "GET", 13 | "header": [ 14 | { 15 | "key": "OData-Version", 16 | "value": "4.0", 17 | "type": "text" 18 | }, 19 | { 20 | "key": "Content-Type", 21 | "value": "application/json", 22 | "type": "text" 23 | }, 24 | { 25 | "key": "X-Auth-Token", 26 | "value": "{{Token}}", 27 | "type": "text" 28 | } 29 | ], 30 | "url": { 31 | "raw": "{{iloURI}}/redfish/v1/AccountService/Accounts/?$expand=.", 32 | "host": [ 33 | "{{iloURI}}" 34 | ], 35 | "path": [ 36 | "redfish", 37 | "v1", 38 | "AccountService", 39 | "Accounts", 40 | "" 41 | ], 42 | "query": [ 43 | { 44 | "key": "$expand", 45 | "value": "." 46 | } 47 | ] 48 | }, 49 | "description": "Retrieves all iLO Users using the OData $expand syntax" 50 | }, 51 | "response": [] 52 | }, 53 | { 54 | "name": "AccountService end point", 55 | "request": { 56 | "method": "GET", 57 | "header": [ 58 | { 59 | "key": "OData-Version", 60 | "value": "4.0", 61 | "type": "text" 62 | }, 63 | { 64 | "key": "Content-Type", 65 | "value": "application/json", 66 | "type": "text" 67 | }, 68 | { 69 | "key": "X-Auth-Token", 70 | "value": "{{Token}}", 71 | "type": "text" 72 | } 73 | ], 74 | "url": { 75 | "raw": "{{iloURI}}/redfish/v1/AccountService/", 76 | "host": [ 77 | "{{iloURI}}" 78 | ], 79 | "path": [ 80 | "redfish", 81 | "v1", 82 | "AccountService", 83 | "" 84 | ] 85 | }, 86 | "description": "Retrieves all iLO Users using the OData $expand syntax" 87 | }, 88 | "response": [] 89 | }, 90 | { 91 | "name": "New iLO user-1", 92 | "request": { 93 | "method": "POST", 94 | "header": [ 95 | { 96 | "key": "OData-Version", 97 | "value": "4.0", 98 | "disabled": true 99 | }, 100 | { 101 | "key": "Content-Type", 102 | "value": "application/json" 103 | }, 104 | { 105 | "key": "X-Auth-Token", 106 | "value": "{{Token}}" 107 | } 108 | ], 109 | "body": { 110 | "mode": "raw", 111 | "raw": "{\r\n \"UserName\": \"jsmith\",\r\n \"Password\": \"passwordexample\",\r\n \"RoleId\": \"Operator\"\r\n}" 112 | }, 113 | "url": { 114 | "raw": "{{iloURI}}/redfish/v1/AccountService/Accounts/", 115 | "host": [ 116 | "{{iloURI}}" 117 | ], 118 | "path": [ 119 | "redfish", 120 | "v1", 121 | "AccountService", 122 | "Accounts", 123 | "" 124 | ] 125 | } 126 | }, 127 | "response": [] 128 | }, 129 | { 130 | "name": "New iLO user-2", 131 | "request": { 132 | "method": "POST", 133 | "header": [ 134 | { 135 | "key": "OData-Version", 136 | "value": "4.0", 137 | "disabled": true 138 | }, 139 | { 140 | "key": "Content-Type", 141 | "value": "application/json" 142 | }, 143 | { 144 | "key": "X-Auth-Token", 145 | "value": "{{Token}}" 146 | } 147 | ], 148 | "body": { 149 | "mode": "raw", 150 | "raw": "{\r\n \"UserName\": \"jsmith\",\r\n \"Password\": \"passwordexample\",\r\n \"Oem\": {\r\n \"Hpe\": {\r\n \"LoginName\": \"Director of IT\",\r\n \"Privileges\": {\r\n \"LoginPriv\": true,\r\n \"VirtualMediaPriv\": true,\r\n \"VirtualPowerAndResetPriv\": true\r\n }\r\n }\r\n }\r\n}" 151 | }, 152 | "url": { 153 | "raw": "{{iloURI}}/redfish/v1/AccountService/Accounts/", 154 | "host": [ 155 | "{{iloURI}}" 156 | ], 157 | "path": [ 158 | "redfish", 159 | "v1", 160 | "AccountService", 161 | "Accounts", 162 | "" 163 | ] 164 | } 165 | }, 166 | "response": [] 167 | }, 168 | { 169 | "name": "Modify iLO user", 170 | "request": { 171 | "method": "PATCH", 172 | "header": [ 173 | { 174 | "key": "OData-Version", 175 | "value": "4.0", 176 | "disabled": true 177 | }, 178 | { 179 | "key": "Content-Type", 180 | "value": "application/json" 181 | }, 182 | { 183 | "key": "X-Auth-Token", 184 | "value": "{{Token}}" 185 | } 186 | ], 187 | "body": { 188 | "mode": "raw", 189 | "raw": "{\r\n \"UserName\": \"johndeuf\",\r\n \"Password\": \"PasswordPassword\",\r\n \"Oem\": {\r\n \"Hpe\": {\r\n \"LoginName\": \"Director of IT\",\r\n \"Privileges\": {\r\n \"LoginPriv\": true,\r\n \"VirtualMediaPriv\": false,\r\n \"VirtualPowerAndResetPriv\": false\r\n }\r\n }\r\n }\r\n}" 190 | }, 191 | "url": { 192 | "raw": "{{iloURI}}/redfish/v1/AccountService/Accounts/12/", 193 | "host": [ 194 | "{{iloURI}}" 195 | ], 196 | "path": [ 197 | "redfish", 198 | "v1", 199 | "AccountService", 200 | "Accounts", 201 | "12", 202 | "" 203 | ] 204 | } 205 | }, 206 | "response": [] 207 | }, 208 | { 209 | "name": "iLO User", 210 | "request": { 211 | "method": "DELETE", 212 | "header": [ 213 | { 214 | "key": "OData-Version", 215 | "value": "4.0", 216 | "disabled": true 217 | }, 218 | { 219 | "key": "Content-Type", 220 | "value": "application/json" 221 | }, 222 | { 223 | "key": "X-Auth-Token", 224 | "value": "{{Token}}" 225 | } 226 | ], 227 | "body": { 228 | "mode": "raw", 229 | "raw": "" 230 | }, 231 | "url": { 232 | "raw": "{{iloURI}}/redfish/v1/AccountService/Accounts/11/", 233 | "host": [ 234 | "{{iloURI}}" 235 | ], 236 | "path": [ 237 | "redfish", 238 | "v1", 239 | "AccountService", 240 | "Accounts", 241 | "11", 242 | "" 243 | ] 244 | }, 245 | "description": "Delete specific iLO User" 246 | }, 247 | "response": [] 248 | }, 249 | { 250 | "name": "Change iLO Administrator Password", 251 | "request": { 252 | "method": "PATCH", 253 | "header": [ 254 | { 255 | "key": "OData-Version", 256 | "value": "4.0", 257 | "disabled": true 258 | }, 259 | { 260 | "key": "Content-Type", 261 | "value": "application/json" 262 | }, 263 | { 264 | "key": "X-Auth-Token", 265 | "value": "{{Token}}" 266 | } 267 | ], 268 | "body": { 269 | "mode": "raw", 270 | "raw": "{\r\n \"Password\": \"MyiLOAdminPassord\"\r\n}" 271 | }, 272 | "url": { 273 | "raw": "{{iloURI}}/redfish/v1/AccountService/Accounts/1/", 274 | "host": [ 275 | "{{iloURI}}" 276 | ], 277 | "path": [ 278 | "redfish", 279 | "v1", 280 | "AccountService", 281 | "Accounts", 282 | "1", 283 | "" 284 | ] 285 | } 286 | }, 287 | "response": [] 288 | }, 289 | { 290 | "name": "New BMC user", 291 | "request": { 292 | "method": "POST", 293 | "header": [ 294 | { 295 | "key": "OData-Version", 296 | "value": "4.0", 297 | "disabled": true 298 | }, 299 | { 300 | "key": "Content-Type", 301 | "value": "application/json" 302 | }, 303 | { 304 | "key": "X-Auth-Token", 305 | "value": "{{Token}}" 306 | } 307 | ], 308 | "body": { 309 | "mode": "raw", 310 | "raw": "{\r\n \r\n \"UserName\": \"johndeuf\",\r\n \"Password\": \"passwordexample\",\r\n \"RoleId\": \"Operator\"\r\n}" 311 | }, 312 | "url": { 313 | "raw": "{{iloURI}}/redfish/v1/AccountService/Accounts/", 314 | "host": [ 315 | "{{iloURI}}" 316 | ], 317 | "path": [ 318 | "redfish", 319 | "v1", 320 | "AccountService", 321 | "Accounts", 322 | "" 323 | ] 324 | } 325 | }, 326 | "response": [] 327 | }, 328 | { 329 | "name": "Delete Manager User", 330 | "request": { 331 | "method": "DELETE", 332 | "header": [ 333 | { 334 | "key": "OData-Version", 335 | "value": "4.0", 336 | "type": "text" 337 | }, 338 | { 339 | "key": "Content-Type", 340 | "value": "application/json", 341 | "type": "text" 342 | }, 343 | { 344 | "key": "X-Auth-Token", 345 | "value": "{{Token}}", 346 | "type": "text" 347 | } 348 | ], 349 | "url": { 350 | "raw": "{{iloURI}}/redfish/v1/AccountService/Accounts/jsmith", 351 | "host": [ 352 | "{{iloURI}}" 353 | ], 354 | "path": [ 355 | "redfish", 356 | "v1", 357 | "AccountService", 358 | "Accounts", 359 | "jsmith" 360 | ] 361 | } 362 | }, 363 | "response": [] 364 | }, 365 | { 366 | "name": "iLO User Collection", 367 | "request": { 368 | "method": "GET", 369 | "header": [ 370 | { 371 | "key": "OData-Version", 372 | "value": "4.0", 373 | "type": "text" 374 | }, 375 | { 376 | "key": "Content-Type", 377 | "value": "application/json", 378 | "type": "text" 379 | }, 380 | { 381 | "key": "X-Auth-Token", 382 | "value": "{{Token}}", 383 | "type": "text" 384 | } 385 | ], 386 | "url": { 387 | "raw": "{{iloURI}}/redfish/v1/AccountService/Accounts/", 388 | "host": [ 389 | "{{iloURI}}" 390 | ], 391 | "path": [ 392 | "redfish", 393 | "v1", 394 | "AccountService", 395 | "Accounts", 396 | "" 397 | ] 398 | } 399 | }, 400 | "response": [] 401 | }, 402 | { 403 | "name": "Privileges of Authenticated Users", 404 | "request": { 405 | "method": "GET", 406 | "header": [ 407 | { 408 | "key": "OData-Version", 409 | "value": "4.0", 410 | "type": "text" 411 | }, 412 | { 413 | "key": "Content-Type", 414 | "value": "application/json", 415 | "type": "text" 416 | }, 417 | { 418 | "key": "X-Auth-Token", 419 | "value": "{{Token}}", 420 | "type": "text" 421 | } 422 | ], 423 | "url": { 424 | "raw": "{{iloURI}}/redfish/v1/AccountService/Roles/dirgroup9d4546a03a03bb977c03086a", 425 | "host": [ 426 | "{{iloURI}}" 427 | ], 428 | "path": [ 429 | "redfish", 430 | "v1", 431 | "AccountService", 432 | "Roles", 433 | "dirgroup9d4546a03a03bb977c03086a" 434 | ] 435 | } 436 | }, 437 | "response": [] 438 | }, 439 | { 440 | "name": "Modify Privileges", 441 | "request": { 442 | "method": "PATCH", 443 | "header": [ 444 | { 445 | "key": "OData-Version", 446 | "value": "4.0", 447 | "type": "text" 448 | }, 449 | { 450 | "key": "Content-Type", 451 | "value": "application/json", 452 | "type": "text" 453 | }, 454 | { 455 | "key": "X-Auth-Token", 456 | "value": "{{Token}}", 457 | "type": "text" 458 | } 459 | ], 460 | "body": { 461 | "mode": "raw", 462 | "raw": "{\r\n \"AssignedPrivileges\": [\r\n \"Login\",\r\n \"ConfigureSelf\",\r\n \"RemoteConsolePriv\"\r\n ]\r\n}" 463 | }, 464 | "url": { 465 | "raw": "{{iloURI}}/redfish/v1/AccountService/Roles/dirgroup9d4546a03a03bb977c03086a", 466 | "host": [ 467 | "{{iloURI}}" 468 | ], 469 | "path": [ 470 | "redfish", 471 | "v1", 472 | "AccountService", 473 | "Roles", 474 | "dirgroup9d4546a03a03bb977c03086a" 475 | ] 476 | } 477 | }, 478 | "response": [] 479 | }, 480 | { 481 | "name": "iLO Role Collection", 482 | "request": { 483 | "method": "GET", 484 | "header": [ 485 | { 486 | "key": "OData-Version", 487 | "value": "4.0", 488 | "type": "text" 489 | }, 490 | { 491 | "key": "Content-Type", 492 | "value": "application/json", 493 | "type": "text" 494 | }, 495 | { 496 | "key": "X-Auth-Token", 497 | "value": "{{Token}}", 498 | "type": "text" 499 | } 500 | ], 501 | "url": { 502 | "raw": "{{iloURI}}/redfish/v1/AccountService/Roles", 503 | "host": [ 504 | "{{iloURI}}" 505 | ], 506 | "path": [ 507 | "redfish", 508 | "v1", 509 | "AccountService", 510 | "Roles" 511 | ] 512 | } 513 | }, 514 | "response": [] 515 | } 516 | ] 517 | } -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | Attribution-ShareAlike 4.0 International 2 | 3 | ======================================================================= 4 | 5 | Creative Commons Corporation ("Creative Commons") is not a law firm and 6 | does not provide legal services or legal advice. Distribution of 7 | Creative Commons public licenses does not create a lawyer-client or 8 | other relationship. Creative Commons makes its licenses and related 9 | information available on an "as-is" basis. Creative Commons gives no 10 | warranties regarding its licenses, any material licensed under their 11 | terms and conditions, or any related information. Creative Commons 12 | disclaims all liability for damages resulting from their use to the 13 | fullest extent possible. 14 | 15 | Using Creative Commons Public Licenses 16 | 17 | Creative Commons public licenses provide a standard set of terms and 18 | conditions that creators and other rights holders may use to share 19 | original works of authorship and other material subject to copyright 20 | and certain other rights specified in the public license below. The 21 | following considerations are for informational purposes only, are not 22 | exhaustive, and do not form part of our licenses. 23 | 24 | Considerations for licensors: Our public licenses are 25 | intended for use by those authorized to give the public 26 | permission to use material in ways otherwise restricted by 27 | copyright and certain other rights. Our licenses are 28 | irrevocable. Licensors should read and understand the terms 29 | and conditions of the license they choose before applying it. 30 | Licensors should also secure all rights necessary before 31 | applying our licenses so that the public can reuse the 32 | material as expected. Licensors should clearly mark any 33 | material not subject to the license. This includes other CC- 34 | licensed material, or material used under an exception or 35 | limitation to copyright. More considerations for licensors: 36 | wiki.creativecommons.org/Considerations_for_licensors 37 | 38 | Considerations for the public: By using one of our public 39 | licenses, a licensor grants the public permission to use the 40 | licensed material under specified terms and conditions. If 41 | the licensor's permission is not necessary for any reason--for 42 | example, because of any applicable exception or limitation to 43 | copyright--then that use is not regulated by the license. Our 44 | licenses grant only permissions under copyright and certain 45 | other rights that a licensor has authority to grant. Use of 46 | the licensed material may still be restricted for other 47 | reasons, including because others have copyright or other 48 | rights in the material. A licensor may make special requests, 49 | such as asking that all changes be marked or described. 50 | Although not required by our licenses, you are encouraged to 51 | respect those requests where reasonable. More_considerations 52 | for the public: 53 | wiki.creativecommons.org/Considerations_for_licensees 54 | 55 | ======================================================================= 56 | 57 | Creative Commons Attribution-ShareAlike 4.0 International Public 58 | License 59 | 60 | By exercising the Licensed Rights (defined below), You accept and agree 61 | to be bound by the terms and conditions of this Creative Commons 62 | Attribution-ShareAlike 4.0 International Public License ("Public 63 | License"). To the extent this Public License may be interpreted as a 64 | contract, You are granted the Licensed Rights in consideration of Your 65 | acceptance of these terms and conditions, and the Licensor grants You 66 | such rights in consideration of benefits the Licensor receives from 67 | making the Licensed Material available under these terms and 68 | conditions. 69 | 70 | 71 | Section 1 -- Definitions. 72 | 73 | a. Adapted Material means material subject to Copyright and Similar 74 | Rights that is derived from or based upon the Licensed Material 75 | and in which the Licensed Material is translated, altered, 76 | arranged, transformed, or otherwise modified in a manner requiring 77 | permission under the Copyright and Similar Rights held by the 78 | Licensor. For purposes of this Public License, where the Licensed 79 | Material is a musical work, performance, or sound recording, 80 | Adapted Material is always produced where the Licensed Material is 81 | synched in timed relation with a moving image. 82 | 83 | b. Adapter's License means the license You apply to Your Copyright 84 | and Similar Rights in Your contributions to Adapted Material in 85 | accordance with the terms and conditions of this Public License. 86 | 87 | c. BY-SA Compatible License means a license listed at 88 | creativecommons.org/compatiblelicenses, approved by Creative 89 | Commons as essentially the equivalent of this Public License. 90 | 91 | d. Copyright and Similar Rights means copyright and/or similar rights 92 | closely related to copyright including, without limitation, 93 | performance, broadcast, sound recording, and Sui Generis Database 94 | Rights, without regard to how the rights are labeled or 95 | categorized. For purposes of this Public License, the rights 96 | specified in Section 2(b)(1)-(2) are not Copyright and Similar 97 | Rights. 98 | 99 | e. Effective Technological Measures means those measures that, in the 100 | absence of proper authority, may not be circumvented under laws 101 | fulfilling obligations under Article 11 of the WIPO Copyright 102 | Treaty adopted on December 20, 1996, and/or similar international 103 | agreements. 104 | 105 | f. Exceptions and Limitations means fair use, fair dealing, and/or 106 | any other exception or limitation to Copyright and Similar Rights 107 | that applies to Your use of the Licensed Material. 108 | 109 | g. License Elements means the license attributes listed in the name 110 | of a Creative Commons Public License. The License Elements of this 111 | Public License are Attribution and ShareAlike. 112 | 113 | h. Licensed Material means the artistic or literary work, database, 114 | or other material to which the Licensor applied this Public 115 | License. 116 | 117 | i. Licensed Rights means the rights granted to You subject to the 118 | terms and conditions of this Public License, which are limited to 119 | all Copyright and Similar Rights that apply to Your use of the 120 | Licensed Material and that the Licensor has authority to license. 121 | 122 | j. Licensor means the individual(s) or entity(ies) granting rights 123 | under this Public License. 124 | 125 | k. Share means to provide material to the public by any means or 126 | process that requires permission under the Licensed Rights, such 127 | as reproduction, public display, public performance, distribution, 128 | dissemination, communication, or importation, and to make material 129 | available to the public including in ways that members of the 130 | public may access the material from a place and at a time 131 | individually chosen by them. 132 | 133 | l. Sui Generis Database Rights means rights other than copyright 134 | resulting from Directive 96/9/EC of the European Parliament and of 135 | the Council of 11 March 1996 on the legal protection of databases, 136 | as amended and/or succeeded, as well as other essentially 137 | equivalent rights anywhere in the world. 138 | 139 | m. You means the individual or entity exercising the Licensed Rights 140 | under this Public License. Your has a corresponding meaning. 141 | 142 | 143 | Section 2 -- Scope. 144 | 145 | a. License grant. 146 | 147 | 1. Subject to the terms and conditions of this Public License, 148 | the Licensor hereby grants You a worldwide, royalty-free, 149 | non-sublicensable, non-exclusive, irrevocable license to 150 | exercise the Licensed Rights in the Licensed Material to: 151 | 152 | a. reproduce and Share the Licensed Material, in whole or 153 | in part; and 154 | 155 | b. produce, reproduce, and Share Adapted Material. 156 | 157 | 2. Exceptions and Limitations. For the avoidance of doubt, where 158 | Exceptions and Limitations apply to Your use, this Public 159 | License does not apply, and You do not need to comply with 160 | its terms and conditions. 161 | 162 | 3. Term. The term of this Public License is specified in Section 163 | 6(a). 164 | 165 | 4. Media and formats; technical modifications allowed. The 166 | Licensor authorizes You to exercise the Licensed Rights in 167 | all media and formats whether now known or hereafter created, 168 | and to make technical modifications necessary to do so. The 169 | Licensor waives and/or agrees not to assert any right or 170 | authority to forbid You from making technical modifications 171 | necessary to exercise the Licensed Rights, including 172 | technical modifications necessary to circumvent Effective 173 | Technological Measures. For purposes of this Public License, 174 | simply making modifications authorized by this Section 2(a) 175 | (4) never produces Adapted Material. 176 | 177 | 5. Downstream recipients. 178 | 179 | a. Offer from the Licensor -- Licensed Material. Every 180 | recipient of the Licensed Material automatically 181 | receives an offer from the Licensor to exercise the 182 | Licensed Rights under the terms and conditions of this 183 | Public License. 184 | 185 | b. Additional offer from the Licensor -- Adapted Material. 186 | Every recipient of Adapted Material from You 187 | automatically receives an offer from the Licensor to 188 | exercise the Licensed Rights in the Adapted Material 189 | under the conditions of the Adapter's License You apply. 190 | 191 | c. No downstream restrictions. You may not offer or impose 192 | any additional or different terms or conditions on, or 193 | apply any Effective Technological Measures to, the 194 | Licensed Material if doing so restricts exercise of the 195 | Licensed Rights by any recipient of the Licensed 196 | Material. 197 | 198 | 6. No endorsement. Nothing in this Public License constitutes or 199 | may be construed as permission to assert or imply that You 200 | are, or that Your use of the Licensed Material is, connected 201 | with, or sponsored, endorsed, or granted official status by, 202 | the Licensor or others designated to receive attribution as 203 | provided in Section 3(a)(1)(A)(i). 204 | 205 | b. Other rights. 206 | 207 | 1. Moral rights, such as the right of integrity, are not 208 | licensed under this Public License, nor are publicity, 209 | privacy, and/or other similar personality rights; however, to 210 | the extent possible, the Licensor waives and/or agrees not to 211 | assert any such rights held by the Licensor to the limited 212 | extent necessary to allow You to exercise the Licensed 213 | Rights, but not otherwise. 214 | 215 | 2. Patent and trademark rights are not licensed under this 216 | Public License. 217 | 218 | 3. To the extent possible, the Licensor waives any right to 219 | collect royalties from You for the exercise of the Licensed 220 | Rights, whether directly or through a collecting society 221 | under any voluntary or waivable statutory or compulsory 222 | licensing scheme. In all other cases the Licensor expressly 223 | reserves any right to collect such royalties. 224 | 225 | 226 | Section 3 -- License Conditions. 227 | 228 | Your exercise of the Licensed Rights is expressly made subject to the 229 | following conditions. 230 | 231 | a. Attribution. 232 | 233 | 1. If You Share the Licensed Material (including in modified 234 | form), You must: 235 | 236 | a. retain the following if it is supplied by the Licensor 237 | with the Licensed Material: 238 | 239 | i. identification of the creator(s) of the Licensed 240 | Material and any others designated to receive 241 | attribution, in any reasonable manner requested by 242 | the Licensor (including by pseudonym if 243 | designated); 244 | 245 | ii. a copyright notice; 246 | 247 | iii. a notice that refers to this Public License; 248 | 249 | iv. a notice that refers to the disclaimer of 250 | warranties; 251 | 252 | v. a URI or hyperlink to the Licensed Material to the 253 | extent reasonably practicable; 254 | 255 | b. indicate if You modified the Licensed Material and 256 | retain an indication of any previous modifications; and 257 | 258 | c. indicate the Licensed Material is licensed under this 259 | Public License, and include the text of, or the URI or 260 | hyperlink to, this Public License. 261 | 262 | 2. You may satisfy the conditions in Section 3(a)(1) in any 263 | reasonable manner based on the medium, means, and context in 264 | which You Share the Licensed Material. For example, it may be 265 | reasonable to satisfy the conditions by providing a URI or 266 | hyperlink to a resource that includes the required 267 | information. 268 | 269 | 3. If requested by the Licensor, You must remove any of the 270 | information required by Section 3(a)(1)(A) to the extent 271 | reasonably practicable. 272 | 273 | b. ShareAlike. 274 | 275 | In addition to the conditions in Section 3(a), if You Share 276 | Adapted Material You produce, the following conditions also apply. 277 | 278 | 1. The Adapter's License You apply must be a Creative Commons 279 | license with the same License Elements, this version or 280 | later, or a BY-SA Compatible License. 281 | 282 | 2. You must include the text of, or the URI or hyperlink to, the 283 | Adapter's License You apply. You may satisfy this condition 284 | in any reasonable manner based on the medium, means, and 285 | context in which You Share Adapted Material. 286 | 287 | 3. You may not offer or impose any additional or different terms 288 | or conditions on, or apply any Effective Technological 289 | Measures to, Adapted Material that restrict exercise of the 290 | rights granted under the Adapter's License You apply. 291 | 292 | 293 | Section 4 -- Sui Generis Database Rights. 294 | 295 | Where the Licensed Rights include Sui Generis Database Rights that 296 | apply to Your use of the Licensed Material: 297 | 298 | a. for the avoidance of doubt, Section 2(a)(1) grants You the right 299 | to extract, reuse, reproduce, and Share all or a substantial 300 | portion of the contents of the database; 301 | 302 | b. if You include all or a substantial portion of the database 303 | contents in a database in which You have Sui Generis Database 304 | Rights, then the database in which You have Sui Generis Database 305 | Rights (but not its individual contents) is Adapted Material, 306 | 307 | including for purposes of Section 3(b); and 308 | c. You must comply with the conditions in Section 3(a) if You Share 309 | all or a substantial portion of the contents of the database. 310 | 311 | For the avoidance of doubt, this Section 4 supplements and does not 312 | replace Your obligations under this Public License where the Licensed 313 | Rights include other Copyright and Similar Rights. 314 | 315 | 316 | Section 5 -- Disclaimer of Warranties and Limitation of Liability. 317 | 318 | a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE 319 | EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS 320 | AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF 321 | ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS, 322 | IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION, 323 | WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR 324 | PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS, 325 | ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT 326 | KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT 327 | ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU. 328 | 329 | b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE 330 | TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION, 331 | NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT, 332 | INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES, 333 | COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR 334 | USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN 335 | ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR 336 | DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR 337 | IN PART, THIS LIMITATION MAY NOT APPLY TO YOU. 338 | 339 | c. The disclaimer of warranties and limitation of liability provided 340 | above shall be interpreted in a manner that, to the extent 341 | possible, most closely approximates an absolute disclaimer and 342 | waiver of all liability. 343 | 344 | 345 | Section 6 -- Term and Termination. 346 | 347 | a. This Public License applies for the term of the Copyright and 348 | Similar Rights licensed here. However, if You fail to comply with 349 | this Public License, then Your rights under this Public License 350 | terminate automatically. 351 | 352 | b. Where Your right to use the Licensed Material has terminated under 353 | Section 6(a), it reinstates: 354 | 355 | 1. automatically as of the date the violation is cured, provided 356 | it is cured within 30 days of Your discovery of the 357 | violation; or 358 | 359 | 2. upon express reinstatement by the Licensor. 360 | 361 | For the avoidance of doubt, this Section 6(b) does not affect any 362 | right the Licensor may have to seek remedies for Your violations 363 | of this Public License. 364 | 365 | c. For the avoidance of doubt, the Licensor may also offer the 366 | Licensed Material under separate terms or conditions or stop 367 | distributing the Licensed Material at any time; however, doing so 368 | will not terminate this Public License. 369 | 370 | d. Sections 1, 5, 6, 7, and 8 survive termination of this Public 371 | License. 372 | 373 | 374 | Section 7 -- Other Terms and Conditions. 375 | 376 | a. The Licensor shall not be bound by any additional or different 377 | terms or conditions communicated by You unless expressly agreed. 378 | 379 | b. Any arrangements, understandings, or agreements regarding the 380 | Licensed Material not stated herein are separate from and 381 | independent of the terms and conditions of this Public License. 382 | 383 | 384 | Section 8 -- Interpretation. 385 | 386 | a. For the avoidance of doubt, this Public License does not, and 387 | shall not be interpreted to, reduce, limit, restrict, or impose 388 | conditions on any use of the Licensed Material that could lawfully 389 | be made without permission under this Public License. 390 | 391 | b. To the extent possible, if any provision of this Public License is 392 | deemed unenforceable, it shall be automatically reformed to the 393 | minimum extent necessary to make it enforceable. If the provision 394 | cannot be reformed, it shall be severed from this Public License 395 | without affecting the enforceability of the remaining terms and 396 | conditions. 397 | 398 | c. No term or condition of this Public License will be waived and no 399 | failure to comply consented to unless expressly agreed to by the 400 | Licensor. 401 | 402 | d. Nothing in this Public License constitutes or may be interpreted 403 | as a limitation upon, or waiver of, any privileges and immunities 404 | that apply to the Licensor or You, including from the legal 405 | processes of any jurisdiction or authority. 406 | 407 | 408 | ======================================================================= 409 | 410 | Creative Commons is not a party to its public 411 | licenses. Notwithstanding, Creative Commons may elect to apply one of 412 | its public licenses to material it publishes and in those instances 413 | will be considered the “Licensor.” The text of the Creative Commons 414 | public licenses is dedicated to the public domain under the CC0 Public 415 | Domain Dedication. Except for the limited purpose of indicating that 416 | material is shared under a Creative Commons public license or as 417 | otherwise permitted by the Creative Commons policies published at 418 | creativecommons.org/policies, Creative Commons does not authorize the 419 | use of the trademark "Creative Commons" or any other trademark or logo 420 | of Creative Commons without its prior written consent including, 421 | without limitation, in connection with any unauthorized modifications 422 | to any of its public licenses or any other arrangements, 423 | understandings, or agreements concerning use of licensed material. For 424 | the avoidance of doubt, this paragraph does not form part of the 425 | public licenses. 426 | 427 | Creative Commons may be contacted at creativecommons.org. 428 | -------------------------------------------------------------------------------- /iLO Amplifier Pack.postman_collection.json: -------------------------------------------------------------------------------- 1 | { 2 | "info": { 3 | "_postman_id": "cbffa7b2-78d3-4658-a033-d91c22b80f45", 4 | "name": "iLO Amplifier Pack", 5 | "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" 6 | }, 7 | "item": [ 8 | { 9 | "name": "Chassis Collection", 10 | "request": { 11 | "method": "GET", 12 | "header": [ 13 | { 14 | "key": "OData-Version", 15 | "value": "4.0", 16 | "type": "text" 17 | }, 18 | { 19 | "key": "Content-Type", 20 | "value": "application/json", 21 | "type": "text" 22 | }, 23 | { 24 | "key": "X-Auth-Token", 25 | "value": "{{Token}}", 26 | "type": "text" 27 | } 28 | ], 29 | "url": { 30 | "raw": "{{iloURI}}/redfish/v1/Chassis/", 31 | "host": [ 32 | "{{iloURI}}" 33 | ], 34 | "path": [ 35 | "redfish", 36 | "v1", 37 | "Chassis", 38 | "" 39 | ] 40 | } 41 | }, 42 | "response": [] 43 | }, 44 | { 45 | "name": "Systems Collection", 46 | "request": { 47 | "method": "GET", 48 | "header": [ 49 | { 50 | "key": "OData-Version", 51 | "value": "4.0", 52 | "type": "text" 53 | }, 54 | { 55 | "key": "Content-Type", 56 | "value": "application/json", 57 | "type": "text" 58 | }, 59 | { 60 | "key": "X-Auth-Token", 61 | "value": "{{Token}}", 62 | "type": "text" 63 | } 64 | ], 65 | "url": { 66 | "raw": "{{iloURI}}/redfish/v1/Systems", 67 | "host": [ 68 | "{{iloURI}}" 69 | ], 70 | "path": [ 71 | "redfish", 72 | "v1", 73 | "Systems" 74 | ] 75 | } 76 | }, 77 | "response": [] 78 | }, 79 | { 80 | "name": "Managers Collection", 81 | "request": { 82 | "method": "GET", 83 | "header": [ 84 | { 85 | "key": "OData-Version", 86 | "value": "4.0", 87 | "type": "text" 88 | }, 89 | { 90 | "key": "Content-Type", 91 | "value": "application/json", 92 | "type": "text" 93 | }, 94 | { 95 | "key": "X-Auth-Token", 96 | "value": "{{Token}}", 97 | "type": "text" 98 | } 99 | ], 100 | "url": { 101 | "raw": "{{iloURI}}/redfish/v1/Managers/", 102 | "host": [ 103 | "{{iloURI}}" 104 | ], 105 | "path": [ 106 | "redfish", 107 | "v1", 108 | "Managers", 109 | "" 110 | ] 111 | } 112 | }, 113 | "response": [] 114 | }, 115 | { 116 | "name": "Aggregator Service", 117 | "request": { 118 | "method": "GET", 119 | "header": [ 120 | { 121 | "key": "OData-Version", 122 | "value": "4.0", 123 | "type": "text" 124 | }, 125 | { 126 | "key": "Content-Type", 127 | "value": "application/json", 128 | "type": "text" 129 | }, 130 | { 131 | "key": "X-Auth-Token", 132 | "value": "{{Token}}", 133 | "type": "text" 134 | } 135 | ], 136 | "url": { 137 | "raw": "{{iloURI}}/redfish/v1/AggregatorService/", 138 | "host": [ 139 | "{{iloURI}}" 140 | ], 141 | "path": [ 142 | "redfish", 143 | "v1", 144 | "AggregatorService", 145 | "" 146 | ] 147 | } 148 | }, 149 | "response": [] 150 | }, 151 | { 152 | "name": "Managed Groups", 153 | "request": { 154 | "method": "GET", 155 | "header": [ 156 | { 157 | "key": "OData-Version", 158 | "value": "4.0", 159 | "type": "text" 160 | }, 161 | { 162 | "key": "Content-Type", 163 | "value": "application/json", 164 | "type": "text" 165 | }, 166 | { 167 | "key": "X-Auth-Token", 168 | "value": "{{Token}}", 169 | "type": "text" 170 | } 171 | ], 172 | "url": { 173 | "raw": "{{iloURI}}/redfish/v1/AggregatorService/ManagedGroups", 174 | "host": [ 175 | "{{iloURI}}" 176 | ], 177 | "path": [ 178 | "redfish", 179 | "v1", 180 | "AggregatorService", 181 | "ManagedGroups" 182 | ] 183 | } 184 | }, 185 | "response": [] 186 | }, 187 | { 188 | "name": "Server Groups", 189 | "request": { 190 | "method": "GET", 191 | "header": [ 192 | { 193 | "key": "OData-Version", 194 | "value": "4.0", 195 | "type": "text" 196 | }, 197 | { 198 | "key": "Content-Type", 199 | "value": "application/json", 200 | "type": "text" 201 | }, 202 | { 203 | "key": "X-Auth-Token", 204 | "value": "{{Token}}", 205 | "type": "text" 206 | } 207 | ], 208 | "url": { 209 | "raw": "{{iloURI}}/redfish/v1/AggregatorService/ServerGroups", 210 | "host": [ 211 | "{{iloURI}}" 212 | ], 213 | "path": [ 214 | "redfish", 215 | "v1", 216 | "AggregatorService", 217 | "ServerGroups" 218 | ] 219 | } 220 | }, 221 | "response": [] 222 | }, 223 | { 224 | "name": "Managed Server Groups", 225 | "request": { 226 | "method": "GET", 227 | "header": [ 228 | { 229 | "key": "OData-Version", 230 | "value": "4.0", 231 | "type": "text" 232 | }, 233 | { 234 | "key": "Content-Type", 235 | "value": "application/json", 236 | "type": "text" 237 | }, 238 | { 239 | "key": "X-Auth-Token", 240 | "value": "{{Token}}", 241 | "type": "text" 242 | } 243 | ], 244 | "url": { 245 | "raw": "{{iloURI}}/redfish/v1/AggregatorService/ManagedServerGroups", 246 | "host": [ 247 | "{{iloURI}}" 248 | ], 249 | "path": [ 250 | "redfish", 251 | "v1", 252 | "AggregatorService", 253 | "ManagedServerGroups" 254 | ] 255 | } 256 | }, 257 | "response": [] 258 | }, 259 | { 260 | "name": "Create Group", 261 | "request": { 262 | "method": "POST", 263 | "header": [ 264 | { 265 | "key": "OData-Version", 266 | "value": "4.0", 267 | "type": "text" 268 | }, 269 | { 270 | "key": "Content-Type", 271 | "value": "application/json", 272 | "type": "text" 273 | }, 274 | { 275 | "key": "X-Auth-Token", 276 | "value": "{{Token}}", 277 | "type": "text" 278 | } 279 | ], 280 | "body": { 281 | "mode": "raw", 282 | "raw": "{\r\n \"OperationType\": \"CreateGroup\",\r\n \"Name\": \"FDZ.ETC\",\r\n \"GroupDescription\": \"Adding a new server group\",\r\n \"ServerList\": [\r\n \t\"16.31.87.2\",\r\n \t\"16.31.87.51\"\r\n ]\r\n}\r\n", 283 | "options": { 284 | "raw": {} 285 | } 286 | }, 287 | "url": { 288 | "raw": "{{iloURI}}/redfish/v1/JobService/Actions/Oem/Hpe/HpeWfmJobServiceExt.ServerGroupJobs", 289 | "host": [ 290 | "{{iloURI}}" 291 | ], 292 | "path": [ 293 | "redfish", 294 | "v1", 295 | "JobService", 296 | "Actions", 297 | "Oem", 298 | "Hpe", 299 | "HpeWfmJobServiceExt.ServerGroupJobs" 300 | ] 301 | } 302 | }, 303 | "response": [] 304 | }, 305 | { 306 | "name": "Download AHS log", 307 | "request": { 308 | "method": "POST", 309 | "header": [ 310 | { 311 | "key": "OData-Version", 312 | "type": "text", 313 | "value": "4.0" 314 | }, 315 | { 316 | "key": "Content-Type", 317 | "type": "text", 318 | "value": "application/json" 319 | }, 320 | { 321 | "key": "X-Auth-Token", 322 | "type": "text", 323 | "value": "{{Token}}" 324 | } 325 | ], 326 | "body": { 327 | "mode": "raw", 328 | "raw": "{\r\n \"SelectedSystemsManagerAddress\": [\r\n \t\"192.168.2.81\",\r\n \t\"192.168.3.112\"\r\n ],\r\n \"DownloadAll\": false,\r\n \"LocalDownload\": false,\r\n \"FromDate\": \"2020-04-21\",\r\n \"ToDate\": \"2020-04-22\",\r\n \"StorageType\": \"NetworkShare\",\r\n \"NetworkShareAddress\": \"192.168.2.80\",\r\n \"MountPath\": \"/usr/kits/nfs\",\r\n \"DestinationPath\": \"AhsLogs\"\r\n}\r\n", 329 | "options": { 330 | "raw": {} 331 | } 332 | }, 333 | "url": { 334 | "raw": "{{iloURI}}/redfish/v1/JobService/Actions/Oem/Hpe/HpeWfmJobServiceExt.AhsDownloadJobs", 335 | "host": [ 336 | "{{iloURI}}" 337 | ], 338 | "path": [ 339 | "redfish", 340 | "v1", 341 | "JobService", 342 | "Actions", 343 | "Oem", 344 | "Hpe", 345 | "HpeWfmJobServiceExt.AhsDownloadJobs" 346 | ] 347 | }, 348 | "description": "# Body property descriptions\r\n\r\n`SelectedSystemsManagerAddress`: List of iLO IPs to download AHS logs from.\r\n\r\n`DownloadAll` Download complete AHS log or not\r\n\r\n`LocalDownload`: \r\n\r\n`FromDate`: Start date\r\n\r\n`ToDate`: End date\r\n\r\n`StorageType`: `NetworkShare`: NFS mounted share with write access for the iLO Amplifier Pack. or `TBD`: TBD\r\n\r\n`NetworkShareAddress`: Remote NFS Server IP address\r\n\r\n`MountPath`: NFS shared directory path on the NFS server\r\n\r\n`DestinationPath`: Directory path underneath the NFS mount point where to post the AHS logs" 349 | }, 350 | "response": [] 351 | }, 352 | { 353 | "name": "Schemas list", 354 | "request": { 355 | "method": "GET", 356 | "header": [ 357 | { 358 | "key": "OData-Version", 359 | "value": "4.0", 360 | "type": "text" 361 | }, 362 | { 363 | "key": "Content-Type", 364 | "value": "application/json", 365 | "type": "text" 366 | }, 367 | { 368 | "key": "X-Auth-Token", 369 | "value": "{{Token}}", 370 | "type": "text" 371 | } 372 | ], 373 | "url": { 374 | "raw": "{{iloURI}}/redfish/v1/Schemas", 375 | "host": [ 376 | "{{iloURI}}" 377 | ], 378 | "path": [ 379 | "redfish", 380 | "v1", 381 | "Schemas" 382 | ] 383 | } 384 | }, 385 | "response": [] 386 | }, 387 | { 388 | "name": "Job Service and actions", 389 | "request": { 390 | "method": "GET", 391 | "header": [ 392 | { 393 | "key": "OData-Version", 394 | "value": "4.0", 395 | "type": "text" 396 | }, 397 | { 398 | "key": "Content-Type", 399 | "value": "application/json", 400 | "type": "text" 401 | }, 402 | { 403 | "key": "X-Auth-Token", 404 | "value": "{{Token}}", 405 | "type": "text" 406 | } 407 | ], 408 | "url": { 409 | "raw": "{{iloURI}}/redfish/v1/JobService", 410 | "host": [ 411 | "{{iloURI}}" 412 | ], 413 | "path": [ 414 | "redfish", 415 | "v1", 416 | "JobService" 417 | ] 418 | } 419 | }, 420 | "response": [] 421 | }, 422 | { 423 | "name": "Schemas of JobService Extention", 424 | "request": { 425 | "method": "GET", 426 | "header": [ 427 | { 428 | "key": "OData-Version", 429 | "value": "4.0", 430 | "type": "text" 431 | }, 432 | { 433 | "key": "Content-Type", 434 | "value": "application/json", 435 | "type": "text" 436 | }, 437 | { 438 | "key": "X-Auth-Token", 439 | "value": "{{Token}}", 440 | "type": "text" 441 | } 442 | ], 443 | "url": { 444 | "raw": "{{iloURI}}/json/schema/HpeWfmJobServiceExt.json", 445 | "host": [ 446 | "{{iloURI}}" 447 | ], 448 | "path": [ 449 | "json", 450 | "schema", 451 | "HpeWfmJobServiceExt.json" 452 | ] 453 | } 454 | }, 455 | "response": [] 456 | }, 457 | { 458 | "name": "Job States and Status", 459 | "request": { 460 | "method": "GET", 461 | "header": [ 462 | { 463 | "key": "OData-Version", 464 | "value": "4.0", 465 | "type": "text" 466 | }, 467 | { 468 | "key": "Content-Type", 469 | "value": "application/json", 470 | "type": "text" 471 | }, 472 | { 473 | "key": "X-Auth-Token", 474 | "value": "{{Token}}", 475 | "type": "text" 476 | } 477 | ], 478 | "url": { 479 | "raw": "{{iloURI}}/redfish/v1/JobService/Jobs/", 480 | "host": [ 481 | "{{iloURI}}" 482 | ], 483 | "path": [ 484 | "redfish", 485 | "v1", 486 | "JobService", 487 | "Jobs", 488 | "" 489 | ] 490 | } 491 | }, 492 | "response": [] 493 | }, 494 | { 495 | "name": "Job Infos", 496 | "request": { 497 | "method": "GET", 498 | "header": [ 499 | { 500 | "key": "OData-Version", 501 | "value": "4.0", 502 | "type": "text" 503 | }, 504 | { 505 | "key": "Content-Type", 506 | "value": "application/json", 507 | "type": "text" 508 | }, 509 | { 510 | "key": "X-Auth-Token", 511 | "value": "{{Token}}", 512 | "type": "text" 513 | } 514 | ], 515 | "url": { 516 | "raw": "{{iloURI}}/redfish/v1/AggregatorService/LogServices/AlertLog/Entries?$reverse=true&_=1587555374479", 517 | "host": [ 518 | "{{iloURI}}" 519 | ], 520 | "path": [ 521 | "redfish", 522 | "v1", 523 | "AggregatorService", 524 | "LogServices", 525 | "AlertLog", 526 | "Entries" 527 | ], 528 | "query": [ 529 | { 530 | "key": "$reverse", 531 | "value": "true" 532 | }, 533 | { 534 | "key": "_", 535 | "value": "1587555374479" 536 | } 537 | ] 538 | } 539 | }, 540 | "response": [] 541 | }, 542 | { 543 | "name": "Delete All Completed Jobs", 544 | "request": { 545 | "method": "POST", 546 | "header": [ 547 | { 548 | "key": "OData-Version", 549 | "type": "text", 550 | "value": "4.0" 551 | }, 552 | { 553 | "key": "Content-Type", 554 | "type": "text", 555 | "value": "application/json" 556 | }, 557 | { 558 | "key": "X-Auth-Token", 559 | "type": "text", 560 | "value": "{{Token}}" 561 | } 562 | ], 563 | "body": { 564 | "mode": "raw", 565 | "raw": "", 566 | "options": { 567 | "raw": {} 568 | } 569 | }, 570 | "url": { 571 | "raw": "{{iloURI}}/redfish/v1/JobService/Actions/Oem/Hpe/HpeWfmJobServiceExt.DeleteCompletedJobs", 572 | "host": [ 573 | "{{iloURI}}" 574 | ], 575 | "path": [ 576 | "redfish", 577 | "v1", 578 | "JobService", 579 | "Actions", 580 | "Oem", 581 | "Hpe", 582 | "HpeWfmJobServiceExt.DeleteCompletedJobs" 583 | ] 584 | } 585 | }, 586 | "response": [] 587 | }, 588 | { 589 | "name": "Delete Server Group", 590 | "request": { 591 | "method": "POST", 592 | "header": [ 593 | { 594 | "key": "OData-Version", 595 | "value": "4.0", 596 | "type": "text" 597 | }, 598 | { 599 | "key": "Content-Type", 600 | "value": "application/json", 601 | "type": "text" 602 | }, 603 | { 604 | "key": "X-Auth-Token", 605 | "value": "{{Token}}", 606 | "type": "text" 607 | } 608 | ], 609 | "body": { 610 | "mode": "raw", 611 | "raw": "{\r\n \"OperationType\": \"DeleteGroup\",\r\n \"Name\": \"FDZ.ETC\",\r\n \"DeleteServers\": false\r\n}", 612 | "options": { 613 | "raw": {} 614 | } 615 | }, 616 | "url": { 617 | "raw": "{{iloURI}}/redfish/v1/JobService/Actions/Oem/Hpe/HpeWfmJobServiceExt.ServerGroupJobs", 618 | "host": [ 619 | "{{iloURI}}" 620 | ], 621 | "path": [ 622 | "redfish", 623 | "v1", 624 | "JobService", 625 | "Actions", 626 | "Oem", 627 | "Hpe", 628 | "HpeWfmJobServiceExt.ServerGroupJobs" 629 | ] 630 | } 631 | }, 632 | "response": [] 633 | }, 634 | { 635 | "name": "Discover Servers in range", 636 | "request": { 637 | "method": "POST", 638 | "header": [ 639 | { 640 | "key": "OData-Version", 641 | "type": "text", 642 | "value": "4.0" 643 | }, 644 | { 645 | "key": "Content-Type", 646 | "type": "text", 647 | "value": "application/json" 648 | }, 649 | { 650 | "key": "X-Auth-Token", 651 | "type": "text", 652 | "value": "{{Token}}" 653 | } 654 | ], 655 | "body": { 656 | "mode": "raw", 657 | "raw": "{\r\n \"StartAddress\": \"192.168.0.0\",\r\n \"EndAddress\": \"192.168.3.255\",\r\n \"PortNumber\": 443,\r\n \"UserName\": \"{{iloUser}}\",\r\n \"Password\": \"{{iloPasswd}}\"\r\n}\r\n", 658 | "options": { 659 | "raw": {} 660 | } 661 | }, 662 | "url": { 663 | "raw": "{{iloURI}}/redfish/v1/AggregatorService/Actions/HpeWfmAggregatorService.DiscoverServersInRange", 664 | "host": [ 665 | "{{iloURI}}" 666 | ], 667 | "path": [ 668 | "redfish", 669 | "v1", 670 | "AggregatorService", 671 | "Actions", 672 | "HpeWfmAggregatorService.DiscoverServersInRange" 673 | ] 674 | } 675 | }, 676 | "response": [] 677 | }, 678 | { 679 | "name": "Discover Single server", 680 | "request": { 681 | "method": "POST", 682 | "header": [ 683 | { 684 | "key": "OData-Version", 685 | "type": "text", 686 | "value": "4.0" 687 | }, 688 | { 689 | "key": "Content-Type", 690 | "type": "text", 691 | "value": "application/json" 692 | }, 693 | { 694 | "key": "X-Auth-Token", 695 | "type": "text", 696 | "value": "{{Token}}" 697 | } 698 | ], 699 | "body": { 700 | "mode": "raw", 701 | "raw": "{\n\t\"ManagerAddress\":\"16.31.87.51\",\n\t\"UserName\": \"{{iloUser}}\",\n\t\"Password\": \"{{iloPasswd}}\"\n}", 702 | "options": { 703 | "raw": {} 704 | } 705 | }, 706 | "url": { 707 | "raw": "{{iloURI}}/redfish/v1/AggregatorService/ManagedSystems", 708 | "host": [ 709 | "{{iloURI}}" 710 | ], 711 | "path": [ 712 | "redfish", 713 | "v1", 714 | "AggregatorService", 715 | "ManagedSystems" 716 | ] 717 | } 718 | }, 719 | "response": [] 720 | }, 721 | { 722 | "name": "Schemas of Aggregator Service", 723 | "request": { 724 | "method": "GET", 725 | "header": [ 726 | { 727 | "key": "OData-Version", 728 | "value": "4.0", 729 | "type": "text" 730 | }, 731 | { 732 | "key": "Content-Type", 733 | "value": "application/json", 734 | "type": "text" 735 | }, 736 | { 737 | "key": "X-Auth-Token", 738 | "value": "{{Token}}", 739 | "type": "text" 740 | } 741 | ], 742 | "url": { 743 | "raw": "{{iloURI}}/json/schema/HpeWfmAggregatorService.json", 744 | "host": [ 745 | "{{iloURI}}" 746 | ], 747 | "path": [ 748 | "json", 749 | "schema", 750 | "HpeWfmAggregatorService.json" 751 | ] 752 | } 753 | }, 754 | "response": [] 755 | }, 756 | { 757 | "name": "Delete Servers", 758 | "request": { 759 | "method": "POST", 760 | "header": [ 761 | { 762 | "key": "OData-Version", 763 | "value": "4.0", 764 | "type": "text" 765 | }, 766 | { 767 | "key": "Content-Type", 768 | "value": "application/json", 769 | "type": "text" 770 | }, 771 | { 772 | "key": "X-Auth-Token", 773 | "value": "{{Token}}", 774 | "type": "text" 775 | } 776 | ], 777 | "body": { 778 | "mode": "raw", 779 | "raw": "{\n\t\"SelectedSystemsManagerAddress\": [\"16.31.87.51\"]\n}", 780 | "options": { 781 | "raw": {} 782 | } 783 | }, 784 | "url": { 785 | "raw": "{{iloURI}}/redfish/v1/JobService/Actions/Oem/Hpe/HpeWfmJobServiceExt.DeleteJobs", 786 | "host": [ 787 | "{{iloURI}}" 788 | ], 789 | "path": [ 790 | "redfish", 791 | "v1", 792 | "JobService", 793 | "Actions", 794 | "Oem", 795 | "Hpe", 796 | "HpeWfmJobServiceExt.DeleteJobs" 797 | ] 798 | } 799 | }, 800 | "response": [] 801 | }, 802 | { 803 | "name": "Managed Systems", 804 | "request": { 805 | "method": "GET", 806 | "header": [ 807 | { 808 | "key": "OData-Version", 809 | "value": "4.0", 810 | "type": "text" 811 | }, 812 | { 813 | "key": "Content-Type", 814 | "value": "application/json", 815 | "type": "text" 816 | }, 817 | { 818 | "key": "X-Auth-Token", 819 | "value": "{{Token}}", 820 | "type": "text" 821 | } 822 | ], 823 | "url": { 824 | "raw": "{{iloURI}}/redfish/v1/AggregatorService/ManagedSystems", 825 | "host": [ 826 | "{{iloURI}}" 827 | ], 828 | "path": [ 829 | "redfish", 830 | "v1", 831 | "AggregatorService", 832 | "ManagedSystems" 833 | ] 834 | } 835 | }, 836 | "response": [] 837 | }, 838 | { 839 | "name": "Managed System Post Schema", 840 | "request": { 841 | "method": "GET", 842 | "header": [ 843 | { 844 | "key": "OData-Version", 845 | "value": "4.0", 846 | "type": "text" 847 | }, 848 | { 849 | "key": "Content-Type", 850 | "value": "application/json", 851 | "type": "text" 852 | }, 853 | { 854 | "key": "X-Auth-Token", 855 | "value": "{{Token}}", 856 | "type": "text" 857 | } 858 | ], 859 | "url": { 860 | "raw": "{{iloURI}}/json/schema/HpeWfmManagedSystemPost.json", 861 | "host": [ 862 | "{{iloURI}}" 863 | ], 864 | "path": [ 865 | "json", 866 | "schema", 867 | "HpeWfmManagedSystemPost.json" 868 | ] 869 | } 870 | }, 871 | "response": [] 872 | }, 873 | { 874 | "name": "Import Firmware BaseLine", 875 | "request": { 876 | "method": "POST", 877 | "header": [ 878 | { 879 | "key": "OData-Version", 880 | "type": "text", 881 | "value": "4.0" 882 | }, 883 | { 884 | "key": "Content-Type", 885 | "type": "text", 886 | "value": "application/json" 887 | }, 888 | { 889 | "key": "X-Auth-Token", 890 | "type": "text", 891 | "value": "{{Token}}" 892 | } 893 | ], 894 | "body": { 895 | "mode": "raw", 896 | "raw": "{\n\"NetworkShareAddress\": \"16.31.87.42\",\n\"StorageType\": \"NetworkShare\",\n\"MountPath\": \"/usr/kits/nfs\",\n\"SourcePath\": \"/SPPs/Spp2020-03.iso\"\n}", 897 | "options": { 898 | "raw": {} 899 | } 900 | }, 901 | "url": { 902 | "raw": "{{iloURI}}/redfish/v1/JobService/Actions/Oem/Hpe/HpeWfmJobServiceExt.ImportBaselineJobs", 903 | "host": [ 904 | "{{iloURI}}" 905 | ], 906 | "path": [ 907 | "redfish", 908 | "v1", 909 | "JobService", 910 | "Actions", 911 | "Oem", 912 | "Hpe", 913 | "HpeWfmJobServiceExt.ImportBaselineJobs" 914 | ] 915 | } 916 | }, 917 | "response": [] 918 | }, 919 | { 920 | "name": "Add On Services", 921 | "request": { 922 | "method": "GET", 923 | "header": [ 924 | { 925 | "key": "OData-Version", 926 | "value": "4.0", 927 | "type": "text" 928 | }, 929 | { 930 | "key": "Content-Type", 931 | "value": "application/json", 932 | "type": "text" 933 | }, 934 | { 935 | "key": "X-Auth-Token", 936 | "value": "{{Token}}", 937 | "type": "text" 938 | } 939 | ], 940 | "url": { 941 | "raw": "{{iloURI}}/redfish/v1/AddOnServices", 942 | "host": [ 943 | "{{iloURI}}" 944 | ], 945 | "path": [ 946 | "redfish", 947 | "v1", 948 | "AddOnServices" 949 | ] 950 | } 951 | }, 952 | "response": [] 953 | } 954 | ], 955 | "protocolProfileBehavior": {} 956 | } -------------------------------------------------------------------------------- /7-Bios.postman_collection.json: -------------------------------------------------------------------------------- 1 | { 2 | "info": { 3 | "_postman_id": "04436f16-09ae-4d44-8c44-42d4c3fb4b2f", 4 | "name": "7-Bios", 5 | "description": "Get and set of various Bios properties.", 6 | "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" 7 | }, 8 | "item": [ 9 | { 10 | "name": "Bios current attributes", 11 | "event": [ 12 | { 13 | "listen": "test", 14 | "script": { 15 | "exec": [ 16 | "" 17 | ], 18 | "type": "text/javascript" 19 | } 20 | } 21 | ], 22 | "protocolProfileBehavior": { 23 | "disableBodyPruning": true 24 | }, 25 | "request": { 26 | "auth": { 27 | "type": "noauth" 28 | }, 29 | "method": "GET", 30 | "header": [ 31 | { 32 | "key": "OData-Version", 33 | "value": "4.0", 34 | "disabled": true 35 | }, 36 | { 37 | "key": "Content-Type", 38 | "value": "application/json" 39 | }, 40 | { 41 | "key": "X-Auth-Token", 42 | "value": "{{Token}}" 43 | } 44 | ], 45 | "body": { 46 | "mode": "raw", 47 | "raw": "" 48 | }, 49 | "url": { 50 | "raw": "{{iloURI}}/redfish/v1/systems/1/bios", 51 | "host": [ 52 | "{{iloURI}}" 53 | ], 54 | "path": [ 55 | "redfish", 56 | "v1", 57 | "systems", 58 | "1", 59 | "bios" 60 | ] 61 | } 62 | }, 63 | "response": [ 64 | { 65 | "name": "Systems/?$expand=.", 66 | "originalRequest": { 67 | "method": "GET", 68 | "header": [ 69 | { 70 | "key": "OData-Version", 71 | "value": "4.0", 72 | "disabled": true 73 | }, 74 | { 75 | "key": "Content-Type", 76 | "value": "application/json", 77 | "disabled": false 78 | }, 79 | { 80 | "key": "X-Auth-Token", 81 | "value": "{{Token}}", 82 | "disabled": false 83 | } 84 | ], 85 | "url": { 86 | "raw": "{{iloURI}}/redfish/v1/Systems/?$expand=.", 87 | "host": [ 88 | "{{iloURI}}" 89 | ], 90 | "path": [ 91 | "redfish", 92 | "v1", 93 | "Systems", 94 | "" 95 | ], 96 | "query": [ 97 | { 98 | "key": "$expand", 99 | "value": "." 100 | } 101 | ] 102 | } 103 | }, 104 | "status": "OK", 105 | "code": 200, 106 | "_postman_previewlanguage": "json", 107 | "header": [ 108 | { 109 | "key": "Allow", 110 | "value": "GET, HEAD", 111 | "name": "Allow", 112 | "description": "Valid actions for a specified resource. To be used for a 405 Method not allowed" 113 | }, 114 | { 115 | "key": "Cache-Control", 116 | "value": "no-cache", 117 | "name": "Cache-Control", 118 | "description": "Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds" 119 | }, 120 | { 121 | "key": "Connection", 122 | "value": "keep-alive", 123 | "name": "Connection", 124 | "description": "Options that are desired for the connection" 125 | }, 126 | { 127 | "key": "Content-type", 128 | "value": "application/json; charset=utf-8", 129 | "name": "Content-type", 130 | "description": "The mime type of this content" 131 | }, 132 | { 133 | "key": "Date", 134 | "value": "Wed, 08 Aug 2018 14:20:55 GMT", 135 | "name": "Date", 136 | "description": "The date and time that the message was sent" 137 | }, 138 | { 139 | "key": "ETag", 140 | "value": "W/\"C09DAB66\"", 141 | "name": "ETag", 142 | "description": "An identifier for a specific version of a resource, often a message digest" 143 | }, 144 | { 145 | "key": "Link", 146 | "value": "; rel=describedby", 147 | "name": "Link", 148 | "description": "Used to express a typed relationship with another resource, where the relation type is defined by RFC 5988" 149 | }, 150 | { 151 | "key": "OData-Version", 152 | "value": "4.0", 153 | "name": "OData-Version", 154 | "description": "Custom header" 155 | }, 156 | { 157 | "key": "Transfer-Encoding", 158 | "value": "chunked", 159 | "name": "Transfer-Encoding", 160 | "description": "The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity." 161 | }, 162 | { 163 | "key": "X-Frame-Options", 164 | "value": "sameorigin", 165 | "name": "X-Frame-Options", 166 | "description": "Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch" 167 | }, 168 | { 169 | "key": "X_HP-CHRP-Service-Version", 170 | "value": "1.0.3", 171 | "name": "X_HP-CHRP-Service-Version", 172 | "description": "Custom header" 173 | } 174 | ], 175 | "cookie": [], 176 | "body": "{\n \"@odata.context\": \"/redfish/v1/$metadata#ComputerSystemCollection.ComputerSystemCollection\",\n \"@odata.etag\": \"W/\\\"C09DAB66\\\"\",\n \"@odata.id\": \"/redfish/v1/Systems/\",\n \"@odata.type\": \"#ComputerSystemCollection.ComputerSystemCollection\",\n \"Description\": \"Computer Systems view\",\n \"Name\": \"Computer Systems\",\n \"Members\": [\n {\n \"@odata.context\": \"/redfish/v1/$metadata#ComputerSystem.ComputerSystem\",\n \"@odata.id\": \"/redfish/v1/Systems/1/\",\n \"@odata.type\": \"#ComputerSystem.v1_4_0.ComputerSystem\",\n \"Id\": \"1\",\n \"Actions\": {\n \"#ComputerSystem.Reset\": {\n \"ResetType@Redfish.AllowableValues\": [\n \"On\",\n \"ForceOff\",\n \"ForceRestart\",\n \"Nmi\",\n \"PushPowerButton\"\n ],\n \"target\": \"/redfish/v1/Systems/1/Actions/ComputerSystem.Reset/\"\n }\n },\n \"AssetTag\": \"\",\n \"Bios\": {\n \"@odata.id\": \"/redfish/v1/systems/1/bios/\"\n },\n \"BiosVersion\": \"U30 v1.42 (06/20/2018)\",\n \"Boot\": {\n \"BootSourceOverrideEnabled\": \"Disabled\",\n \"BootSourceOverrideMode\": \"UEFI\",\n \"BootSourceOverrideTarget\": \"None\",\n \"BootSourceOverrideTarget@Redfish.AllowableValues\": [\n \"None\",\n \"Cd\",\n \"Hdd\",\n \"Usb\",\n \"SDCard\",\n \"Utilities\",\n \"Diags\",\n \"BiosSetup\",\n \"Pxe\",\n \"UefiShell\",\n \"UefiHttp\",\n \"UefiTarget\"\n ],\n \"UefiTargetBootSourceOverride\": \"None\",\n \"UefiTargetBootSourceOverride@Redfish.AllowableValues\": [\n \"HD(1,GPT,0C1B39A7-2EE6-431B-9D48-1DF9A6D04D98,0x800,0x64000)/\\\\EFI\\\\redhat\\\\shimx64.efi\",\n \"Fv(CDBB7B35-6833-4ED6-9AB2-57D2ACDDF6F0)/FvFile(C57AD6B7-0515-40A8-9D21-551652854E37)\",\n \"PciRoot(0x0)/Pci(0x14,0x0)/USB(0x13,0x0)\",\n \"UsbClass(0xFFFF,0xFFFF,0xFF,0xFF,0xFF)\",\n \"PciRoot(0x3)/Pci(0x0,0x0)/Pci(0x0,0x0)/Scsi(0x0,0x0)\",\n \"PciRoot(0x3)/Pci(0x0,0x0)/Pci(0x0,0x0)/Scsi(0x2,0x4000)\"\n ]\n },\n \"EthernetInterfaces\": {\n \"@odata.id\": \"/redfish/v1/Systems/1/EthernetInterfaces/\"\n },\n \"HostName\": \"hst380g10\",\n \"IndicatorLED\": \"Blinking\",\n \"Links\": {\n \"ManagedBy\": [\n {\n \"@odata.id\": \"/redfish/v1/Managers/1/\"\n }\n ],\n \"Chassis\": [\n {\n \"@odata.id\": \"/redfish/v1/Chassis/1/\"\n }\n ]\n },\n \"LogServices\": {\n \"@odata.id\": \"/redfish/v1/Systems/1/LogServices/\"\n },\n \"Manufacturer\": \"HPE\",\n \"Memory\": {\n \"@odata.id\": \"/redfish/v1/Systems/1/Memory/\"\n },\n \"MemorySummary\": {\n \"Status\": {\n \"HealthRollup\": \"OK\"\n },\n \"TotalSystemMemoryGiB\": 768\n },\n \"Model\": \"ProLiant DL380 Gen10\",\n \"Name\": \"Computer System\",\n \"NetworkInterfaces\": {\n \"@odata.id\": \"/redfish/v1/Systems/1/NetworkInterfaces/\"\n },\n \"Oem\": {\n \"Hpe\": {\n \"@odata.context\": \"/redfish/v1/$metadata#HpeComputerSystemExt.HpeComputerSystemExt\",\n \"@odata.type\": \"#HpeComputerSystemExt.v2_5_0.HpeComputerSystemExt\",\n \"Actions\": {\n \"#HpeComputerSystemExt.PowerButton\": {\n \"PushType@Redfish.AllowableValues\": [\n \"Press\",\n \"PressAndHold\"\n ],\n \"target\": \"/redfish/v1/Systems/1/Actions/Oem/Hpe/HpeComputerSystemExt.PowerButton/\"\n },\n \"#HpeComputerSystemExt.SystemReset\": {\n \"ResetType@Redfish.AllowableValues\": [\n \"ColdBoot\",\n \"AuxCycle\"\n ],\n \"target\": \"/redfish/v1/Systems/1/Actions/Oem/Hpe/HpeComputerSystemExt.SystemReset/\"\n }\n },\n \"AggregateHealthStatus\": {\n \"AgentlessManagementService\": \"Unavailable\",\n \"BiosOrHardwareHealth\": {\n \"Status\": {\n \"Health\": \"OK\"\n }\n },\n \"FanRedundancy\": \"Redundant\",\n \"Fans\": {\n \"Status\": {\n \"Health\": \"OK\"\n }\n },\n \"Memory\": {\n \"Status\": {\n \"Health\": \"OK\"\n }\n },\n \"Network\": {\n \"Status\": {\n \"Health\": \"OK\"\n }\n },\n \"PowerSupplies\": {\n \"PowerSuppliesMismatch\": false,\n \"Status\": {\n \"Health\": \"OK\"\n }\n },\n \"PowerSupplyRedundancy\": \"NonRedundant\",\n \"Processors\": {\n \"Status\": {\n \"Health\": \"OK\"\n }\n },\n \"Storage\": {\n \"Status\": {\n \"Health\": \"Warning\"\n }\n },\n \"Temperatures\": {\n \"Status\": {\n \"Health\": \"OK\"\n }\n }\n },\n \"Bios\": {\n \"Backup\": {\n \"Date\": \"02/01/2018\",\n \"Family\": \"U30\",\n \"VersionString\": \"U30 v1.32 (02/01/2018)\"\n },\n \"Current\": {\n \"Date\": \"06/20/2018\",\n \"Family\": \"U30\",\n \"VersionString\": \"U30 v1.42 (06/20/2018)\"\n },\n \"UefiClass\": 2\n },\n \"CurrentPowerOnTimeSeconds\": 6720,\n \"DeviceDiscoveryComplete\": {\n \"AMSDeviceDiscovery\": \"NoAMS\",\n \"DeviceDiscovery\": \"vMainDeviceDiscoveryComplete\",\n \"SmartArrayDiscovery\": \"Complete\"\n },\n \"EndOfPostDelaySeconds\": null,\n \"IntelligentProvisioningAlwaysOn\": true,\n \"IntelligentProvisioningIndex\": 8,\n \"IntelligentProvisioningLocation\": \"System Board\",\n \"IntelligentProvisioningVersion\": \"3.20.154\",\n \"IsColdBooting\": false,\n \"Links\": {\n \"SUT\": {\n \"@odata.id\": \"/redfish/v1/systems/1/hpsut/\"\n },\n \"HpeIpProvider\": {\n \"@odata.id\": \"/redfish/v1/systems/1/hpeip/\"\n },\n \"PCIDevices\": {\n \"@odata.id\": \"/redfish/v1/Systems/1/PCIDevices/\"\n },\n \"PCISlots\": {\n \"@odata.id\": \"/redfish/v1/Systems/1/PCISlots/\"\n },\n \"NetworkAdapters\": {\n \"@odata.id\": \"/redfish/v1/Systems/1/BaseNetworkAdapters/\"\n },\n \"SmartStorage\": {\n \"@odata.id\": \"/redfish/v1/Systems/1/SmartStorage/\"\n },\n \"USBPorts\": {\n \"@odata.id\": \"/redfish/v1/Systems/1/USBPorts/\"\n },\n \"USBDevices\": {\n \"@odata.id\": \"/redfish/v1/Systems/1/USBDevices/\"\n },\n \"EthernetInterfaces\": {\n \"@odata.id\": \"/redfish/v1/Systems/1/EthernetInterfaces/\"\n }\n },\n \"PCAPartNumber\": \"\",\n \"PCASerialNumber\": \"\",\n \"PostDiscoveryCompleteTimeStamp\": \"2018-08-08T14:12:45Z\",\n \"PostDiscoveryMode\": null,\n \"PostMode\": null,\n \"PostState\": \"FinishedPost\",\n \"PowerAllocationLimit\": 500,\n \"PowerAutoOn\": \"Restore\",\n \"PowerOnDelay\": \"Minimum\",\n \"PowerOnMinutes\": 157805,\n \"PowerRegulatorMode\": \"Dynamic\",\n \"PowerRegulatorModesSupported\": [\n \"OSControl\",\n \"Dynamic\",\n \"Max\",\n \"Min\"\n ],\n \"ProcessorJitterControl\": {\n \"Mode\": \"Disabled\"\n },\n \"SMBIOS\": {\n \"extref\": \"/smbios\"\n },\n \"ServerFQDN\": \"\",\n \"SmartStorageConfig\": [\n {\n \"@odata.id\": \"/redfish/v1/systems/1/smartstorageconfig/\"\n }\n ],\n \"VirtualProfile\": \"Inactive\"\n }\n },\n \"PowerState\": \"On\",\n \"ProcessorSummary\": {\n \"Count\": 1,\n \"Model\": \"Intel(R) Genuine processor\",\n \"Status\": {\n \"HealthRollup\": \"OK\"\n }\n },\n \"Processors\": {\n \"@odata.id\": \"/redfish/v1/Systems/1/Processors/\"\n },\n \"SKU\": \"125629-001\",\n \"SecureBoot\": {\n \"@odata.id\": \"/redfish/v1/Systems/1/SecureBoot/\"\n },\n \"SerialNumber\": \"7CE635P01D\",\n \"Status\": {\n \"Health\": \"Warning\",\n \"State\": \"Enabled\"\n },\n \"Storage\": {\n \"@odata.id\": \"/redfish/v1/Systems/1/Storage/\"\n },\n \"SystemType\": \"Physical\",\n \"TrustedModules\": [\n {\n \"Oem\": {\n \"Hpe\": {\n \"@odata.context\": \"/redfish/v1/$metadata#HpeTrustedModuleExt.HpeTrustedModuleExt\",\n \"@odata.type\": \"#HpeTrustedModuleExt.v2_0_0.HpeTrustedModuleExt\"\n }\n },\n \"Status\": {\n \"State\": \"Absent\"\n }\n }\n ],\n \"UUID\": \"36353231-3932-4337-4536-333550303144\"\n }\n ],\n \"Members@odata.count\": 1\n}" 177 | } 178 | ] 179 | }, 180 | { 181 | "name": "PATCH Bios IPv4", 182 | "event": [ 183 | { 184 | "listen": "test", 185 | "script": { 186 | "type": "text/javascript", 187 | "exec": [ 188 | "" 189 | ] 190 | } 191 | } 192 | ], 193 | "request": { 194 | "auth": { 195 | "type": "noauth" 196 | }, 197 | "method": "PATCH", 198 | "header": [ 199 | { 200 | "key": "OData-Version", 201 | "value": "4.0", 202 | "disabled": true 203 | }, 204 | { 205 | "key": "Content-Type", 206 | "value": "application/json" 207 | }, 208 | { 209 | "key": "X-Auth-Token", 210 | "value": "{{Token}}" 211 | } 212 | ], 213 | "body": { 214 | "mode": "raw", 215 | "raw": "{\n\t\"Attributes\": {\n\t\t\"Dhcpv4\": \"Disabled\",\n\t\t\t\"Ipv4Address\": \"192.168.1.82\",\n \t\"Ipv4Gateway\": \"192.168.1.1\",\n \t\"Ipv4PrimaryDNS\": \"192.168.1.1\",\n \t\"UrlBootFile\": \"http://192.168.1.254/MediaKits/Media/BootISOs/hst380g10-rhel75.iso\"\n\t}\n}" 216 | }, 217 | "url": { 218 | "raw": "{{iloURI}}/redfish/v1/Systems/1/Bios/Settings/", 219 | "host": [ 220 | "{{iloURI}}" 221 | ], 222 | "path": [ 223 | "redfish", 224 | "v1", 225 | "Systems", 226 | "1", 227 | "Bios", 228 | "Settings", 229 | "" 230 | ] 231 | } 232 | }, 233 | "response": [] 234 | }, 235 | { 236 | "name": "Gen10: Change Bios Attributes", 237 | "event": [ 238 | { 239 | "listen": "test", 240 | "script": { 241 | "exec": [ 242 | "" 243 | ], 244 | "type": "text/javascript" 245 | } 246 | } 247 | ], 248 | "request": { 249 | "auth": { 250 | "type": "noauth" 251 | }, 252 | "method": "PATCH", 253 | "header": [ 254 | { 255 | "key": "OData-Version", 256 | "value": "4.0", 257 | "disabled": true 258 | }, 259 | { 260 | "key": "Content-Type", 261 | "value": "application/json" 262 | }, 263 | { 264 | "key": "X-Auth-Token", 265 | "value": "{{Token}}" 266 | } 267 | ], 268 | "body": { 269 | "mode": "raw", 270 | "raw": "{\n\t\"Attributes\": {\n\t\t\"AdminName\": \"Toto Content\",\n\t\t\"AdminEmail\": \"toto.content@koulapic.com\",\n\t\t\"AdminPhone\": \"+330678901234\"\n\t}\n}" 271 | }, 272 | "url": { 273 | "raw": "{{iloURI}}/redfish/v1/Systems/1/Bios/Settings/", 274 | "host": [ 275 | "{{iloURI}}" 276 | ], 277 | "path": [ 278 | "redfish", 279 | "v1", 280 | "Systems", 281 | "1", 282 | "Bios", 283 | "Settings", 284 | "" 285 | ] 286 | } 287 | }, 288 | "response": [] 289 | }, 290 | { 291 | "name": "Gen10: Change Advanced Bios Attr", 292 | "event": [ 293 | { 294 | "listen": "test", 295 | "script": { 296 | "exec": [ 297 | "" 298 | ], 299 | "type": "text/javascript" 300 | } 301 | } 302 | ], 303 | "request": { 304 | "auth": { 305 | "type": "noauth" 306 | }, 307 | "method": "PATCH", 308 | "header": [ 309 | { 310 | "key": "OData-Version", 311 | "value": "4.0", 312 | "disabled": true 313 | }, 314 | { 315 | "key": "Content-Type", 316 | "value": "application/json" 317 | }, 318 | { 319 | "key": "X-Auth-Token", 320 | "value": "{{Token}}" 321 | } 322 | ], 323 | "body": { 324 | "mode": "raw", 325 | "raw": "{\n\t\"Attributes\": {\n\t\t\"AdvRasRecovery\": \"Disabled\",\n\t\t\"ProcRapl\": 1\n\t}\n}" 326 | }, 327 | "url": { 328 | "raw": "{{iloURI}}/redfish/v1/Systems/1/Bios/service/Settings/", 329 | "host": [ 330 | "{{iloURI}}" 331 | ], 332 | "path": [ 333 | "redfish", 334 | "v1", 335 | "Systems", 336 | "1", 337 | "Bios", 338 | "service", 339 | "Settings", 340 | "" 341 | ] 342 | } 343 | }, 344 | "response": [] 345 | }, 346 | { 347 | "name": "Gen10: Change Admin BIOS passwd", 348 | "event": [ 349 | { 350 | "listen": "test", 351 | "script": { 352 | "exec": [ 353 | "" 354 | ], 355 | "type": "text/javascript" 356 | } 357 | } 358 | ], 359 | "request": { 360 | "auth": { 361 | "type": "noauth" 362 | }, 363 | "method": "POST", 364 | "header": [ 365 | { 366 | "key": "OData-Version", 367 | "value": "4.0", 368 | "disabled": true 369 | }, 370 | { 371 | "key": "Content-Type", 372 | "value": "application/json" 373 | }, 374 | { 375 | "key": "X-Auth-Token", 376 | "value": "{{Token}}" 377 | } 378 | ], 379 | "body": { 380 | "mode": "raw", 381 | "raw": "{\"Action\": \"Bios.ResetBios\"}\n" 382 | }, 383 | "url": { 384 | "raw": "{{iloURI}}/redfish/v1/Systems/1/Bios/Settings/Actions/Bios.ResetBios", 385 | "host": [ 386 | "{{iloURI}}" 387 | ], 388 | "path": [ 389 | "redfish", 390 | "v1", 391 | "Systems", 392 | "1", 393 | "Bios", 394 | "Settings", 395 | "Actions", 396 | "Bios.ResetBios" 397 | ] 398 | }, 399 | "description": "TBD" 400 | }, 401 | "response": [] 402 | }, 403 | { 404 | "name": "Gen10: Save User Defaults", 405 | "event": [ 406 | { 407 | "listen": "test", 408 | "script": { 409 | "exec": [ 410 | "" 411 | ], 412 | "type": "text/javascript" 413 | } 414 | } 415 | ], 416 | "request": { 417 | "auth": { 418 | "type": "noauth" 419 | }, 420 | "method": "PATCH", 421 | "header": [ 422 | { 423 | "key": "OData-Version", 424 | "value": "4.0", 425 | "disabled": true 426 | }, 427 | { 428 | "key": "Content-Type", 429 | "value": "application/json" 430 | }, 431 | { 432 | "key": "X-Auth-Token", 433 | "value": "{{Token}}" 434 | } 435 | ], 436 | "body": { 437 | "mode": "raw", 438 | "raw": "{\n\t\"Attributes\": {\n\t\t\"SaveUserDefaults\": \"Yes\"\n\t}\n}" 439 | }, 440 | "url": { 441 | "raw": "{{iloURI}}/redfish/v1/Systems/1/Bios/Settings/", 442 | "host": [ 443 | "{{iloURI}}" 444 | ], 445 | "path": [ 446 | "redfish", 447 | "v1", 448 | "Systems", 449 | "1", 450 | "Bios", 451 | "Settings", 452 | "" 453 | ] 454 | } 455 | }, 456 | "response": [] 457 | }, 458 | { 459 | "name": "Gen9: Change Bios Admin params", 460 | "event": [ 461 | { 462 | "listen": "test", 463 | "script": { 464 | "exec": [ 465 | "" 466 | ], 467 | "type": "text/javascript" 468 | } 469 | } 470 | ], 471 | "request": { 472 | "auth": { 473 | "type": "noauth" 474 | }, 475 | "method": "PATCH", 476 | "header": [ 477 | { 478 | "key": "OData-Version", 479 | "value": "4.0", 480 | "disabled": true 481 | }, 482 | { 483 | "key": "Content-Type", 484 | "value": "application/json" 485 | }, 486 | { 487 | "key": "X-Auth-Token", 488 | "value": "{{Token}}" 489 | } 490 | ], 491 | "body": { 492 | "mode": "raw", 493 | "raw": "{\n\t\t\"AdminName\": \"Toto Content\",\n\t\t\"AdminEmail\": \"toto.content@koulapic.com\",\n\t\t\"AdminPhone\": \"+330678901234\"\n}" 494 | }, 495 | "url": { 496 | "raw": "{{iloURI}}/redfish/v1/Systems/1/Bios/Settings/", 497 | "host": [ 498 | "{{iloURI}}" 499 | ], 500 | "path": [ 501 | "redfish", 502 | "v1", 503 | "Systems", 504 | "1", 505 | "Bios", 506 | "Settings", 507 | "" 508 | ] 509 | } 510 | }, 511 | "response": [] 512 | }, 513 | { 514 | "name": "Swap ROM", 515 | "event": [ 516 | { 517 | "listen": "test", 518 | "script": { 519 | "exec": [ 520 | "" 521 | ], 522 | "type": "text/javascript" 523 | } 524 | } 525 | ], 526 | "request": { 527 | "auth": { 528 | "type": "noauth" 529 | }, 530 | "method": "PATCH", 531 | "header": [ 532 | { 533 | "key": "OData-Version", 534 | "value": "4.0", 535 | "disabled": true 536 | }, 537 | { 538 | "key": "Content-Type", 539 | "value": "application/json" 540 | }, 541 | { 542 | "key": "X-Auth-Token", 543 | "value": "{{Token}}" 544 | } 545 | ], 546 | "body": { 547 | "mode": "raw", 548 | "raw": "{\n\t\"Attributes\": {\n\t\t\"RomSelection\": \"BackupRom\"\n\t}\n}" 549 | }, 550 | "url": { 551 | "raw": "{{iloURI}}/redfish/v1/Systems/1/Bios/Settings/", 552 | "host": [ 553 | "{{iloURI}}" 554 | ], 555 | "path": [ 556 | "redfish", 557 | "v1", 558 | "Systems", 559 | "1", 560 | "Bios", 561 | "Settings", 562 | "" 563 | ] 564 | } 565 | }, 566 | "response": [] 567 | }, 568 | { 569 | "name": "Get Bios Pending Settings", 570 | "request": { 571 | "method": "GET", 572 | "header": [ 573 | { 574 | "key": "OData-Version", 575 | "value": "4.0" 576 | }, 577 | { 578 | "key": "Content-Type", 579 | "value": "application/json" 580 | }, 581 | { 582 | "key": "X-Auth-Token", 583 | "value": "{{Token}}" 584 | } 585 | ], 586 | "url": { 587 | "raw": "{{iloURI}}/redfish/v1/systems/1/bios/Settings/", 588 | "host": [ 589 | "{{iloURI}}" 590 | ], 591 | "path": [ 592 | "redfish", 593 | "v1", 594 | "systems", 595 | "1", 596 | "bios", 597 | "Settings", 598 | "" 599 | ] 600 | }, 601 | "description": "Retrieve Bios settings to be loaded at next reboot if different from the current settings." 602 | }, 603 | "response": [] 604 | }, 605 | { 606 | "name": "Get Bios BaseConfigs", 607 | "request": { 608 | "method": "GET", 609 | "header": [ 610 | { 611 | "key": "OData-Version", 612 | "value": "4.0" 613 | }, 614 | { 615 | "key": "Content-Type", 616 | "value": "application/json" 617 | }, 618 | { 619 | "key": "X-Auth-Token", 620 | "value": "{{Token}}" 621 | } 622 | ], 623 | "url": { 624 | "raw": "{{iloURI}}/redfish/v1/systems/1/bios/BaseConfigs/", 625 | "host": [ 626 | "{{iloURI}}" 627 | ], 628 | "path": [ 629 | "redfish", 630 | "v1", 631 | "systems", 632 | "1", 633 | "bios", 634 | "BaseConfigs", 635 | "" 636 | ] 637 | }, 638 | "description": "Retrieve Bios settings to be restored if desired. This Base Configuration is also called Bios Default settings in the documentation." 639 | }, 640 | "response": [] 641 | }, 642 | { 643 | "name": "Gen10: Change Memory Protection", 644 | "event": [ 645 | { 646 | "listen": "test", 647 | "script": { 648 | "exec": [ 649 | "" 650 | ], 651 | "type": "text/javascript" 652 | } 653 | } 654 | ], 655 | "request": { 656 | "auth": { 657 | "type": "noauth" 658 | }, 659 | "method": "PATCH", 660 | "header": [ 661 | { 662 | "key": "OData-Version", 663 | "value": "4.0", 664 | "disabled": true 665 | }, 666 | { 667 | "key": "Content-Type", 668 | "value": "application/json" 669 | }, 670 | { 671 | "key": "X-Auth-Token", 672 | "value": "{{Token}}" 673 | } 674 | ], 675 | "body": { 676 | "mode": "raw", 677 | "raw": "{\n\t\"Attributes\": {\n\t\t\"AdvancedMemProtection\": \"AdvancedEcc\"\n\t\t\n\t}\n}" 678 | }, 679 | "url": { 680 | "raw": "{{iloURI}}/redfish/v1/Systems/1/Bios/Settings/", 681 | "host": [ 682 | "{{iloURI}}" 683 | ], 684 | "path": [ 685 | "redfish", 686 | "v1", 687 | "Systems", 688 | "1", 689 | "Bios", 690 | "Settings", 691 | "" 692 | ] 693 | }, 694 | "description": "Values: FastFaultTolerantADDDC\n AdvancedEcc\n OnlineSpareAdvancedEcc\n MirroredAdvancedEcc" 695 | }, 696 | "response": [] 697 | }, 698 | { 699 | "name": "Gen10: Change Admin BIOS passwd", 700 | "event": [ 701 | { 702 | "listen": "test", 703 | "script": { 704 | "exec": [ 705 | "" 706 | ], 707 | "type": "text/javascript" 708 | } 709 | } 710 | ], 711 | "request": { 712 | "auth": { 713 | "type": "noauth" 714 | }, 715 | "method": "POST", 716 | "header": [ 717 | { 718 | "key": "OData-Version", 719 | "value": "4.0", 720 | "disabled": true 721 | }, 722 | { 723 | "key": "Content-Type", 724 | "value": "application/json" 725 | }, 726 | { 727 | "key": "X-Auth-Token", 728 | "value": "{{Token}}" 729 | } 730 | ], 731 | "body": { 732 | "mode": "raw", 733 | "raw": "{\n \"PasswordName\": \"Administrator\",\n \"NewPassword\": \"donze2020\",\n \"OldPassword\": \"\"\n}" 734 | }, 735 | "url": { 736 | "raw": "{{iloURI}}/redfish/v1/systems/1/bios/settings/Actions/Bios.ChangePasswords/", 737 | "host": [ 738 | "{{iloURI}}" 739 | ], 740 | "path": [ 741 | "redfish", 742 | "v1", 743 | "systems", 744 | "1", 745 | "bios", 746 | "settings", 747 | "Actions", 748 | "Bios.ChangePasswords", 749 | "" 750 | ] 751 | } 752 | }, 753 | "response": [] 754 | }, 755 | { 756 | "name": "Gen10: Change Thermal Config", 757 | "event": [ 758 | { 759 | "listen": "test", 760 | "script": { 761 | "exec": [ 762 | "" 763 | ], 764 | "type": "text/javascript" 765 | } 766 | } 767 | ], 768 | "request": { 769 | "auth": { 770 | "type": "noauth" 771 | }, 772 | "method": "PATCH", 773 | "header": [ 774 | { 775 | "key": "OData-Version", 776 | "value": "4.0", 777 | "disabled": true 778 | }, 779 | { 780 | "key": "Content-Type", 781 | "value": "application/json" 782 | }, 783 | { 784 | "key": "X-Auth-Token", 785 | "value": "{{Token}}" 786 | } 787 | ], 788 | "body": { 789 | "mode": "raw", 790 | "raw": "{\n\t\"Attributes\": {\n\t\t\"ThermalConfig\": \"OptimalCooling\"\n\t}\n}" 791 | }, 792 | "url": { 793 | "raw": "{{iloURI}}/redfish/v1/Systems/1/Bios/Settings/", 794 | "host": [ 795 | "{{iloURI}}" 796 | ], 797 | "path": [ 798 | "redfish", 799 | "v1", 800 | "Systems", 801 | "1", 802 | "Bios", 803 | "Settings", 804 | "" 805 | ] 806 | } 807 | }, 808 | "response": [] 809 | }, 810 | { 811 | "name": "Current Adv Attrib", 812 | "event": [ 813 | { 814 | "listen": "test", 815 | "script": { 816 | "exec": [ 817 | "" 818 | ], 819 | "type": "text/javascript" 820 | } 821 | } 822 | ], 823 | "protocolProfileBehavior": { 824 | "disableBodyPruning": true 825 | }, 826 | "request": { 827 | "auth": { 828 | "type": "noauth" 829 | }, 830 | "method": "GET", 831 | "header": [ 832 | { 833 | "key": "OData-Version", 834 | "value": "4.0", 835 | "disabled": true 836 | }, 837 | { 838 | "key": "Content-Type", 839 | "value": "application/json" 840 | }, 841 | { 842 | "key": "X-Auth-Token", 843 | "value": "{{Token}}" 844 | } 845 | ], 846 | "body": { 847 | "mode": "raw", 848 | "raw": "" 849 | }, 850 | "url": { 851 | "raw": "{{iloURI}}/redfish/v1/systems/1/bios/service", 852 | "host": [ 853 | "{{iloURI}}" 854 | ], 855 | "path": [ 856 | "redfish", 857 | "v1", 858 | "systems", 859 | "1", 860 | "bios", 861 | "service" 862 | ] 863 | }, 864 | "description": "RBSU + Ctrl-A to see those Advanced parameters." 865 | }, 866 | "response": [] 867 | }, 868 | { 869 | "name": "Pending Adv Attrib Copy", 870 | "event": [ 871 | { 872 | "listen": "test", 873 | "script": { 874 | "exec": [ 875 | "" 876 | ], 877 | "type": "text/javascript" 878 | } 879 | } 880 | ], 881 | "protocolProfileBehavior": { 882 | "disableBodyPruning": true 883 | }, 884 | "request": { 885 | "auth": { 886 | "type": "noauth" 887 | }, 888 | "method": "GET", 889 | "header": [ 890 | { 891 | "key": "OData-Version", 892 | "value": "4.0", 893 | "disabled": true 894 | }, 895 | { 896 | "key": "Content-Type", 897 | "value": "application/json" 898 | }, 899 | { 900 | "key": "X-Auth-Token", 901 | "value": "{{Token}}" 902 | } 903 | ], 904 | "body": { 905 | "mode": "raw", 906 | "raw": "" 907 | }, 908 | "url": { 909 | "raw": "{{iloURI}}/redfish/v1/systems/1/bios/service", 910 | "host": [ 911 | "{{iloURI}}" 912 | ], 913 | "path": [ 914 | "redfish", 915 | "v1", 916 | "systems", 917 | "1", 918 | "bios", 919 | "service" 920 | ] 921 | }, 922 | "description": "RBSU + Ctrl-A to see those Advanced parameters." 923 | }, 924 | "response": [] 925 | } 926 | ], 927 | "event": [ 928 | { 929 | "listen": "prerequest", 930 | "script": { 931 | "type": "text/javascript", 932 | "exec": [ 933 | "" 934 | ] 935 | } 936 | }, 937 | { 938 | "listen": "test", 939 | "script": { 940 | "type": "text/javascript", 941 | "exec": [ 942 | "" 943 | ] 944 | } 945 | } 946 | ] 947 | } --------------------------------------------------------------------------------