/openbmc/docs/ |
H A D | REST-cheatsheet.md | 16 either an authentication token or the username and password passed in as part of 45 - Token based authentication. 49 …ort token=`curl -k -H "Content-Type: application/json" -X POST https://${bmc}/login -d '{"username… 50 curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/... 59 using the 'Token based' login method as described above: 63 …ort token=`curl -k -H "Content-Type: application/json" -X POST https://${bmc}/login -d '{"username… 64 curl -k -H "X-Auth-Token: $token" https://$bmc/xyz/openbmc_project/... 70 curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/list 71 curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/enumerate 77 curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/ [all …]
|
H A D | REDFISH-cheatsheet.md | 28 A file, headers.txt, will be created. Find the `"X-Auth-Token"` in that file. 32 export bmc_token=<token> 39 …ort token=`curl -k -H "Content-Type: application/json" -X POST https://${bmc}/login -d '{"username… 40 curl -k -H "X-Auth-Token: $token" https://${bmc}/redfish/v1/... 50 curl -k -H "X-Auth-Token: $token" -X GET https://${bmc}/redfish/v1/Chassis 51 curl -k -H "X-Auth-Token: $token" -X GET https://${bmc}/redfish/v1/Managers 52 curl -k -H "X-Auth-Token: $token" -X GET https://${bmc}/redfish/v1/Systems 60 curl -k -H "X-Auth-Token: $token" https://${bmc}/redfish/v1/SessionService/Sessions 70 curl -k -H "X-Auth-Token: $token" -H "Content-Type: application/json" -X POST https://${bmc}/redfis… 76 curl -k -H "X-Auth-Token: $token" -H "Content-Type: application/json" -X POST https://${bmc}/redfis… [all …]
|
H A D | host-management.md | 11 This document uses token based authentication method: 15 …ort token=`curl -k -H "Content-Type: application/json" -X POST https://${bmc}/login -d '{"username… 16 curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/... 45 curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/inventory/enumerate 51 curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/inventory/system/chassis/mothe… 85 … curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/sensors/temperature/ocp_zone 116 curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/sensors/enumerate 122 curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/sensors/temperature/outlet 147 curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/logging/entry 166 curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/logging/entry/1 [all …]
|
/openbmc/linux/net/mptcp/ |
D | token.c |
|
/openbmc/linux/arch/powerpc/platforms/powernv/ |
D | opal-async.c |
|
D | opal-sensor.c |
|
/openbmc/linux/net/rxrpc/ |
D | key.c |
|
/openbmc/qemu/qobject/ |
H A D | json-parser.c | 58 JSONToken *token, const char *msg, ...) in parse_error() argument 129 static QString *parse_string(JSONParserContext *ctxt, JSONToken *token) in parse_string() argument 131 const char *ptr = token->str; in parse_string() 197 parse_error(ctxt, token, in parse_string() 205 parse_error(ctxt, token, "invalid escape sequence in string"); in parse_string() 212 parse_error(ctxt, token, "can't interpolate into string"); in parse_string() 221 parse_error(ctxt, token, "invalid UTF-8 sequence in string"); in parse_string() 238 /* Note: the token object returned by parser_context_peek_token or 262 JSONToken *peek, *token; in parse_pair() local 277 token = parser_context_pop_token(ctxt); in parse_pair() [all …]
|
/openbmc/linux/drivers/net/ethernet/freescale/dpaa2/ |
D | dpsw.c |
|
D | dpni.c |
|
D | dprtc.c |
|
D | dpmac.c |
|
/openbmc/linux/drivers/bus/fsl-mc/ |
D | dpcon.c |
|
D | dpbp.c |
|
D | fsl-mc-uapi.c |
|
/openbmc/u-boot/drivers/net/fsl-mc/ |
H A D | dpni.c | 34 uint16_t *token) in dpni_open() argument 51 *token = MC_CMD_HDR_READ_TOKEN(cmd.header); in dpni_open() 58 uint16_t token) in dpni_close() argument 65 token); in dpni_close() 118 uint16_t token, in dpni_set_pools() argument 126 token); in dpni_set_pools() 135 uint16_t token) in dpni_enable() argument 142 token); in dpni_enable() 150 uint16_t token) in dpni_disable() argument 157 token); in dpni_disable() [all …]
|
H A D | dprc.c | 39 uint16_t *token) in dprc_open() argument 55 *token = MC_CMD_HDR_READ_TOKEN(cmd.header); in dprc_open() 62 uint16_t token) in dprc_close() argument 68 token); in dprc_close() 76 uint16_t token, in dprc_create_container() argument 89 token); in dprc_create_container() 105 uint16_t token, in dprc_destroy_container() argument 113 token); in dprc_destroy_container() 122 uint16_t token, in dprc_reset_container() argument 130 token); in dprc_reset_container() [all …]
|
/openbmc/linux/drivers/crypto/caam/ |
D | dpseci.c |
|
/openbmc/linux/scripts/genksyms/ |
D | parse.y |
|
D | lex.l |
|
/openbmc/u-boot/include/fsl-mc/ |
H A D | fsl_dpbp.h | 54 * @token: Returned token; use in subsequent API calls 59 * This function returns a unique authentication token, 61 * portal; this token must be used in all subsequent commands for 69 uint16_t *token); 75 * @token: Token of DPBP object 84 uint16_t token); 99 * @token: Returned token; use in subsequent API calls 106 * This function returns a unique authentication token, 108 * portal; this token must be used in all subsequent calls to 111 * token first. [all …]
|
H A D | fsl_dpio.h | 61 * @token: Returned token; use in subsequent API calls 66 * This function returns a unique authentication token, 68 * portal; this token must be used in all subsequent commands for 76 uint16_t *token); 82 * @token: Token of DPIO object 88 uint16_t token); 116 * @token: Authentication token. 127 * This function returns a unique authentication token, 129 * portal; this token must be used in all subsequent calls to 132 * token first. [all …]
|
/openbmc/linux/drivers/soc/fsl/dpio/ |
D | dpio.c |
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/amdzen3/ |
D | other.json |
|
/openbmc/u-boot/tools/ |
H A D | ublimage.c | 47 static uint32_t get_cfg_value(char *token, char *name, int linenr) in get_cfg_value() argument 53 value = strtoul(token, &endptr, 16); in get_cfg_value() 54 if (errno || (token == endptr)) { in get_cfg_value() 56 name, linenr, token); in get_cfg_value() 72 static void parse_cfg_cmd(struct ubl_header *ublhdr, int32_t cmd, char *token, in parse_cfg_cmd() argument 80 "ublimage special boot mode", token); in parse_cfg_cmd() 83 "(%s)\n", name, lineno, token); in parse_cfg_cmd() 91 ublhdr->entry = get_cfg_value(token, name, lineno); in parse_cfg_cmd() 94 ublhdr->pages = get_cfg_value(token, name, lineno); in parse_cfg_cmd() 97 ublhdr->block = get_cfg_value(token, name, lineno); in parse_cfg_cmd() [all …]
|