Skip to content

feat(grid_client): add node_call + create_node_contract low-level hel… - #4

Merged
ashraffouda merged 1 commit into
mainfrom
feat/node-call-and-create-node-contract
Aug 23, 2026
Merged

feat(grid_client): add node_call + create_node_contract low-level hel…#4
ashraffouda merged 1 commit into
mainfrom
feat/node-call-and-create-node-contract

Conversation

@ashraffouda

Copy link
Copy Markdown
Contributor

…pers

  • node_call<T,R>(node_twin_id, command, payload): generic RMB escape hatch for zos RPCs with no dedicated typed helper (e.g. zos.deployment.get/transfer/prepare, zos.statistics.get). Signs + routes exactly like the built-in deployment helpers.
  • create_node_contract(node_id, deployment_data, deployment_hash_hex, public_ips): submit a node contract for a deployment that already carries the given md5 hash — used when relocating an existing deployment to another node (contract id is excluded from the hash, so the source signature stays valid). Returns the new contract id via grid-proxy lookup.

Both are needed by the within-farm VM migration control plane (my_migrator).

…pers

- node_call<T,R>(node_twin_id, command, payload): generic RMB escape hatch for zos RPCs
  with no dedicated typed helper (e.g. zos.deployment.get/transfer/prepare, zos.statistics.get).
  Signs + routes exactly like the built-in deployment helpers.
- create_node_contract(node_id, deployment_data, deployment_hash_hex, public_ips): submit a
  node contract for a deployment that already carries the given md5 hash — used when
  relocating an existing deployment to another node (contract id is excluded from the hash,
  so the source signature stays valid). Returns the new contract id via grid-proxy lookup.

Both are needed by the within-farm VM migration control plane (my_migrator).
@ashraffouda
ashraffouda merged commit 7c82e53 into main Aug 23, 2026
1 check failed
@ashraffouda
ashraffouda deleted the feat/node-call-and-create-node-contract branch August 23, 2026 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant