mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-06-17 06:18:09 +00:00
Update configurator-cloud.component.ts
This commit is contained in:
@ -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({
|
||||
|
Reference in New Issue
Block a user