mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-02-23 18:50:16 +00:00
Update configurator-cloud.component.ts
This commit is contained in:
parent
0bcc662d91
commit
09a03ea013
@ -73,6 +73,17 @@ export class ConfiguratorDialogCloudComponent implements OnInit {
|
|||||||
this.consoleTypes = this.builtInTemplatesConfigurationService.getConsoleTypesForCloudNodes();
|
this.consoleTypes = this.builtInTemplatesConfigurationService.getConsoleTypesForCloudNodes();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
onAddEthernetInterface() {
|
||||||
|
if (this.ethernetInterface) {
|
||||||
|
this.portsMappingEthernet.push({
|
||||||
|
interface: this.ethernetInterface,
|
||||||
|
name: this.ethernetInterface,
|
||||||
|
port_number: 0,
|
||||||
|
type: "ethernet"
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
onAddTapInterface() {
|
onAddTapInterface() {
|
||||||
if (this.tapInterface) {
|
if (this.tapInterface) {
|
||||||
this.portsMappingTap.push({
|
this.portsMappingTap.push({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user