Commit 22f84cc
committed
fix(drivers): attach_port always uses type='network' too
Same issue as create_machine's boot port: attach_port() used
self._spec.network_type as the raw libvirt interface type, treating
port.source as a literal host bridge device. port.source is always
the logical libvirt network name the orchestrator tracks (e.g.
"exordos-core-net") - on a bridge-type hypervisor that name must be
resolved through a local libvirt network forwarding onto the real
bridge, not used directly as a bridge device name.1 parent 0700363 commit 22f84cc
1 file changed
Lines changed: 11 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1188 | 1188 | | |
1189 | 1189 | | |
1190 | 1190 | | |
| 1191 | + | |
| 1192 | + | |
| 1193 | + | |
| 1194 | + | |
| 1195 | + | |
1191 | 1196 | | |
1192 | | - | |
| 1197 | + | |
1193 | 1198 | | |
1194 | 1199 | | |
1195 | 1200 | | |
| |||
1288 | 1293 | | |
1289 | 1294 | | |
1290 | 1295 | | |
1291 | | - | |
1292 | | - | |
1293 | | - | |
1294 | | - | |
1295 | | - | |
1296 | | - | |
| 1296 | + | |
| 1297 | + | |
| 1298 | + | |
| 1299 | + | |
| 1300 | + | |
1297 | 1301 | | |
1298 | 1302 | | |
1299 | 1303 | | |
| |||
0 commit comments