27 lines
985 B
JSON
27 lines
985 B
JSON
{
|
|
"name": "Test - Expire One IP",
|
|
"description": "Bare minimum V0 expire test with hardcoded MAC+IP",
|
|
"trigger": { "type": "MANUAL", "nextSteps": [{ "slug": "expire" }] },
|
|
"steps": [
|
|
{
|
|
"name": "Expire",
|
|
"slug": "expire",
|
|
"type": "GAIIA_API_GATEWAY_V0_GRAPHQL_REQUEST",
|
|
"nodeSlug": "gaiia-internal-api-gateway-graphql-request",
|
|
"allowSkipExecution": false,
|
|
"inputs": [
|
|
{
|
|
"key": "query",
|
|
"type": "LITERAL",
|
|
"value": "string:mutation ExpireOne($input: UpsertMacAddressIpAddressAssignationsInput!) {\n upsertMacAddressIpAddressAssignations(input: $input) {\n assignations { macAddress ipAddress }\n }\n}"
|
|
},
|
|
{
|
|
"key": "variables",
|
|
"type": "LITERAL",
|
|
"value": "json:{\"input\":{\"assignations\":{\"macAddress\":\"DC:9F:DB:92:0D:AA\",\"ipAddress\":\"10.10.16.74\",\"expired\":true}}}"
|
|
}
|
|
],
|
|
"nextSteps": [{ "slug": "end" }]
|
|
}
|
|
]
|
|
}
|