/docs/MyDocs

To get this branch, use:
bzr branch http://darksoft.org/webbzr/docs/MyDocs

« back to all changes in this revision

Viewing changes to Administration/Server/BMC/redfish/refish.txt

  • Committer: Suren A. Chilingaryan
  • Date: 2023-01-22 13:43:11 UTC
  • Revision ID: csa@suren.me-20230122134311-zqe3ft10p33wqgfv
BMC/IPMI, smarthome, multicast-routing

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
USER=aspensys
 
2
PASSWORD=Password22@
 
3
BMCIP=35.8.25.104
 
4
 
 
5
#curl -s -k -u $USER:$PASSWORD -H"Content-type: application/json" -X GET https://${BMCIP}/redfish/v1/ | jq . 
 
6
#curl -s -k -u $USER:$PASSWORD -H"Content-type: application/json" -X GET https://${BMCIP}/redfish/v1/ | jq '.RedfishVersion'
 
7
#curl -s -k -u $USER:$PASSWORD -H"Content-type: application/json" -X GET https://${BMCIP}/redfish/v1/Systems/Self 
 
8
#curl -s -k -u $USER:$PASSWORD -H"Content-type: application/json" -X GET https://${BMCIP}/redfish/v1/Registries/BiosAttributeRegistry.json | jq .
 
9
 
 
10
 
 
11
#curl -s -k -u $USER:$PASSWORD -H"Content-type: application/json" -X GET https://${BMCIP}/redfish/v1/Systems/Self/GraphicsControllers | jq .
 
12
#curl -s -k -u $USER:$PASSWORD -H"Content-type: application/json" -X GET https://${BMCIP}/redfish/v1/Chassis/Self/PCIeDevices/00_31_00 | jq .
 
13
 
 
14
# Format not recognized
 
15
#curl -s -k -u $USER:$PASSWORD -H"Content-type: application/json" -X GET https://${BMCIP}/redfish/v1/Systems/Self/Bios
 
16
#jq . 1.json | curl -v -k -u $USER:$PASSWORD -d @- -H"Content-type: application/json" -H 'Accept: application/json' -H 'If-Match: *' -H 'If-None-Match: xxx' -X PATCH https://${BMCIP}/redfish/v1/Systems/Self/Bios/SD
 
17
 
 
18
# Not allowed
 
19
#jq . 2.json | curl -v -k -u $USER:$PASSWORD -d @- -H"Content-type: application/json" -H 'Accept: application/json' -H 'If-Match: *' -H 'If-None-Match: xxx' -X PATCH https://${BMCIP}/redfish/v1/Chassis/Self/PCIeDevices/00_31_00/SD
 
20
 
 
21
#ipmitool -I lanplus -U $USER -P $PASSWORD -H $BMCIP sol info
 
22
 
 
23
ipmiconsole -h $BMCIP -u $USER -p $PASSWORD