We're updating the issue view to help you get more done. 

Make VM data structure a CRDT

Description

Example Code:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 { "config": { "alias": "fifo", "autoboot": true, "cpu_cap": 200, "cpu_shares": 64, "created_at": "2013-10-19T13:15:28.975Z", "dataset": "17c98640-1fdb-11e3-bf51-3708ce78e75a", "dns_domain": "local", "max_swap": 2147483648, "networks": [ { "gateway": "...", "interface": "net0", "ip": "...", "mac": "...", "netmask": "...", "nic_tag": "admin", "primary": "true" } ], "quota": 100, "ram": 2048, "resolvers": [ "8.8.8.8", "8.8.4.4" ], "state": "running", "type": "zone", "zfs_io_priority": 128, "zonepath": "/zones/adc8bae7-8a83-44ca-ace9-535a6dda2c6d" }, "hypervisor": "d618b447-7c9b-4bde-8474-3a9fef24ad31", "info": [], "log": [ { "date": 1385622929949435, "log": "Update complete." }, ... ], "metadata": { "jingles": { "show_disabled": false, "show_disabled_services": false } }, "owner": "4508a96c-73a0-4314-aa40-8b1052cacf59", "package": "d5e725c7-55e6-41af-8c3a-2b7f5c81e0fb", "services": { "svc:/milestone/devices:default": "online", ... }, "snapshots": { "4a706c28-ab4f-4e71-97f8-94566a9cecf2": { "comment": "update", "size": 192309678, "state": "completed", "timestamp": 1397159543713091 } }, "state": "running", "uuid": "adc8bae7-8a83-44ca-ace9-535a6dda2c6d" }

Environment

None

Status

Assignee

Heinz N. Gies

Reporter

Heinz N. Gies

Labels

None

Components

Fix versions

Priority

High