Merge pull request #1297 from GNS3/bugfix/1201

I resolved " Remove Qemu legacy networking code
This commit is contained in:
Jeremy Grossmann 2022-04-14 15:00:53 +07:00 committed by GitHub
commit 978b473e8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 1 additions and 9 deletions

View File

@ -45,7 +45,6 @@ export class Properties {
kernel_command_line: string;
kernel_image: string;
kernel_image_md5sum?: any;
legacy_networking: boolean;
mac_address: string;
options: string;
platform: string;

View File

@ -192,7 +192,6 @@
<button mat-button class="configButton" (click)="setCustomAdaptersConfiguratorState(true)">
Configure custom adapters</button
><br />
<mat-checkbox [(ngModel)]="qemuTemplate.legacy_networking"> Use the legacy networking mode </mat-checkbox>
</mat-expansion-panel>
<mat-expansion-panel>
<mat-expansion-panel-header>

View File

@ -143,9 +143,7 @@
</div>
</mat-tab>
<mat-tab label="Network">
<br /><mat-checkbox [(ngModel)]="node.properties.legacy_networking">
Use the legacy networking mode
</mat-checkbox>
<br />
<br /><mat-checkbox [(ngModel)]="node.properties.replicate_network_connection_state">
Replicate network connection state
</mat-checkbox>

View File

@ -27,7 +27,6 @@ export class QemuTemplate {
initrd: string;
kernel_command_line: string;
kernel_image: string;
legacy_networking: boolean;
linked_clone: boolean;
mac_address: string;
name: string;

View File

@ -62,7 +62,6 @@ describe('QemuService', () => {
initrd: '',
kernel_command_line: '',
kernel_image: '',
legacy_networking: false,
linked_clone: true,
mac_address: '',
name: '',
@ -115,7 +114,6 @@ describe('QemuService', () => {
initrd: '',
kernel_command_line: '',
kernel_image: '',
legacy_networking: false,
linked_clone: true,
mac_address: '',
name: '',

View File

@ -41,7 +41,6 @@ export class TemplateMocksService {
initrd: '',
kernel_command_line: '',
kernel_image: '',
legacy_networking: false,
linked_clone: true,
mac_address: '',
name: '',