root/trunk/README.config

Revision 17, 2.6 KB (checked in by lasarux, 3 years ago)
  • README.config:
  • config.yaml: More accurated README.config and skeleton for os data
Line 
1Simplepanels configuration
2==========================
3
4CONFIG                                              TYPE    VALUES  DEFAULT DESCRIPTION     EXAMPLE
5
6hosts:
7    %hostname%:                                     str                                     solhost
8        ipv4: %ip address%                          str                                     192.168.1.10
9        ssh_port: %ssh_port%                        int                                     22
10        os: %os%                                    str                                     solaris
11        distro: %distro%                            str
12        version: %version%                          str                                     10
13
14users:
15    %username%:                                     str                                     lasarux
16        name: %name%                                str                                     Pedro Gracia
17        password: %password%                        str     
18        status: %status%                            str    on, off          is active?      on
19
20os:
21    %osname%:                                       str                                     
22        %distro_name%:                                  str
23            versions: [%version1%, %version2%]          list[int]
24            versions_: [%version1%, %version2%]          list[str]
25            archs: [%arch1%, %arch2%]
26
27plugins: [%plugin1%, %plugin2%]                     list                    plugins list
28
29# Each plugin must contains this section
30
31commands:
32    %command_name%:                                 str
33        description: %description%                  str
34        %os%:
35            %distro%:
36                %version%:
37                    %arch%:                             str
38                    headlines: %headlines%              int                     lines to discard in the output
39                    command: %command%                  str
40                    parser: %parser%                    str                     regular expresion
41                    columns: [%column1%, %column2%,]    str                     columns to show
42                    compatible: [[%os1%],
43                                 [%os2%, %distro2%],
44                                 [%os3%, %distro3%, %version3%],
45                                 [%os4%, %distro4%, %version4%, %arch4%]]
46                    exceptions: [[%os1%],
47                                 [%os2%, %distro2%],
48                                 [%os3%, %distro3%, %version3%],
49                                 [%os4%, %distro4%, %version4%, %arch4%]]
50
51
52# TODO
53
54- I18N support for this file
Note: See TracBrowser for help on using the browser.