Update configurator-cloud.component.ts

This commit is contained in:
piotrpekala7 2020-04-16 13:10:42 +02:00
parent 0bcc662d91
commit 09a03ea013

View File

@ -73,6 +73,17 @@ export class ConfiguratorDialogCloudComponent implements OnInit {
this.consoleTypes = this.builtInTemplatesConfigurationService.getConsoleTypesForCloudNodes();
}
onAddEthernetInterface() {
if (this.ethernetInterface) {
this.portsMappingEthernet.push({
interface: this.ethernetInterface,
name: this.ethernetInterface,
port_number: 0,
type: "ethernet"
});
}
}
onAddTapInterface() {
if (this.tapInterface) {
this.portsMappingTap.push({