1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#!/usr/bin/python -u
SETTINGS=\
{'host': {'bootflags': {'default': 'default',
'name': 'boot_flags',
'type': 's'},
'bootpolicy': {'default': 'ONETIME',
'name': 'boot_policy',
'type': 's'},
'networkconfig': {'default':
'ipaddress=,prefix=,gateway=,mac=,addr_type=',
'name': 'network_config',
'type': 's'},
'powercap': {'default': 0,
'max': 1000,
'min': 0,
'name': 'power_cap',
'type': 'i',
'unit': 'watts'},
'powerpolicy': {'default': 'RESTORE_LAST_STATE',
'name': 'power_policy',
'type': 's'},
'restrictedmode': {'default': False,
'name': 'restricted_mode',
'type': 'b'},
'sysstate': {'default': '', 'name': 'system_state', 'type': 's'}}}
|