blob: 9e645e5c23959e679eb00306e8efdc156642a904 [file] [log] [blame]
Sweta Potthuri39255032018-03-28 10:12:14 -05001*** Settings ***
2Documentation Secure boot keywords.
3
4*** Keywords ***
5
6Set TPMEnable Policy
7 [Documentation] Enable or disable TPM Policy.
8 [Arguments] ${tpm_policy}
9
10 # Description of argument(s):
11 # tpm_policy Enable-1 or Disable-0.
12
13 ${value_dict}= Create Dictionary data=${tpm_policy}
14 Write Attribute ${CONTROL_HOST_URI}/TPMEnable TPMEnable
15 ... data=${value_dict}
16
17
18Set And Verify TPM Policy
19 [Documentation] Enable or disable and verify TPM Policy.
20 [Arguments] ${tpm_policy}
21
22 # Description of argument(s):
23 # tpm_policy Enable-1 or Disable-0.
24
25 Set TPMEnable Policy ${tpm_policy}
26 ${resp}= Verify The Attribute
27 ... ${CONTROL_URI}/host0/TPMEnable TPMEnable ${tpm_policy}