Commit 3e4b533
committed
feat(vmm): expose event_log_version in vmm-cli and Web UI
- vmm-cli.py compose: add --event-log-version {1,2} flag.
Omitting the flag keeps the field out of app-compose.json, so
existing compose hashes are unchanged when the flag isn't used.
- Web UI CreateVmDialog: add a dropdown under Networking with
V1 (legacy binary) / V2 (JCS canonical JSON); v2 is only written
into the generated app-compose when explicitly selected.
- useVmManager: thread event_log_version through VmFormState and
the clone-config path so re-creating a VM preserves the selection.1 parent 55ce10f commit 3e4b533
3 files changed
Lines changed: 27 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
818 | 818 | | |
819 | 819 | | |
820 | 820 | | |
| 821 | + | |
| 822 | + | |
821 | 823 | | |
822 | 824 | | |
823 | 825 | | |
| |||
1684 | 1686 | | |
1685 | 1687 | | |
1686 | 1688 | | |
| 1689 | + | |
| 1690 | + | |
| 1691 | + | |
| 1692 | + | |
| 1693 | + | |
| 1694 | + | |
| 1695 | + | |
1687 | 1696 | | |
1688 | 1697 | | |
1689 | 1698 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
159 | 169 | | |
160 | 170 | | |
161 | 171 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| |||
111 | 112 | | |
112 | 113 | | |
113 | 114 | | |
| 115 | + | |
114 | 116 | | |
115 | 117 | | |
116 | 118 | | |
| |||
194 | 196 | | |
195 | 197 | | |
196 | 198 | | |
| 199 | + | |
197 | 200 | | |
198 | 201 | | |
199 | 202 | | |
| |||
754 | 757 | | |
755 | 758 | | |
756 | 759 | | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
757 | 764 | | |
758 | 765 | | |
759 | 766 | | |
| |||
1134 | 1141 | | |
1135 | 1142 | | |
1136 | 1143 | | |
| 1144 | + | |
1137 | 1145 | | |
1138 | 1146 | | |
1139 | 1147 | | |
| |||
0 commit comments