1ACCEL-CONFIG-LOAD() ACCEL-CONFIG-LOAD()
2
3
4
6 accel-config-load-config - load pre-defined the configuration in json
7 format
8
10 accel-config load-config [<options>]
11
12 Load and scan through the pre-defined configuration file in json
13 format, and set the configured attribute into corresponding component.
14
15 There is a sample config file at
16 /etc/accel-config/accel-config.conf.sample, and it can be used as a
17 reference for user about how the loadable config file looks like, but
18 it should not be used directly given the variance of each system. The
19 user should create a proper config file according to the format of
20 sample file and use "-c" option to point to the config file.
21
22 The "dev" property is used as the key for each json object and must be
23 the first entry in each object block.
24
25 Note: This feature is intended to be used with a configuration that was
26 previously saved using the save-config command. Manual editing of the
27 configuration file can produce unexpected results.
28
30 .ft C
31 # accel-config load-config
32 The command will load the default config file at
33 /etc/accel-config/accel-config.conf
34
35 # accel-config load-config -c <my_config.conf>
36 The command will load the specified config file
37 .ft
38
39
41 -l, --log=
42 to set where to output the config’s notification
43
44 -c, --config-file
45 to specify the location of the customized config file
46
47 -e, --enable
48 to enable the configured devices and wqs
49
50 -f, --forced
51 to disable enabled devices before configuring
52
53
54
55 ACCEL-CONFIG-LOAD()