root/trunk/config.yaml

Revision 22, 4.3 KB (checked in by lasarux, 3 years ago)
  • config.py:
  • config.yaml:
  • misc/utils.py:
  • plugins/info/info/init.py:
  • plugins/zfs/zfs/init.py:
  • plugins/zfs/zfs/zfs.glade: More changes in config stuff. ZFS plugin uses the current connection.
Line 
1# TODO: sync format with README.config
2
3hosts:
4    sparctrum:
5        ip: 192.168.2.4
6        port: 2222
7        os: solaris
8        version: 10
9    flute:
10        ip: 192.168.1.33
11        os: macosx
12        version: tiger
13    localhost:
14        ip: 127.0.0.1
15        os: linux
16        version: debian-etch
17    opensolaris:
18        ip: 127.0.0.1
19        port: 2222
20        user: root
21        os: opensolaris
22        version: 2008.11
23       
24users:
25    lasarux:
26        name: Pedro Gracia
27        password:
28        status: on
29    vfernandez:
30        name: Victor Fernandez
31        password:
32        status: on
33    test:
34        name:
35        password:
36        status: off
37
38os:
39    solaris:
40        solaris:
41            versions: []
42            archs: []
43        opensolaris:
44            versions: []
45            archs: []
46        nexenta:
47            versions: []
48            archs: []
49        schillix:
50            versions: []
51            archs: []
52        indiana:
53            versions: []
54            archs: []
55    linux:
56        debian:
57            versions: [0, 4.1, 4.0, 3.1, 3.0, 2.2, 2.1, 2.0]
58            versions_: [sid, lenny, etch, sarge,
59                       woody, potato, slink, hamm]
60            archs: [alpha, x86_64, arm, armel, hppa,
61                    i386, ia64, mips, mipsel, powerpc,
62                    sparc, s390]
63        fedora:
64            versions: [5, 6, 7, 8, 9, 10]
65            archs: [i386, x86_64, ppc]
66        opensuse:
67            versions: [10.2, 10.3, 11.0]
68            archs: [i386, x86-64, ppc]
69        mandrake:
70            versions: []
71            archs: []
72        mandriva:
73            versions: []
74            archs: []
75        foresight:
76            versions: []
77            archs: []
78        ubuntu:
79            versions: []
80            archs: []
81        centos:
82            versions: []
83            archs: []
84        rhel:
85            versions: []
86            archs: []
87        yellowdog:
88            versions: []
89            archs: []
90    macosx:
91        macosx:
92            versions: [10.0, 10.1, 10.2, 10.3, 10.4, 10.5, 10.6, 10.7]
93            versions_: [kodiak, cheetah, puma, jaguar,
94                       panther, tiger, leopard, snow_leopard]
95            archs: [ppc, intel]
96    freebsd:
97        freebsd:
98            versions: [1.0, 1.1, 1.1.5, 1.1.5.1,
99                       2.0, 2.0.5, 2.1, 2.1.5, 2.1.6, 2.1.7,
100                       2.2, 2.2.1, 2.2.2, 2.2.5, 2.2.6, 2.2.7, 2.2.8,
101                       3.0, 3.1, 3.2, 3.3, 3.4, 3.5,
102                       4.0, 4.1, 4.1.1, 4.2, 4.3, 4.4, 4.5,
103                       4.6, 4.6.2, 4.7, 4.8, 4.9, 4.10, 4.11,
104                       5.0, 5.1, 5.2, 5.2.1, 5.3, 5.4, 5.5,
105                       6.0, 6.1, 6.2, 6.3, 6.4, 7.0, 7.1]
106            archs: [alpha, amd64, i386, pc98, powerpc, sparc64]
107    netbsd:
108        netbsd:
109            versions: []
110            archs: []
111    aix:
112        aix:
113            versions: []
114            archs: []
115    hpux:
116        hpux:
117            versions: []
118            archs: []
119    irix:
120        irix:
121            versions: []
122            archs: []
123    minix:
124        minix:
125            versions: []
126            archs: []
127
128commands:
129    ps:
130        solaris: -fe
131        default: auxwww
132        headlines: 1
133        regex: (?P<user>[\w]+)\s+\
134                (?P<pid>[\d]+)\s+\
135                (?P<cpu>[\d.]+)\s+\
136                (?P<mem>[\d.]+)\s+\
137                (?P<vsz>[\d]+)\s+\
138                (?P<rss>[\d]+)\s+\
139                (?P<tt>[\w?]+)\s+\
140                (?P<stat>[\w+<]+)\s+\
141                (?P<started>[\w:]+)\s+\
142                (?P<time>[\w:.]+)\s+\
143                (?P<command>[\w\s\/.:-]+)\n
144    uname:
145        default: -a
146    df:
147        default: -h
148        headlines: 1
149        columns: ["Filesystem", "Size", "Used", "Avail", "Capacity", "Mounted on"]
150        regex: (?P<filesystem>[\w\/\[\]<>-]+|automount -[\w]+ \[[\d]+\])\s+\
151                (?P<size>[\w,.]+)\s+\
152                (?P<used>[\w,.]+)\s+\
153                (?P<avail>[\w,.]+)\s+\
154                (?P<capacity>[\w,.%]+)\s+\
155                (?P<mountedon>[\w\/.-]+)
156    mount:
157        default:
158    package-list-installed:
159        linux-debian:
160            command: dpkg -l | cat
161            columns: [status, name, description]
162            regex: (?P<status>[\w]+)\s+\
163                    (?P<name>[\w-.]+)\s+\
164                    (?P<description>[\w\s]+)
165    info: [ ps, uname ]
166plugins: [ info, zfs ]
Note: See TracBrowser for help on using the browser.