BaseTools:Change the path of the file that Binary Cache
[mirror_edk2.git] / MdeModulePkg / Universal / Network / VlanConfigDxe / VlanConfig.vfr
1 ///** @file
2 // VLAN configuration formset.
3 //
4 // Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>
5 // SPDX-License-Identifier: BSD-2-Clause-Patent
6 //
7 //**/
8
9 #include "VlanConfigNvData.h"
10
11 formset
12 guid = VLAN_CONFIG_FORM_SET_GUID,
13 title = STRING_TOKEN(STR_VLAN_FORM_SET_TITLE),
14 help = STRING_TOKEN(STR_VLAN_FORM_SET_TITLE_HELP),
15 classguid = EFI_HII_PLATFORM_SETUP_FORMSET_GUID,
16
17 varstore VLAN_CONFIGURATION,
18 varid = VLAN_CONFIGURATION_VARSTORE_ID,
19 name = VlanNvData,
20 guid = VLAN_CONFIG_FORM_SET_GUID;
21
22 form formid = VLAN_HEAD_FORM_ID,
23 title = STRING_TOKEN(STR_VLAN_FORM_TITLE);
24
25 goto VLAN_CONFIGURATION_FORM_ID,
26 prompt = STRING_TOKEN (STR_GET_CURRENT_SETTING),
27 help = STRING_TOKEN (STR_GET_CURRENT_SETTING_HELP),
28 flags = INTERACTIVE,
29 key = VLAN_UPDATE_QUESTION_ID;
30
31 endform;
32
33 form formid = VLAN_CONFIGURATION_FORM_ID,
34 title = STRING_TOKEN(STR_VLAN_FORM_TITLE);
35
36 subtitle text = STRING_TOKEN(STR_VLAN_CREATE_VLAN);
37
38 numeric varid = VlanNvData.VlanId,
39 prompt = STRING_TOKEN(STR_VLAN_VID_PROMPT),
40 help = STRING_TOKEN(STR_VLAN_VID_HELP),
41 minimum = 0,
42 maximum = 4094,
43 endnumeric;
44
45 numeric varid = VlanNvData.Priority,
46 prompt = STRING_TOKEN(STR_VLAN_PRIORITY_PROMPT),
47 help = STRING_TOKEN(STR_VLAN_PRIORITY_HELP),
48 minimum = 0,
49 maximum = 7,
50 endnumeric;
51
52 text
53 help = STRING_TOKEN(STR_VLAN_ADD_VLAN_HELP),
54 text = STRING_TOKEN(STR_VLAN_ADD_VLAN_PROMPT),
55 flags = INTERACTIVE,
56 key = VLAN_ADD_QUESTION_ID;
57
58 subtitle text = STRING_TOKEN(STR_VLAN_NULL_STRING);
59 subtitle text = STRING_TOKEN(STR_VLAN_VLAN_LIST);
60
61 label LABEL_VLAN_LIST;
62 label LABEL_END;
63
64 text
65 help = STRING_TOKEN(STR_VLAN_REMOVE_VLAN_HELP),
66 text = STRING_TOKEN(STR_VLAN_REMOVE_VLAN_PROMPT),
67 flags = INTERACTIVE,
68 key = VLAN_REMOVE_QUESTION_ID;
69
70 endform;
71
72 endformset;