Repository navigation
Commit 7c82e53
committed
feat(grid_client): add node_call + create_node_contract low-level helpers
- 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).1 parent 0fc9fa9 commit 7c82e53
1 file changed
Lines changed: 55 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1847 | 1847 | | |
1848 | 1848 | | |
1849 | 1849 | | |
| 1850 | + | |
| 1851 | + | |
| 1852 | + | |
| 1853 | + | |
| 1854 | + | |
| 1855 | + | |
| 1856 | + | |
| 1857 | + | |
| 1858 | + | |
| 1859 | + | |
| 1860 | + | |
| 1861 | + | |
| 1862 | + | |
| 1863 | + | |
| 1864 | + | |
| 1865 | + | |
| 1866 | + | |
| 1867 | + | |
| 1868 | + | |
| 1869 | + | |
| 1870 | + | |
| 1871 | + | |
| 1872 | + | |
| 1873 | + | |
| 1874 | + | |
| 1875 | + | |
| 1876 | + | |
| 1877 | + | |
| 1878 | + | |
| 1879 | + | |
| 1880 | + | |
| 1881 | + | |
| 1882 | + | |
| 1883 | + | |
| 1884 | + | |
| 1885 | + | |
| 1886 | + | |
| 1887 | + | |
| 1888 | + | |
| 1889 | + | |
| 1890 | + | |
| 1891 | + | |
| 1892 | + | |
| 1893 | + | |
| 1894 | + | |
| 1895 | + | |
| 1896 | + | |
| 1897 | + | |
| 1898 | + | |
| 1899 | + | |
| 1900 | + | |
| 1901 | + | |
| 1902 | + | |
| 1903 | + | |
| 1904 | + | |
1850 | 1905 | | |
1851 | 1906 | | |
1852 | 1907 | | |
| |||
0 commit comments