mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Merge branch '4.20'
This commit is contained in:
commit
76cfcb48fb
@ -254,6 +254,15 @@ public class BridgeVifDriver extends VifDriverBase {
|
|||||||
intf.defBridgeNet(_bridges.get("private"), null, nic.getMac(), getGuestNicModel(guestOsType, nicAdapter));
|
intf.defBridgeNet(_bridges.get("private"), null, nic.getMac(), getGuestNicModel(guestOsType, nicAdapter));
|
||||||
} else if (nic.getType() == Networks.TrafficType.Storage) {
|
} else if (nic.getType() == Networks.TrafficType.Storage) {
|
||||||
String storageBrName = nic.getName() == null ? _bridges.get("private") : nic.getName();
|
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)) {
|
||||||
|
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));
|
intf.defBridgeNet(storageBrName, null, nic.getMac(), getGuestNicModel(guestOsType, nicAdapter));
|
||||||
}
|
}
|
||||||
if (nic.getPxeDisable()) {
|
if (nic.getPxeDisable()) {
|
||||||
|
|||||||
@ -737,7 +737,7 @@
|
|||||||
{{ $t('label.isadvanced') }}
|
{{ $t('label.isadvanced') }}
|
||||||
<a-switch v-model:checked="showDetails" style="margin-left: 10px"/>
|
<a-switch v-model:checked="showDetails" style="margin-left: 10px"/>
|
||||||
</span>
|
</span>
|
||||||
<div style="margin-top: 15px" v-show="showDetails">
|
<div style="margin-top: 15px" v-if="showDetails">
|
||||||
<a-form-item :label="$t('label.sshkeypairs')">
|
<a-form-item :label="$t('label.sshkeypairs')">
|
||||||
<ssh-key-pair-selection
|
<ssh-key-pair-selection
|
||||||
:items="options.sshKeyPairs"
|
:items="options.sshKeyPairs"
|
||||||
|
|||||||
@ -166,7 +166,7 @@ export default {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('label.vlan'),
|
title: this.$t('label.vlan'),
|
||||||
dataIndex: 'vlanid'
|
dataIndex: 'vlan'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('label.startip'),
|
title: this.$t('label.startip'),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user