/[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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 150 - (hide annotations)
Sat Oct 27 22:53:14 2007 UTC (16 years, 7 months ago) by dpavlin
File MIME type: text/plain
File size: 486 byte(s)
 r134@llin (orig r133):  dpavlin | 2007-10-26 22:46:09 +0200
 Rough draft of low-level store mechanisam.

1 dpavlin 28 #!/usr/bin/perl -w
2    
3     # acs.pl
4     #
5     # 06/18/07 09:19:54 CEST Dobrica Pavlinusic <dpavlin@rot13.org>
6    
7     use strict;
8    
9 dpavlin 30 use lib './lib';
10     use CWMP::Server;
11 dpavlin 57 use Getopt::Long;
12 dpavlin 28
13     my $port = 3333;
14 dpavlin 57 my $debug = 0;
15 dpavlin 28
16 dpavlin 57 GetOptions(
17     'debug+' => \$debug,
18     'port=i' => \$port,
19     );
20    
21 dpavlin 50 my $server = CWMP::Server->new({
22     port => $port,
23 dpavlin 150 store => {
24     module => 'DBMDeep',
25     store_path => 'state.db',
26     },
27 dpavlin 53 debug => $debug,
28 dpavlin 84 default_queue => [ qw/
29 dpavlin 53 GetRPCMethods
30 dpavlin 57 GetParameterNames
31 dpavlin 50 / ],
32 dpavlin 57 # Reboot
33 dpavlin 50 });
34 dpavlin 28 $server->run();
35    

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26