/[cwmp]/google/trunk/bin/acs.pl
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /google/trunk/bin/acs.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 203 by dpavlin, Wed Nov 14 21:55:24 2007 UTC revision 205 by dpavlin, Wed Nov 14 23:02:17 2007 UTC
# Line 17  my $port = 3333; Line 17  my $port = 3333;
17  my $debug = 0;  my $debug = 0;
18  my $store_path = './';  my $store_path = './';
19  my $store_plugin = 'YAML';  my $store_plugin = 'YAML';
20    my $create_dump = 1;
21    
22  GetOptions(  GetOptions(
23          'debug+' => \$debug,          'debug+' => \$debug,
24          'port=i' => \$port,          'port=i' => \$port,
25          'store-path=s' => \$store_path,          'store-path=s' => \$store_path,
26          'store-plugin=s' => \$store_plugin,          'store-plugin=s' => \$store_plugin,
27            'create_dump!' => \$create_dump,
28  );  );
29    
30  my $server = CWMP::Server->new({  my $server = CWMP::Server->new({
31          port => $port,          port => $port,
32          store => {          session => {
33                  module => $store_plugin,                  store => {
34                  path => $store_path,                          module => $store_plugin,
35                  debug => $debug,                          path => $store_path,
36                            debug => $debug,
37                    },
38                    create_dump => $create_dump,
39          },          },
40          debug => $debug,          debug => $debug,
41  });  });

Legend:
Removed from v.203  
changed lines
  Added in v.205

  ViewVC Help
Powered by ViewVC 1.1.26