A500 A2 OM-Redfish接口.postman_collection.json

{
	"info": {
		"_postman_id": "384943a8-4716-4333-b866-f0b1530449f5",
		"name": "A500 A2 OM-Redfish接口",
		"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
	},
	"item": [
		{
			"name": "2.1 Common",
			"item": [
				{
					"name": "2.1.1 查询Redfish版本信息",
					"protocolProfileBehavior": {
						"disableBodyPruning": true
					},
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							},
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": "{{redfish_url}}/redfish"
					},
					"response": []
				},
				{
					"name": "2.1.2 查询当前根目录服务资源",
					"protocolProfileBehavior": {
						"disableBodyPruning": true
					},
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							},
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": "{{redfish_url}}"
					},
					"response": []
				},
				{
					"name": "2.1.3 查询Metadata文档",
					"protocolProfileBehavior": {
						"disableBodyPruning": true
					},
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							},
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": "{{redfish_url}}/$metadata"
					},
					"response": []
				},
				{
					"name": "2.1.4 查询所有资源的Schema文件",
					"protocolProfileBehavior": {
						"disableBodyPruning": true
					},
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							},
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": "{{redfish_url}}/JSONSchemas"
					},
					"response": []
				},
				{
					"name": "2.1.5 查询单个文件Schema文件的归档地址",
					"protocolProfileBehavior": {
						"disableBodyPruning": true
					},
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							},
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": "{{redfish_url}}/JSONSchemas/1"
					},
					"response": []
				},
				{
					"name": "2.1.6 查询OData服务文档",
					"protocolProfileBehavior": {
						"disableBodyPruning": true
					},
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							},
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": "{{redfish_url}}/odata"
					},
					"response": []
				}
			]
		},
		{
			"name": "2.2 AccountService",
			"item": [
				{
					"name": "2.2.1 查询指定用户资源信息",
					"protocolProfileBehavior": {
						"disableBodyPruning": true
					},
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							},
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": "{{redfish_url}}/AccountService/Accounts/1"
					},
					"response": []
				},
				{
					"name": "2.2.2 修改指定用户信息",
					"request": {
						"method": "PATCH",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							},
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{   \r\n    \"UserName\": \"admin\",\r\n    \"old_password\": \"Edge@12#$\",\r\n    \"Password\": \"Atlas12#$\",\r\n    \"new_password_second\": \"Atlas12#$\"\r\n}\r\n",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": "{{redfish_url}}/AccountService/Accounts/1"
					},
					"response": []
				},
				{
					"name": "2.2.3 查询用户资源集合信息",
					"event": [
						{
							"listen": "test",
							"script": {
								"exec": [
									"pm.test(\"status equle 200\", function () {\r",
									"    var jsonData = pm.response.json();\r",
									"    pm.expect(jsonData.status).to.eql(200);\r",
									"});\r",
									""
								],
								"type": "text/javascript"
							}
						}
					],
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							}
						],
						"url": "{{redfish_url}}/AccountService/Accounts"
					},
					"response": []
				},
				{
					"name": "2.2.4 查询用户服务信息",
					"event": [
						{
							"listen": "test",
							"script": {
								"exec": [
									"pm.test(\"status equle 200\", function () {\r",
									"    var jsonData = pm.response.json();\r",
									"    pm.expect(jsonData.status).to.eql(200);\r",
									"});\r",
									""
								],
								"type": "text/javascript"
							}
						}
					],
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							}
						],
						"url": "{{redfish_url}}/AccountService"
					},
					"response": []
				},
				{
					"name": "2.2.5 修改用户服务信息",
					"event": [
						{
							"listen": "test",
							"script": {
								"exec": [
									"pm.test(\"status equle 200\", function () {\r",
									"    var jsonData = pm.response.json();\r",
									"    pm.expect(jsonData.status).to.eql(200);\r",
									"});\r",
									""
								],
								"type": "text/javascript"
							}
						}
					],
					"request": {
						"method": "PATCH",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"DefaultExpirationDays\": 2,\r\n    \"Password\": \"Huawei12#$\"\r\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": "{{redfish_url}}/AccountService"
					},
					"response": []
				}
			]
		},
		{
			"name": "2.3 SessionService",
			"item": [
				{
					"name": "2.3.1 查询会话服务信息",
					"event": [
						{
							"listen": "test",
							"script": {
								"exec": [
									"pm.test(\"status equle equals\", function () {\r",
									"    var jsonData = pm.response.json();\r",
									"    pm.expect(jsonData.status).to.eql(200);\r",
									"});"
								],
								"type": "text/javascript"
							}
						}
					],
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							}
						],
						"url": "{{redfish_url}}/SessionService"
					},
					"response": []
				},
				{
					"name": "2.3.2 修改会话服务信息",
					"request": {
						"method": "PATCH",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							},
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{ \r\n    \"SessionTimeout\":100, \r\n    \"Password\":\"Atlas12#$\" \r\n}\r\n",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": "{{redfish_url}}/SessionService"
					},
					"response": []
				},
				{
					"name": "2.3.3 创建会话",
					"event": [
						{
							"listen": "test",
							"script": {
								"exec": [
									"pm.test(\"获取响应头部token\", function () {\r",
									"    var access_token = postman.getResponseHeader(\"X-Auth-Token\");\r",
									"    pm.collectionVariables.set(\"token\", access_token);\r",
									"    // pm.environment.set(\"token\", access_token);\r",
									"    console.log(\"Token is \" + access_token);\r",
									"});\r",
									"\r",
									""
								],
								"type": "text/javascript"
							}
						}
					],
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "X-Real-Ip",
								"value": "",
								"type": "default",
								"disabled": true
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"UserName\": \"admin\",\r\n    \"Password\": \"Atlas12#$\"\r\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": "{{redfish_url}}/SessionService/Sessions"
					},
					"response": []
				},
				{
					"name": "2.3.4 删除指定会话",
					"request": {
						"method": "DELETE",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							}
						],
						"url": "{{redfish_url}}/SessionService/Sessions/a4a4240b67cad79e8d29dcd18448ded079668bc84f7e1819"
					},
					"response": []
				}
			]
		},
		{
			"name": "2.4 UpdateService",
			"item": [
				{
					"name": "2.4.1 查询升级资源集合",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							},
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{redfish_url}}/UpdateService",
							"host": [
								"{{redfish_url}}"
							],
							"path": [
								"UpdateService"
							],
							"query": [
								{
									"key": "a",
									"value": "1",
									"disabled": true
								},
								{
									"key": "b",
									"value": "2",
									"disabled": true
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "2.4.2 升级固件",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							},
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{     \r\n  \"ImageURI\": \"Ascend-mindxedge-om_3.0.0_linux-aarch64.zip\",    \r\n  \"TransferProtocol\":\"https\" \r\n}\r\n",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{redfish_url}}/UpdateService/Actions/UpdateService.SimpleUpdate",
							"host": [
								"{{redfish_url}}"
							],
							"path": [
								"UpdateService",
								"Actions",
								"UpdateService.SimpleUpdate"
							],
							"query": [
								{
									"key": "",
									"value": "",
									"disabled": true
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "2.4.3 查询固件升级状态信息",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							},
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{redfish_url}}/UpdateService/Actions/UpdateService.SimpleUpdate",
							"host": [
								"{{redfish_url}}"
							],
							"path": [
								"UpdateService",
								"Actions",
								"UpdateService.SimpleUpdate"
							],
							"query": [
								{
									"key": "a",
									"value": "1",
									"disabled": true
								},
								{
									"key": "b",
									"value": "2",
									"disabled": true
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "2.4.4 文件上传",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							}
						],
						"body": {
							"mode": "formdata",
							"formdata": [
								{
									"key": "imgfile",
									"type": "file",
									"src": "/D:/MindXOM_A2/自验证包/A200 A2/weak_dict.conf"
								}
							]
						},
						"url": "{{redfish_url}}/UpdateService/FirmwareInventory"
					},
					"response": []
				},
				{
					"name": "2.4.5 升级文件生效",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"ResetType\": \"GracefulRestart\"\r\n}"
						},
						"url": "{{redfish_url}}/UpdateService/Actions/UpdateService.Reset"
					},
					"response": []
				}
			]
		},
		{
			"name": "2.5 UpdateHddService",
			"item": [
				{
					"name": "2.5.1 查询硬盘资源集合",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							},
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": "{{redfish_url}}/UpdateHddService"
					},
					"response": []
				},
				{
					"name": "2.5.2 查询硬盘详细信息资源集合",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							},
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": "{{redfish_url}}/UpdateHddService/HddInfo"
					},
					"response": []
				},
				{
					"name": "2.5.3 查询指定硬盘资源信息",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							},
							{
								"key": "Content-Length",
								"value": "1000001",
								"type": "text",
								"disabled": true
							}
						],
						"url": "{{redfish_url}}/UpdateHddService/HddInfo/1"
					},
					"response": []
				},
				{
					"name": "2.5.4 上传硬盘固件文件",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							},
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{ \r\n    \"HddNo\":2, \r\n    \"imgfile\":\"TomcatR_SATA_FSCJ.txt\" \r\n}\r\n"
						},
						"url": "{{redfish_url}}/UpdateHddService/FirmwareInventory"
					},
					"response": []
				},
				{
					"name": "2.5.5 升级硬盘固件",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							},
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{ \r\n    \"HddNo\":2, \r\n    \"imgfile\":\"TomcatR_SATA_FSCJ.txt\" \r\n}\r\n"
						},
						"url": "{{redfish_url}}/UpdateHddService/Actions/UpdateHddService.SimpleUpdate"
					},
					"response": []
				},
				{
					"name": "2.5.6 查询硬盘固件升级状态信息集合",
					"protocolProfileBehavior": {
						"disableBodyPruning": true
					},
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							},
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{  \r\n\"HddNo\":1\r\n}\r\n"
						},
						"url": "{{redfish_url}}/UpdateHddService/UpdateHddInfo"
					},
					"response": []
				},
				{
					"name": "2.5.7 查询指定硬盘固件升级状态信息",
					"protocolProfileBehavior": {
						"disableBodyPruning": true
					},
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							},
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{  \r\n\"HddNo\":1\r\n}\r\n"
						},
						"url": "{{redfish_url}}/UpdateHddService/UpdateHddInfo/1"
					},
					"response": []
				},
				{
					"name": "2.5.8 查询硬盘固件升级记录",
					"protocolProfileBehavior": {
						"disableBodyPruning": true
					},
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							},
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": ""
						},
						"url": "{{redfish_url}}/UpdateHddService/upgradeRecord"
					},
					"response": []
				},
				{
					"name": "2.5.9  查询硬盘固件是否待生效",
					"protocolProfileBehavior": {
						"disableBodyPruning": true
					},
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							},
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": ""
						},
						"url": "{{redfish_url}}/UpdateHddService/upgradeFlag"
					},
					"response": []
				}
			]
		},
		{
			"name": "2.6 System",
			"item": [
				{
					"name": "2.6.1 查询系统资源信息",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							}
						],
						"url": "{{redfish_url}}/Systems"
					},
					"response": []
				},
				{
					"name": "2.6.2 修改系统资源属性",
					"request": {
						"method": "PATCH",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							},
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"DateTime\": \"2023-03-09 20:01:00\"\r\n}\r\n\r\n"
						},
						"url": "{{redfish_url}}/Systems"
					},
					"response": []
				},
				{
					"name": "2.63 查询系统时间",
					"event": [
						{
							"listen": "test",
							"script": {
								"exec": [
									"pm.test(\"Body matches Datetime\", function () {\r",
									"    pm.expect(pm.response.text()).to.include(\"Datetime\");\r",
									"});"
								],
								"type": "text/javascript"
							}
						}
					],
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							}
						],
						"url": "{{redfish_url}}/Systems/SystemTime"
					},
					"response": []
				},
				{
					"name": "2.6.4 复位系统操作",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							},
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"ResetType\": \"ForceRestart\"\r\n}"
						},
						"url": "{{redfish_url}}/Systems/Actions/ComputerSystem.Reset"
					},
					"response": []
				},
				{
					"name": "2.6.5 查询处理器资源集合信息",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							}
						],
						"url": "{{redfish_url}}/Systems/Processors"
					},
					"response": []
				},
				{
					"name": "2.6.6 查询CPU概要信息",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							}
						],
						"url": "{{redfish_url}}/Systems/Processors/CPU"
					},
					"response": []
				},
				{
					"name": "2.6.7 查询AI处理器资源信息",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							}
						],
						"url": "{{redfish_url}}/Systems/Processors/AiProcessor"
					},
					"response": []
				},
				{
					"name": "2.6.8 查询内存概要信息",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							}
						],
						"url": "{{redfish_url}}/Systems/Memory"
					},
					"response": []
				},
				{
					"name": "2.6.9 查询 NTP 服务信息",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							}
						],
						"url": "{{redfish_url}}/Systems/NTPService"
					},
					"response": []
				},
				{
					"name": "2.6.10 配置NTP服务信息",
					"request": {
						"method": "PATCH",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							},
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"ClientEnabled\":true,\r\n    \"NTPLocalServers\":\"\",\r\n    \"NTPRemoteServers\":\"192.168.2.10\",\r\n    \"NTPRemoteServersbak\":\"\",\r\n    \"ServerEnabled\":false,\r\n    \"Target\":\"Client\"\r\n}\r\n\r\n"
						},
						"url": "{{redfish_url}}/EdgeSystem/NTPService"
					},
					"response": []
				},
				{
					"name": "2.6.11 查询外部设备集合信息",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							}
						],
						"url": "{{redfish_url}}/Systems/ExtendedDevices"
					},
					"response": []
				},
				{
					"name": "2.6.12 查询外部设备资源信息",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							}
						],
						"url": "{{redfish_url}}/Systems/ExtendedDevices/1"
					},
					"response": []
				},
				{
					"name": "2.6.13 查询LTE资源信息",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							}
						],
						"url": "{{redfish_url}}/Systems/LTE"
					},
					"response": []
				},
				{
					"name": "2.6.14 查询LTE接口状态资源信息",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							}
						],
						"url": "{{redfish_url}}/Systems/LTE/StatusInfo"
					},
					"response": []
				},
				{
					"name": "2.6.15 配置LTE状态资源信息",
					"request": {
						"method": "PATCH",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							},
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\r\n  \"state_lte\": false,\r\n  \"state_data\": false\r\n} "
						},
						"url": "{{redfish_url}}/Systems/LTE/StatusInfo"
					},
					"response": []
				},
				{
					"name": "2.6.16 查询LTE APN接口资源信息",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							}
						],
						"url": "{{redfish_url}}/Systems/LTE/ConfigInfo"
					},
					"response": []
				},
				{
					"name": "2.6.17 配置LTE APN接口资源信息",
					"request": {
						"method": "PATCH",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							},
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"apn_name\": \"apnname\",\r\n    \"apn_user\": \"apnuser\",\r\n    \"apn_passwd\": \"apnpasswd\",\r\n    \"auth_type\": \"1\"\r\n}"
						},
						"url": "{{redfish_url}}/Systems/LTE/ConfigInfo"
					},
					"response": []
				},
				{
					"name": "2.6.18 查询以太网接口集合信息",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							}
						],
						"url": "{{redfish_url}}/Systems/EthernetInterfaces"
					},
					"response": []
				},
				{
					"name": "2.6.19 查询以太网接口资源信息",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							}
						],
						"url": "{{redfish_url}}/Systems/EthernetInterfaces/GMAC1"
					},
					"response": []
				},
				{
					"name": "2.6.20 修改以太网接口资源信息",
					"request": {
						"method": "PATCH",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							},
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\r\n\"IPv4Addresses\":[\r\n    {\r\n        \"Address\":\"192.168.2.111\",\r\n        \"SubnetMask\":\"255.255.224.0\",\r\n        \"AddressOrigin\":\"Static\",\r\n        \"Gateway\":\"192.168.1.0\",\r\n        \"VlanId\":null,\r\n        \"Tag\":\"test\",\r\n        \"ConnectTest\": false,\r\n        \"RemoteTestIp\": \"\"\r\n    }\r\n   ]\r\n}"
						},
						"url": "{{redfish_url}}/Systems/EthernetInterfaces/GMAC1"
					},
					"response": []
				},
				{
					"name": "2.6.21 查询简单存储集合信息",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							}
						],
						"url": "{{redfish_url}}/Systems/SimpleStorages"
					},
					"response": []
				},
				{
					"name": "2.6.22 查询简单存储资源信息",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							}
						],
						"url": "{{redfish_url}}/Systems/SimpleStorages/1"
					},
					"response": []
				},
				{
					"name": "2.6.23 查询磁盘分区集合信息",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							}
						],
						"url": "{{redfish_url}}/Systems/Partitions"
					},
					"response": []
				},
				{
					"name": "2.6.24 查询磁盘分区资源信息",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							}
						],
						"url": "{{redfish_url}}/Systems/Partitions/mmcblk1p3"
					},
					"response": []
				},
				{
					"name": "2.6.25 创建磁盘分区",
					"event": [
						{
							"listen": "test",
							"script": {
								"exec": [
									""
								],
								"type": "text/javascript"
							}
						}
					],
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							},
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\r\n  \"Number\": 2,\r\n  \"CapacityBytes\": 10,\r\n  \"Links\": [\r\n{\r\n  \"Device\": {\r\n      \"@odata.id\": \"/dev/mmcblk0\"\r\n  }\r\n}\r\n  ],\r\n  \"FileSystem\": \"ext4\"\r\n}\r\n"
						},
						"url": "{{redfish_url}}/Systems/Partitions"
					},
					"response": []
				},
				{
					"name": "2.6.26 删除磁盘分区",
					"request": {
						"method": "DELETE",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": ""
						},
						"url": "{{redfish_url}}/Systems/Partitions/mmcblk0p123"
					},
					"response": []
				},
				{
					"name": "2.6.27 挂载磁盘分区",
					"request": {
						"method": "PATCH",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							},
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"MountPath\": \"/opt\",\r\n    \"PartitionID\": \"1\"\r\n}\r\n\r\n\r\n"
						},
						"url": "{{redfish_url}}/Systems/Partitions/Mount"
					},
					"response": []
				},
				{
					"name": "2.6.28 解挂磁盘分区",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"ServerIP\": \"51.38.66.252\",\r\n    \"ServerDir\": \"/mnt/nfs_server_root/Atlas500_test_\",\r\n    \"FileSystem\": \"nfs4\",\r\n    \"MountPath\": \"/home/nfs\"\r\n}"
						},
						"url": "{{redfish_url}}/Systems/NfsManage/Actions/NfsManage.Unmount"
					},
					"response": []
				},
				{
					"name": "2.6.29 查询NFS分区信息",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							}
						],
						"url": "{{redfish_url}}/Systems/NfsManage"
					},
					"response": []
				},
				{
					"name": "2.6.30 挂载NFS分区",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							},
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"ServerIP\": \"51.38.66.252\",\r\n    \"ServerDir\": \"/mnt/nfs_server_root/Atlas500_test_\",\r\n    \"FileSystem\": \"nfs4\",\r\n    \"MountPath\": \"/home/nfs\"\r\n}"
						},
						"url": "{{redfish_url}}/Systems/NfsManage/Actions/NfsManage.Mount"
					},
					"response": []
				},
				{
					"name": "2.6.31 解挂NFS分区",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							},
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"ServerIP\": serverIp,\r\n    \"ServerDir\": serverPath,\r\n    \"FileSystem\": version,\r\n    \"MountPath\": mountPath\r\n}"
						},
						"url": "{{redfish_url}}/Systems/NfsManage/Actions/NfsManage.Mount"
					},
					"response": []
				},
				{
					"name": "2.6.32 查询日志服务集合资源信息",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							}
						],
						"url": "{{redfish_url}}/Systems/LogServices"
					},
					"response": []
				},
				{
					"name": "2.6.33 下载日志信息",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							},
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{ \r\n\"name\":\"iBMAEdge\"\r\n}\r\n"
						},
						"url": "{{redfish_url}}/Systems/LogServices/Actions/download"
					},
					"response": []
				},
				{
					"name": "2.6.34 日志下载进度信息",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							}
						],
						"url": "{{redfish_url}}/Systems/LogServices/progress"
					},
					"response": []
				},
				{
					"name": "2.6.35 查询告警资源信息",
					"event": [
						{
							"listen": "test",
							"script": {
								"exec": [
									"pm.test(\"Body matches AlarMessages\", function () {\r",
									"    pm.expect(pm.response.text()).to.include(\"AlarMessages\");\r",
									"});"
								],
								"type": "text/javascript"
							}
						}
					],
					"protocolProfileBehavior": {
						"disableBodyPruning": true
					},
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							}
						],
						"body": {
							"mode": "file",
							"file": {}
						},
						"url": "{{redfish_url}}/Systems/Alarm"
					},
					"response": []
				},
				{
					"name": "2.6.36 查询告警资源服务",
					"event": [
						{
							"listen": "test",
							"script": {
								"exec": [
									"pm.test(\"Body matches AlarMessages\", function () {\r",
									"    pm.expect(pm.response.text()).to.include(\"AlarMessages\");\r",
									"});"
								],
								"type": "text/javascript"
							}
						}
					],
					"protocolProfileBehavior": {
						"disableBodyPruning": true
					},
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							}
						],
						"body": {
							"mode": "file",
							"file": {}
						},
						"url": "{{redfish_url}}/Systems/Alarm/AlarmInfo"
					},
					"response": []
				},
				{
					"name": "2.6.37 查询告警屏蔽规则",
					"event": [
						{
							"listen": "test",
							"script": {
								"exec": [
									"pm.test(\"Body matches AlarmShieldMessages\", function () {\r",
									"    pm.expect(pm.response.text()).to.include(\"AlarmShieldMessages\");\r",
									"});"
								],
								"type": "text/javascript"
							}
						}
					],
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							}
						],
						"url": "{{redfish_url}}/Systems/Alarm/AlarmShield"
					},
					"response": []
				},
				{
					"name": "2.6.38 创建告警屏蔽规则",
					"event": [
						{
							"listen": "test",
							"script": {
								"exec": [
									"pm.test(\"Body matches AlarmShieldMessages\", function () {\r",
									"    pm.expect(pm.response.text()).to.include(\"AlarmShieldMessages\");\r",
									"});"
								],
								"type": "text/javascript"
							}
						}
					],
					"request": {
						"method": "PATCH",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"AlarmShieldMessages\": [\r\n        {\r\n            \"UniquelyIdentifies\": \"a000000001\",\r\n            \"AlarmId\": \"00000001\",\r\n            \"PerceivedSeverity\": \"2\",\r\n            \"AlarmInstance\": \"M.2\"\r\n        }\r\n    ]}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": "{{redfish_url}}/Systems/Alarm/AlarmShield/Increase"
					},
					"response": []
				},
				{
					"name": "2.6.39 取消告警屏蔽规则",
					"event": [
						{
							"listen": "test",
							"script": {
								"exec": [
									"pm.test(\"Body matches AlarmShieldMessages\", function () {\r",
									"    pm.expect(pm.response.text()).to.include(\"AlarmShieldMessages\");\r",
									"});"
								],
								"type": "text/javascript"
							}
						}
					],
					"request": {
						"method": "PATCH",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"AlarmShieldMessages\": [\r\n        {\r\n            \"UniquelyIdentifies\": \"a000000001\",\r\n            \"AlarmId\": \"00000001\",\r\n            \"PerceivedSeverity\": \"2\",\r\n            \"AlarmInstance\": \"M.2\"\r\n        }\r\n    ]\r\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": "{{redfish_url}}/Systems/Alarm/AlarmShield/Increase"
					},
					"response": []
				},
				{
					"name": "2.6.40 查询安全服务资源信息",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							}
						],
						"url": "{{redfish_url}}/Systems/SecurityService"
					},
					"response": []
				},
				{
					"name": "2.6.41 查询SSL证书资源信息",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							}
						],
						"url": "{{redfish_url}}/Systems/SecurityService/HttpsCert"
					},
					"response": []
				},
				{
					"name": "2.6.42 导入服务器证书",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							},
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "formdata",
							"formdata": [
								{
									"key": "FileName",
									"type": "file",
									"src": []
								}
							]
						},
						"url": "{{redfish_url}}/Systems/SecurityService/HttpsCert/Actions/HttpsCert.ImportServerCertificate"
					},
					"response": []
				},
				{
					"name": "2.6.43 导入弱字典",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							},
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"FileName\": \"weak_dict.conf\",\r\n    \"Password\": \"Atlas12#$\"\r\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": "{{redfish_url}}/Systems/SecurityService/Actions/SecurityService.PunyDictImport"
					},
					"response": []
				},
				{
					"name": "2.6.44 导出弱字典",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							},
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": "{{redfish_url}}/Systems/SecurityService/Actions/SecurityService.PunyDictExport"
					},
					"response": []
				},
				{
					"name": "2.6.45 删除弱字典",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							},
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"Password\": \"Atlas12#$\"\r\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": "{{redfish_url}}/Systems/SecurityService/Actions/SecurityService.PunyDictDelete"
					},
					"response": []
				},
				{
					"name": "2.6.46 查询登录规则信息",
					"event": [
						{
							"listen": "test",
							"script": {
								"exec": [
									"pm.test(\"Body matches Datetime\", function () {\r",
									"    pm.expect(pm.response.text()).to.include(\"Datetime\");\r",
									"});"
								],
								"type": "text/javascript"
							}
						}
					],
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							}
						],
						"url": "{{redfish_url}}/Systems/SecurityService/SecurityLoad"
					},
					"response": []
				},
				{
					"name": "2.6.47 配置登录规则信息",
					"request": {
						"method": "PATCH",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							},
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"Password\":\"xxx\",\r\n    \"load_cfg\":[{\r\n        \"enable\": \"true\",\r\n        \"start_time\": \"00:00\",\r\n        \"end_time\": \"23:59\",\r\n        \"ip_addr\": null,\r\n        \"mac_addr\": null\r\n    }]}\r\n",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": "{{redfish_url}}/Systems/SecurityService/SecurityLoad"
					},
					"response": []
				},
				{
					"name": "2.6.48 导入登录规则信息",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							},
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"Password\": \"password\",\r\n    \"file_name\": \"file_name\"\r\n    }",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": "{{redfish_url}}/Systems/SecurityService/SecurityLoad/Actions/SecurityLoad.Import"
					},
					"response": []
				},
				{
					"name": "2.6.49 导出登录规则信息",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							},
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": "{{redfish_url}}/Systems/SecurityService/SecurityLoad/Actions/SecurityLoad.Export"
					},
					"response": []
				},
				{
					"name": "2.6.50 查询证书有效期提醒时间",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							}
						],
						"url": "{{redfish_url}}/Systems/SecurityService/HttpsCertAlarmTime"
					},
					"response": []
				},
				{
					"name": "2.6.51 修改证书有效期提醒时间",
					"event": [
						{
							"listen": "test",
							"script": {
								"exec": [
									"pm.test(\"Body matches AlarmShieldMessages\", function () {\r",
									"    pm.expect(pm.response.text()).to.include(\"AlarmShieldMessages\");\r",
									"});"
								],
								"type": "text/javascript"
							}
						}
					],
					"request": {
						"method": "PATCH",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"CertAlarmTime\":\"days\",\r\n    \"Password\": \"password\"\r\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": "{{redfish_url}}/Systems/SecurityService/HttpsCertAlarmTime"
					},
					"response": []
				},
				{
					"name": "2.6.52 获取网口与 IP 列表",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							}
						],
						"url": "{{redfish_url}}/Systems/EthIpList"
					},
					"response": []
				},
				{
					"name": "2.6.53 恢复出厂设置",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							},
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{ \r\n    \"ethernet\": \"ethdd0\", \r\n    \"root_pwd\": \"222222\" \r\n}\r\n"
						},
						"url": "{{redfish_url}}/Systems/Actions/RestoreDefaults.Reset"
					},
					"response": []
				},
				{
					"name": "2.6.54 读取生命周期信息",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							}
						],
						"url": "{{redfish_url}}/Systems/DigitalWarranty"
					},
					"response": []
				},
				{
					"name": "2.6.55 查询外部设备模组资源集合",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							}
						],
						"url": "{{redfish_url}}/Systems/Modules"
					},
					"response": []
				},
				{
					"name": "2.6.56 查询外部设备模组信息",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							}
						],
						"url": "{{redfish_url}}/Systems/Modules/1"
					},
					"response": []
				},
				{
					"name": "2.6.57 查询外部设备信息",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							}
						],
						"url": "{{redfish_url}}/Systems/Modules/<module_id>/<device_id>"
					},
					"response": []
				},
				{
					"name": "2.6.58 修改外部设备信息",
					"request": {
						"method": "PATCH",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\r\n   \"Attributes\":{\r\n     \"status\": \"inactive\"\r\n   }\r\n}"
						},
						"url": "{{redfish_url}}/Systems/Modules/<module_id>/<device_id>"
					},
					"response": []
				}
			]
		},
		{
			"name": "2.7 NetManager",
			"item": [
				{
					"name": "2.7.1 查询网管资源信息",
					"event": [
						{
							"listen": "test",
							"script": {
								"exec": [
									"pm.test(\"Body matches Datetime\", function () {\r",
									"    pm.expect(pm.response.text()).to.include(\"Datetime\");\r",
									"});"
								],
								"type": "text/javascript"
							}
						}
					],
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							},
							{
								"key": "Content-Type",
								"value": "[{\"key\":\"Content-Type\",\"value\":\"application/json\",\"type\":\"text\"}]",
								"type": "default",
								"disabled": true
							}
						],
						"url": "{{redfish_url}}/NetManager"
					},
					"response": []
				},
				{
					"name": "2.7.2 查询网管节点ID",
					"event": [
						{
							"listen": "test",
							"script": {
								"exec": [
									"pm.test(\"Body matches Datetime\", function () {\r",
									"    pm.expect(pm.response.text()).to.include(\"Datetime\");\r",
									"});"
								],
								"type": "text/javascript"
							}
						}
					],
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							}
						],
						"url": "{{redfish_url}}/NetManager/NodeID"
					},
					"response": []
				},
				{
					"name": "2.7.3 上传FusionDirector根证书",
					"event": [
						{
							"listen": "test",
							"script": {
								"exec": [
									"pm.test(\"Body matches Datetime\", function () {\r",
									"    pm.expect(pm.response.text()).to.include(\"Datetime\");\r",
									"});"
								],
								"type": "text/javascript"
							}
						}
					],
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							}
						],
						"body": {
							"mode": "formdata",
							"formdata": [
								{
									"key": "imgfile",
									"type": "file",
									"src": "/D:/MindXOM_A2/FD根证书/248/rootCerts/rootCerts_Effective/rootCertChain.crt"
								}
							],
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": "{{redfish_url}}/NetManager/ImportFdCert"
					},
					"response": []
				},
				{
					"name": "2.7.4 上传FusionDirector吊销列表",
					"event": [
						{
							"listen": "test",
							"script": {
								"exec": [
									"pm.test(\"Body matches Datetime\", function () {\r",
									"    pm.expect(pm.response.text()).to.include(\"Datetime\");\r",
									"});"
								],
								"type": "text/javascript"
							}
						}
					],
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text",
								"disabled": true
							}
						],
						"body": {
							"mode": "formdata",
							"formdata": [
								{
									"key": "imgfile",
									"type": "file",
									"src": []
								}
							],
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": "{{redfish_url}}/NetManager/ImportFdCrl"
					},
					"response": []
				},
				{
					"name": "2.7.5 查询FusionDirector纳管根证书信息",
					"event": [
						{
							"listen": "test",
							"script": {
								"exec": [
									"pm.test(\"Body matches Datetime\", function () {\r",
									"    pm.expect(pm.response.text()).to.include(\"Datetime\");\r",
									"});"
								],
								"type": "text/javascript"
							}
						}
					],
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							}
						],
						"url": "{{redfish_url}}/NetManager/QueryFdCert"
					},
					"response": []
				},
				{
					"name": "2.7.6 配置网管资源信息",
					"event": [
						{
							"listen": "test",
							"script": {
								"exec": [
									"pm.test(\"Body matches Datetime\", function () {\r",
									"    pm.expect(pm.response.text()).to.include(\"Datetime\");\r",
									"});"
								],
								"type": "text/javascript"
							}
						}
					],
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"ManagerType\": \"FusionDirector\",\r\n    \"NetIP\": \"51.38.66.224\",\r\n    \"Port\": \"443\",\r\n    \"NetAccount\": \"EdgeAccount\",\r\n    \"NetPassword\": \"Huawei12#$\",\r\n    \"NodeId\": \"0bc85f13-13d0-40b9-a05d-802bb71f42ce\",\r\n    \"ServerName\": \"\",\r\n    \"test\": true\r\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": "{{redfish_url}}/NetManager"
					},
					"response": []
				}
			]
		},
		{
			"name": "2.8 eSight",
			"item": [
				{
					"name": "2.8.1 查询事件订阅集合",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							}
						],
						"url": "{{redfish_url}}/EventService/Subscriptions"
					},
					"response": []
				},
				{
					"name": "2.8.2 创建事件订阅",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							}
						],
						"url": "{{redfish_url}}/EventService/Subscriptions"
					},
					"response": []
				},
				{
					"name": "2.8.3 查询事件订阅",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							}
						],
						"url": "{{redfish_url}}/EventService/Subscriptions/1"
					},
					"response": []
				},
				{
					"name": "2.8.4 删除事件订阅",
					"request": {
						"method": "DELETE",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							}
						],
						"url": "{{redfish_url}}/EventService/Subscriptions/1"
					},
					"response": []
				},
				{
					"name": "2.8.5 查询安全服务合集资源",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							}
						],
						"url": "{{redfish_url}}/EdgeSystem/SecurityService/ServiceCert"
					},
					"response": []
				},
				{
					"name": "2.8.6 导入HTTP传输服务器根证书",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "default"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\r\n\"Type\":\"text\",\r\n\"Content\":\"-----BEGIN CERTIFICATE-----\\nMIIFODCCAyCgAwIBAgIBADANBgkqhkiG9w0BAQ0FADB/MQswCQYDVQQGEwJDTjES\\nMBAGA1UECAwJR3Vhbmdkb25nMREwDwYDVQQHDAhTaGVuemhlbjEPMA0GA1UECwwG\\nQXNjZW5kMRAwDgYDVQQDDAdNaW5kWE9NMSYwJAYDVQQKDB1IdWF3ZWkgVGVjaG5v\\nbG9naWVzIENvLiwgTHRkLjAiGA8yMDIxMDgxNTIzMTE0NloYDzIwNDEwODEwMjMx\\nMTQ2WjAWMRQwEgYDVQQDDAtjdXN0b21fY2VydDCCAiIwDQYJKoZIhvcNAQEBBQAD\\nggIPADCCAgoCggIBAMMVR/bdgqVeqAXCUbGL7y9T3Ldvn6gdHFs5o5euYIuUy7yi\\nWUmq7ijuxe5vqqPPJ7yKgC7k5jHF307Fhar43dBCZOAmWSS7phjSRMm2H2Rq6sgQ\\nQQzW798owFeTOtOQla2OMRoemiiThzfJ1dzfFFgR7AgJ1rIfBZ1ytrYFnUIMGaUi\\noP+75uYSUrg9AbF7GfkD9mop4xT8jEbwjDsIDOtOSP6Nf4BFB9ygFRkgiJdZN18a\\n2MosagDYezyvaBYQEBj9aCStgJ7hTtOPf8ZnHGB4bEwIQrmDo5h3Pnc36s0YYGrN\\nzRPq+saj2I7PWhLZ1OkuEwnZI66U8Zm5Vb9lZtxHKqjXu1NlWlxoI1dyYv5FCTEZ\\nj2ByFOfY2qAklJkalB4AnBkPuz9VCwLqdGzDSD4vwVCYUxlb30SFbAeGHFuJOSzx\\nv2puTyBTh2H5fLJOvu23a5My84AdZSr0tv+9BX9tOlsLUl0ac3o/k426NkmlyTAQ\\ncAKeAnqpYmlaA1izjK0HjiCIW0wdXBe1eeIyZbq6rq86LAhdC5wugaPEiITqv2r0\\nrRtfSn3hUHa9Ifschgc3sOTjL8EkimQGCaLBjdJnuq7D9zJL6KaEPkUn+b2x5j2p\\n8+7HvBuKLmuaDQsJwWiTwoDS0V3rQpk9MxUPTMBEYsVvPkQZw3Xwx8ntv5YTAgMB\\nAAGjJDAiMAwGA1UdEwEB/wQCMAAwEgYDVR0RAQH/BAgwBocEfwAAATANBgkqhkiG\\n9w0BAQ0FAAOCAgEAJaT3I/5iDELa0I3az5A9AkdhkrjRH38N0bIEcXu0Urhq+Um5\\nf4whPFfEALvxeiZixRuCzbZj2mo8kwk+WL6z7btJSmUlN5dylVh0yr1clGnqh4se\\nfRK9SVLnHwdf2Lfv2CNnzb/I60r0hHerpNXw5zXzf/pJmsP7YkET1yr46NwRk4gs\\nPgiOYyhJnj/jk56pk3EJW3aWnSEtqV9t/K/umWKm0ZUFTZ5pST47tIDGFfvg4OOE\\nvo8ymGSaHzkc9+OD21dHG6OUi4G/01Syi7XmnoeeRFl6jeadEeC0KGDwZN78VAFU\\nYf2VuQzNIwlVJqeuOEuGvbLbJ4fFLzZZR3uEdT3ZoLbkdz7RDWmjaqxtf/kjcIs4\\nMRGaH1TOSdAqrZSG/uPP8sPMURSeiCbRgK5RYPDV5li/SCjDUHG2UVlWhpNDRiDt\\nwDxpMTwjeW0Atjpwx6K2QB+2TmVljpc5Tc3Os0ZIJfJLVBYfNDnCDkOQZLsqnCmO\\n8gXQoseTWCnZN/YUpiq+Y1ldhl5Im7jqLI2B3EFSss8doVVxLO9Jm4xEkIi3lUPb\\nkY421UVnKLMy6oNEp7qnfENQW5XIkBsRu8lhbJP8GJF9B1O9w7f2xqFdf8VGF5qh\\nOqLTlS0WznhGmqzwq9iQVEizz2HEFbp1GWYwchQsS0m4DYk9bz3j2Ilkm9U=\\n-----END CERTIFICATE-----\\n\",\r\n\"RootCertId\":3\r\n}\r\n",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": "{{redfish_url}}/EdgeSystem/SecurityService/ServiceCert/Actions/ServiceCert.ImportRemoteHttpsServiceRootCA"
					},
					"response": []
				},
				{
					"name": "2.8.7 删除远程HTTPS传输服务器根证书",
					"request": {
						"method": "DELETE",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": ""
						},
						"url": {
							"raw": "{{redfish_url}}/EdgeSystem/SecurityService/ServiceCert/Actions/ServiceCert.DeleteRemoteHttpsServiceRootCA/3",
							"host": [
								"{{redfish_url}}"
							],
							"path": [
								"EdgeSystem",
								"SecurityService",
								"ServiceCert",
								"Actions",
								"ServiceCert.DeleteRemoteHttpsServiceRootCA",
								"3"
							],
							"query": [
								{
									"key": "",
									"value": null,
									"disabled": true
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "2.8.8 导入远程HTTPS传输服务器根证书的吊销列表",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "X-Auth-Token",
								"value": "{{token}}",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"Type\": \"text\",\r\n    \"Content\": \"-----BEGIN X509 CRL-----\\nMIICDTCB9gIBATANBgkqhkiG9w0BAQsFADB9MQswCQYDVQQGEwJDTjERMA8GA1UE\\nBwwIU2hlbnpoZW4xJjAkBgNVBAoMHUh1YXdlaSBUZWNobm9sb2dpZXMgQ28uLCBM\\ndGQuMQ8wDQYDVQQLDAZBc2NlbmQxEjAQBgNVBAMMCU1pbmRYRWRnZTEOMAwGA1UE\\nCAwFQ2hpbmEXDTIyMDgzMTE0MzkzM1oXDTIyMDkzMDE0MzkzM1owFDASAgECFw0y\\nMjA4MzExNDM5MzNaoC8wLTAfBgNVHSMEGDAWgBRPb5ffe3b/FAu10LuyvOptzCZo\\ngTAKBgNVHRQEAwIBATANBgkqhkiG9w0BAQsFAAOCAQEACDjcEZVck2qt66UnV95g\\nDvtVsJggkCaUjOzyfihvt5eUlGSGWCbiJvuL+jrR2D0z+8GMgZa1FP3ONnc9z9q4\\nW7FBwVQhZsISIDJOW2jXSxq/CkQ2zZIUPDujd4Bkg+E8aOHFta9bq35XvVbtbUpk\\nG9F8Tjw3jg91Cb9Mi+CWVjzWE2wH5Wop3XbkZk6xAIu36XPSkfWkLyKyYeqXI/S+\\n/7yzNEoeX+AkNqJY4WrBo0PGCSSWU9oCiugK1QnoB5q9/6YJNgXo97R3YbjVlxE+\\nKNv5fUr/SCdSisTKA7Y57htkP/Sn2YZmoh05AHNeSkKuwX48hUZE83EzV3SkpaLL\\naw==\\n-----END X509 CRL-----\\n\",\r\n    \"RootCertId\": 2\r\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{redfish_url}}/EdgeSystem/SecurityService/ServiceCert/Actions/ServiceCert.ImportRemoteHttpsServiceCrl",
							"host": [
								"{{redfish_url}}"
							],
							"path": [
								"EdgeSystem",
								"SecurityService",
								"ServiceCert",
								"Actions",
								"ServiceCert.ImportRemoteHttpsServiceCrl"
							],
							"query": [
								{
									"key": "",
									"value": null,
									"disabled": true
								}
							]
						}
					},
					"response": []
				}
			]
		}
	],
	"event": [
		{
			"listen": "prerequest",
			"script": {
				"type": "text/javascript",
				"exec": [
					"var loc_ip = pm.environment.get(\"loc_ip\")",
					"pm.request.headers.add(",
					"    {",
					"        key: \"X-Real-ip\",",
					"        value: \"51.38.69.72\"",
					"    }",
					")"
				]
			}
		},
		{
			"listen": "test",
			"script": {
				"type": "text/javascript",
				"exec": [
					""
				]
			}
		}
	],
	"variable": [
		{
			"key": "redfish_url",
			"value": "https://51.38.69.172/redfish/v1"
		},
		{
			"key": "token",
			"value": ""
		},
		{
			"key": "systems",
			"value": "{{redfish_url}}/Systems",
			"disabled": true
		}
	]
}

  

posted @ 2023-06-15 11:30  易先讯  阅读(13)  评论(0编辑  收藏  举报