I resolved " Remove Qemu legacy networking code

#1201".
This commit is contained in:
Sakshi Goel 2022-04-13 19:16:18 +05:30
parent fcc03f5ad0
commit d652ae0bbb
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: '',