mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Merge branch '4.19' into 4.20
This commit is contained in:
commit
96ed9d47bc
@ -250,6 +250,15 @@ public class BridgeVifDriver extends VifDriverBase {
|
||||
intf.defBridgeNet(_bridges.get("private"), null, nic.getMac(), getGuestNicModel(guestOsType, nicAdapter));
|
||||
} else if (nic.getType() == Networks.TrafficType.Storage) {
|
||||
String storageBrName = nic.getName() == null ? _bridges.get("private") : nic.getName();
|
||||
if (nic.getBroadcastType() == Networks.BroadcastDomainType.Storage) {
|
||||
vNetId = Networks.BroadcastDomainType.getValue(nic.getBroadcastUri());
|
||||
protocol = Networks.BroadcastDomainType.Vlan.scheme();
|
||||
}
|
||||
if (isValidProtocolAndVnetId(vNetId, protocol)) {
|
||||
s_logger.debug(String.format("creating a vNet dev and bridge for %s traffic per traffic label %s",
|
||||
Networks.TrafficType.Storage.name(), trafficLabel));
|
||||
storageBrName = createVnetBr(vNetId, storageBrName, protocol);
|
||||
}
|
||||
intf.defBridgeNet(storageBrName, null, nic.getMac(), getGuestNicModel(guestOsType, nicAdapter));
|
||||
}
|
||||
if (nic.getPxeDisable()) {
|
||||
|
||||
@ -738,7 +738,7 @@
|
||||
{{ $t('label.isadvanced') }}
|
||||
<a-switch v-model:checked="showDetails" style="margin-left: 10px"/>
|
||||
</span>
|
||||
<div style="margin-top: 15px" v-show="showDetails">
|
||||
<div style="margin-top: 15px" v-if="showDetails">
|
||||
<a-form-item :label="$t('label.sshkeypairs')">
|
||||
<ssh-key-pair-selection
|
||||
:items="options.sshKeyPairs"
|
||||
|
||||
@ -166,7 +166,7 @@ export default {
|
||||
},
|
||||
{
|
||||
title: this.$t('label.vlan'),
|
||||
dataIndex: 'vlanid'
|
||||
dataIndex: 'vlan'
|
||||
},
|
||||
{
|
||||
title: this.$t('label.startip'),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user