aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/plugin
diff options
context:
space:
mode:
authorJulien Rottenberg2010-09-14 16:14:35 -0700
committerPim van den Berg2010-09-15 19:01:24 +0200
commit055e034d16f2d358fa6712c190fc8d3742e9531d (patch)
treeeb0339fa27be67b6d0036cd48d927056a820eb63 /plugin
parentplugin: add nfs plugin (diff)
downloadapt-panopticon_cgp-055e034d16f2d358fa6712c190fc8d3742e9531d.zip
apt-panopticon_cgp-055e034d16f2d358fa6712c190fc8d3742e9531d.tar.gz
apt-panopticon_cgp-055e034d16f2d358fa6712c190fc8d3742e9531d.tar.bz2
apt-panopticon_cgp-055e034d16f2d358fa6712c190fc8d3742e9531d.tar.xz
plugin/nfs: remove ds_names to keep it simple
Diffstat (limited to 'plugin')
-rw-r--r--plugin/nfs.php44
1 files changed, 0 insertions, 44 deletions
diff --git a/plugin/nfs.php b/plugin/nfs.php
index d389963..be131c2 100644
--- a/plugin/nfs.php
+++ b/plugin/nfs.php
@@ -17,55 +17,11 @@ $obj->data_sources = array('value');
17switch($obj->args['pinstance']) { 17switch($obj->args['pinstance']) {
18 case 'v2client': 18 case 'v2client':
19 $obj->order = array('create', 'fsstat', 'getattr', 'link', 'lookup', 'mkdir', 'null', 'readdir', 'readlink', 'read', 'remove', 'rename', 'rmdir', 'root', 'setattr', 'symlink', 'wrcache', 'write'); 19 $obj->order = array('create', 'fsstat', 'getattr', 'link', 'lookup', 'mkdir', 'null', 'readdir', 'readlink', 'read', 'remove', 'rename', 'rmdir', 'root', 'setattr', 'symlink', 'wrcache', 'write');
20 $obj->ds_names = array(
21 'create' => 'Create ',
22 'fsstat' => 'FSStat ',
23 'getattr' => 'GetAttr ',
24 'link' => 'Link ',
25 'lookup' => 'Lookup ',
26 'mkdir' => 'MkDir ',
27 'null' => 'Null ',
28 'readdir' => 'ReadDir ',
29 'readlink' => 'ReadLink ',
30 'read' => 'Read ',
31 'remove' => 'Remove ',
32 'rename' => 'Rename ',
33 'rmdir' => 'RmDir ',
34 'root' => 'Root ',
35 'setattr' => 'SetAttr ',
36 'symlink' => 'SymLink ',
37 'wrcache' => 'WrCache ',
38 'write' => 'Write ',
39 );
40 $obj->generate_colors(); 20 $obj->generate_colors();
41 break; 21 break;
42 22
43 case 'v3client': 23 case 'v3client':
44 $obj->order = array('access', 'commit', 'create', 'fsinfo', 'fsstat', 'getattr', 'link', 'lookup', 'mkdir', 'mknod', 'null', 'pathconf', 'read', 'readdir', 'readdirplus', 'readlink', 'remove', 'rename', 'rmdir', 'setattr', 'symlink', 'write'); 24 $obj->order = array('access', 'commit', 'create', 'fsinfo', 'fsstat', 'getattr', 'link', 'lookup', 'mkdir', 'mknod', 'null', 'pathconf', 'read', 'readdir', 'readdirplus', 'readlink', 'remove', 'rename', 'rmdir', 'setattr', 'symlink', 'write');
45 $obj->ds_names = array(
46 'getattr' => 'GetAttr ',
47 'setattr' => 'SetAttr ',
48 'lookup' => 'Lookup ',
49 'access' => 'Access ',
50 'readlink' => 'ReadLink ',
51 'read' => 'Read ',
52 'write' => 'Write ',
53 'create' => 'Create ',
54 'mkdir' => 'MkDir ',
55 'symlink' => 'Symlink ',
56 'mknod' => 'MkNode ',
57 'remove' => 'Remove ',
58 'rmdir' => 'RmDir ',
59 'rename' => 'Rename ',
60 'link' => 'Link ',
61 'readdir' => 'ReadDir ',
62 'readdirplus' => 'ReadDirPlus ',
63 'fsstat' => 'FsStat ',
64 'fsinfo' => 'FsInfo ',
65 'pathconf' => 'PathConf ',
66 'commit' => 'Commit ',
67 'null' => 'Null ',
68 );
69 $obj->generate_colors(); 25 $obj->generate_colors();
70 26
71 break; 27 break;