Commit 615d27a
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 747a013 commit 615d27a
1 file changed
Lines changed: 11 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1198 | 1198 | | |
1199 | 1199 | | |
1200 | 1200 | | |
| 1201 | + | |
| 1202 | + | |
| 1203 | + | |
| 1204 | + | |
| 1205 | + | |
1201 | 1206 | | |
1202 | | - | |
| 1207 | + | |
1203 | 1208 | | |
1204 | 1209 | | |
1205 | 1210 | | |
| |||
1298 | 1303 | | |
1299 | 1304 | | |
1300 | 1305 | | |
1301 | | - | |
1302 | | - | |
1303 | | - | |
1304 | | - | |
1305 | | - | |
1306 | | - | |
| 1306 | + | |
| 1307 | + | |
| 1308 | + | |
| 1309 | + | |
| 1310 | + | |
1307 | 1311 | | |
1308 | 1312 | | |
1309 | 1313 | | |
| |||
0 commit comments