perl-cwmp.git
16 years agocreate symlinks based on _dispatch to dumped requsts
Dobrica Pavlinusic [Sun, 28 Oct 2007 19:45:19 +0000 (19:45 +0000)]
create symlinks based on _dispatch to dumped requsts

git-svn-id: https://perl-cwmp.googlecode.com/svn/trunk@176 836a5e1a-633d-0410-964b-294494ad4392

16 years agofix message when waiting for next request
Dobrica Pavlinusic [Sun, 28 Oct 2007 19:44:17 +0000 (19:44 +0000)]
fix message when waiting for next request

git-svn-id: https://perl-cwmp.googlecode.com/svn/trunk@175 836a5e1a-633d-0410-964b-294494ad4392

16 years agofix server test to use new current_store accessor to store plugin
Dobrica Pavlinusic [Sun, 28 Oct 2007 17:43:01 +0000 (17:43 +0000)]
fix server test to use new current_store accessor to store plugin

git-svn-id: https://perl-cwmp.googlecode.com/svn/trunk@174 836a5e1a-633d-0410-964b-294494ad4392

16 years agono functional changes, just cleanup of pod and re-order methods
Dobrica Pavlinusic [Sun, 28 Oct 2007 16:57:34 +0000 (16:57 +0000)]
no functional changes, just cleanup of pod and re-order methods

git-svn-id: https://perl-cwmp.googlecode.com/svn/trunk@173 836a5e1a-633d-0410-964b-294494ad4392

16 years agogreat API breaking update to version [0.07]
Dobrica Pavlinusic [Sun, 28 Oct 2007 16:39:58 +0000 (16:39 +0000)]
great API breaking update to version [0.07]

CWMP::Response (which somewhat made sense since it was response from server)
is now called CWMP::Methods (to more closely match protocol terminology)

git-svn-id: https://perl-cwmp.googlecode.com/svn/trunk@172 836a5e1a-633d-0410-964b-294494ad4392

16 years agoimplemented correct GetParameterValues which unrolls ParameterNames into xsd:strings
Dobrica Pavlinusic [Sun, 28 Oct 2007 15:43:07 +0000 (15:43 +0000)]
implemented correct GetParameterValues which unrolls ParameterNames into xsd:strings

git-svn-id: https://perl-cwmp.googlecode.com/svn/trunk@171 836a5e1a-633d-0410-964b-294494ad4392

16 years agodump queue structure correctly if it exists
Dobrica Pavlinusic [Sun, 28 Oct 2007 15:00:19 +0000 (15:00 +0000)]
dump queue structure correctly if it exists

git-svn-id: https://perl-cwmp.googlecode.com/svn/trunk@170 836a5e1a-633d-0410-964b-294494ad4392

16 years agofix warnings
Dobrica Pavlinusic [Sun, 28 Oct 2007 13:05:01 +0000 (13:05 +0000)]
fix warnings

git-svn-id: https://perl-cwmp.googlecode.com/svn/trunk@169 836a5e1a-633d-0410-964b-294494ad4392

16 years ago- implement parametars to commands in queue (just pass array as command)
Dobrica Pavlinusic [Sun, 28 Oct 2007 13:01:03 +0000 (13:01 +0000)]
- implement parametars to commands in queue (just pass array as command)
- store debugging moved to debug level 4 (makes make dump much more useful)
- version bump [0.06]

git-svn-id: https://perl-cwmp.googlecode.com/svn/trunk@168 836a5e1a-633d-0410-964b-294494ad4392

16 years agocheck response with parametars
Dobrica Pavlinusic [Sun, 28 Oct 2007 12:21:53 +0000 (12:21 +0000)]
check response with parametars

git-svn-id: https://perl-cwmp.googlecode.com/svn/trunk@167 836a5e1a-633d-0410-964b-294494ad4392

16 years agoadd test for GetParameterValues
Dobrica Pavlinusic [Sun, 28 Oct 2007 11:53:01 +0000 (11:53 +0000)]
add test for GetParameterValues

git-svn-id: https://perl-cwmp.googlecode.com/svn/trunk@166 836a5e1a-633d-0410-964b-294494ad4392

16 years agofix pod
Dobrica Pavlinusic [Sun, 28 Oct 2007 11:50:47 +0000 (11:50 +0000)]
fix pod

git-svn-id: https://perl-cwmp.googlecode.com/svn/trunk@165 836a5e1a-633d-0410-964b-294494ad4392

16 years agorefactore response tests to create response xml files if
Dobrica Pavlinusic [Sun, 28 Oct 2007 11:11:40 +0000 (11:11 +0000)]
refactore response tests to create response xml files if
they doesn't exist (so, implementing new command consists
of adding one line in 20-response.t, re-run test and check if xml is valid
and commit it :-)

git-svn-id: https://perl-cwmp.googlecode.com/svn/trunk@164 836a5e1a-633d-0410-964b-294494ad4392

16 years agosince pluggable store landed in trunk add --store-path and --store-module options
Dobrica Pavlinusic [Sat, 27 Oct 2007 23:06:09 +0000 (23:06 +0000)]
since pluggable store landed in trunk add --store-path and --store-module options

git-svn-id: https://perl-cwmp.googlecode.com/svn/trunk@163 836a5e1a-633d-0410-964b-294494ad4392

16 years ago r148@llin (orig r147): dpavlin | 2007-10-28 00:48:11 +0200
Dobrica Pavlinusic [Sat, 27 Oct 2007 22:55:55 +0000 (22:55 +0000)]
 r148@llin (orig r147):  dpavlin | 2007-10-28 00:48:11 +0200
 test with YAML store, expose problem with get_state( ID ) which fails
 because session is no longer in store

git-svn-id: https://perl-cwmp.googlecode.com/svn/trunk@162 836a5e1a-633d-0410-964b-294494ad4392

16 years ago r147@llin (orig r146): dpavlin | 2007-10-28 00:43:25 +0200
Dobrica Pavlinusic [Sat, 27 Oct 2007 22:55:45 +0000 (22:55 +0000)]
 r147@llin (orig r146):  dpavlin | 2007-10-28 00:43:25 +0200
 - added clean parametar to stores to start with empty database
 - much less chatty without debug
 - test both existing store plugins
 - finish API rename in CWMP::Store, version bump [0.05]

git-svn-id: https://perl-cwmp.googlecode.com/svn/trunk@161 836a5e1a-633d-0410-964b-294494ad4392

16 years ago r146@llin (orig r145): dpavlin | 2007-10-28 00:13:48 +0200
Dobrica Pavlinusic [Sat, 27 Oct 2007 22:55:26 +0000 (22:55 +0000)]
 r146@llin (orig r145):  dpavlin | 2007-10-28 00:13:48 +0200
 wipe html directory on make clean

git-svn-id: https://perl-cwmp.googlecode.com/svn/trunk@160 836a5e1a-633d-0410-964b-294494ad4392

16 years ago r145@llin (orig r144): dpavlin | 2007-10-28 00:12:55 +0200
Dobrica Pavlinusic [Sat, 27 Oct 2007 22:55:17 +0000 (22:55 +0000)]
 r145@llin (orig r144):  dpavlin | 2007-10-28 00:12:55 +0200
 create documentation with frames

git-svn-id: https://perl-cwmp.googlecode.com/svn/trunk@159 836a5e1a-633d-0410-964b-294494ad4392

16 years ago r144@llin (orig r143): dpavlin | 2007-10-28 00:03:29 +0200
Dobrica Pavlinusic [Sat, 27 Oct 2007 22:55:04 +0000 (22:55 +0000)]
 r144@llin (orig r143):  dpavlin | 2007-10-28 00:03:29 +0200
 build system nit-picking

git-svn-id: https://perl-cwmp.googlecode.com/svn/trunk@158 836a5e1a-633d-0410-964b-294494ad4392

16 years ago r143@llin (orig r142): dpavlin | 2007-10-28 00:02:50 +0200
Dobrica Pavlinusic [Sat, 27 Oct 2007 22:54:51 +0000 (22:54 +0000)]
 r143@llin (orig r142):  dpavlin | 2007-10-28 00:02:50 +0200
 pod fix

git-svn-id: https://perl-cwmp.googlecode.com/svn/trunk@157 836a5e1a-633d-0410-964b-294494ad4392

16 years ago r142@llin (orig r141): dpavlin | 2007-10-28 00:01:28 +0200
Dobrica Pavlinusic [Sat, 27 Oct 2007 22:54:40 +0000 (22:54 +0000)]
 r142@llin (orig r141):  dpavlin | 2007-10-28 00:01:28 +0200
 added html target using http://svn.rot13.org/index.cgi/perl/view/trunk/allpod2xhtml.pl

git-svn-id: https://perl-cwmp.googlecode.com/svn/trunk@156 836a5e1a-633d-0410-964b-294494ad4392

16 years ago r140@llin (orig r139): dpavlin | 2007-10-27 12:13:01 +0200
Dobrica Pavlinusic [Sat, 27 Oct 2007 22:54:28 +0000 (22:54 +0000)]
 r140@llin (orig r139):  dpavlin | 2007-10-27 12:13:01 +0200
 all low-level store plugins now take path as argument

git-svn-id: https://perl-cwmp.googlecode.com/svn/trunk@155 836a5e1a-633d-0410-964b-294494ad4392

16 years ago r139@llin (orig r138): dpavlin | 2007-10-26 23:41:42 +0200
Dobrica Pavlinusic [Sat, 27 Oct 2007 22:54:11 +0000 (22:54 +0000)]
 r139@llin (orig r138):  dpavlin | 2007-10-26 23:41:42 +0200
 use Hash::Merge to correctly handle update, This might actually move to
 Store, but this way plugins get only new state...

git-svn-id: https://perl-cwmp.googlecode.com/svn/trunk@154 836a5e1a-633d-0410-964b-294494ad4392

16 years ago r138@llin (orig r137): dpavlin | 2007-10-26 23:25:08 +0200
Dobrica Pavlinusic [Sat, 27 Oct 2007 22:53:58 +0000 (22:53 +0000)]
 r138@llin (orig r137):  dpavlin | 2007-10-26 23:25:08 +0200
 everything uses yaml for now

git-svn-id: https://perl-cwmp.googlecode.com/svn/trunk@153 836a5e1a-633d-0410-964b-294494ad4392

16 years ago r137@llin (orig r136): dpavlin | 2007-10-26 23:20:50 +0200
Dobrica Pavlinusic [Sat, 27 Oct 2007 22:53:44 +0000 (22:53 +0000)]
 r137@llin (orig r136):  dpavlin | 2007-10-26 23:20:50 +0200
 fix all known uids

git-svn-id: https://perl-cwmp.googlecode.com/svn/trunk@152 836a5e1a-633d-0410-964b-294494ad4392

16 years ago r136@llin (orig r135): dpavlin | 2007-10-26 23:04:55 +0200
Dobrica Pavlinusic [Sat, 27 Oct 2007 22:53:33 +0000 (22:53 +0000)]
 r136@llin (orig r135):  dpavlin | 2007-10-26 23:04:55 +0200
 simple YAML store plugin to ease debugging

git-svn-id: https://perl-cwmp.googlecode.com/svn/trunk@151 836a5e1a-633d-0410-964b-294494ad4392

16 years ago r135@llin (orig r134): dpavlin | 2007-10-26 22:49:13 +0200
Dobrica Pavlinusic [Sat, 27 Oct 2007 22:53:22 +0000 (22:53 +0000)]
 r135@llin (orig r134):  dpavlin | 2007-10-26 22:49:13 +0200
 forgoten Module::Pluggable

git-svn-id: https://perl-cwmp.googlecode.com/svn/trunk@150 836a5e1a-633d-0410-964b-294494ad4392

16 years ago r134@llin (orig r133): dpavlin | 2007-10-26 22:46:09 +0200
Dobrica Pavlinusic [Sat, 27 Oct 2007 22:53:14 +0000 (22:53 +0000)]
 r134@llin (orig r133):  dpavlin | 2007-10-26 22:46:09 +0200
 Rough draft of low-level store mechanisam.

git-svn-id: https://perl-cwmp.googlecode.com/svn/trunk@149 836a5e1a-633d-0410-964b-294494ad4392

16 years ago r133@llin (orig r132): dpavlin | 2007-10-26 21:26:47 +0200
Dobrica Pavlinusic [Sat, 27 Oct 2007 22:51:15 +0000 (22:51 +0000)]
 r133@llin (orig r132):  dpavlin | 2007-10-26 21:26:47 +0200
 kick session out of store

git-svn-id: https://perl-cwmp.googlecode.com/svn/trunk@148 836a5e1a-633d-0410-964b-294494ad4392

16 years agotest with YAML store, expose problem with get_state( ID ) which fails
Dobrica Pavlinusic [Sat, 27 Oct 2007 22:48:11 +0000 (22:48 +0000)]
test with YAML store, expose problem with get_state( ID ) which fails
because session is no longer in store

git-svn-id: https://perl-cwmp.googlecode.com/svn/branches/store-pluggable@147 836a5e1a-633d-0410-964b-294494ad4392

16 years ago- added clean parametar to stores to start with empty database
Dobrica Pavlinusic [Sat, 27 Oct 2007 22:43:25 +0000 (22:43 +0000)]
- added clean parametar to stores to start with empty database
- much less chatty without debug
- test both existing store plugins
- finish API rename in CWMP::Store, version bump [0.05]

git-svn-id: https://perl-cwmp.googlecode.com/svn/branches/store-pluggable@146 836a5e1a-633d-0410-964b-294494ad4392

16 years agowipe html directory on make clean
Dobrica Pavlinusic [Sat, 27 Oct 2007 22:13:48 +0000 (22:13 +0000)]
wipe html directory on make clean

git-svn-id: https://perl-cwmp.googlecode.com/svn/branches/store-pluggable@145 836a5e1a-633d-0410-964b-294494ad4392

16 years agocreate documentation with frames
Dobrica Pavlinusic [Sat, 27 Oct 2007 22:12:55 +0000 (22:12 +0000)]
create documentation with frames

git-svn-id: https://perl-cwmp.googlecode.com/svn/branches/store-pluggable@144 836a5e1a-633d-0410-964b-294494ad4392

16 years agobuild system nit-picking
Dobrica Pavlinusic [Sat, 27 Oct 2007 22:03:29 +0000 (22:03 +0000)]
build system nit-picking

git-svn-id: https://perl-cwmp.googlecode.com/svn/branches/store-pluggable@143 836a5e1a-633d-0410-964b-294494ad4392

16 years agopod fix
Dobrica Pavlinusic [Sat, 27 Oct 2007 22:02:50 +0000 (22:02 +0000)]
pod fix

git-svn-id: https://perl-cwmp.googlecode.com/svn/branches/store-pluggable@142 836a5e1a-633d-0410-964b-294494ad4392

16 years agoadded html target using http://svn.rot13.org/index.cgi/perl/view/trunk/allpod2xhtml.pl
Dobrica Pavlinusic [Sat, 27 Oct 2007 22:01:28 +0000 (22:01 +0000)]
added html target using svn.rot13.org/index.cgi/perl/view/trunk/allpod2xhtml.pl

git-svn-id: https://perl-cwmp.googlecode.com/svn/branches/store-pluggable@141 836a5e1a-633d-0410-964b-294494ad4392

16 years agoEval wrapping in process_request, should not die on session based exception.
Ole Martin Eide [Sat, 27 Oct 2007 17:57:40 +0000 (17:57 +0000)]
Eval wrapping in process_request, should not die on session based exception.

Added GetParameterValues.

git-svn-id: https://perl-cwmp.googlecode.com/svn/trunk@140 836a5e1a-633d-0410-964b-294494ad4392

16 years agoall low-level store plugins now take path as argument
Dobrica Pavlinusic [Sat, 27 Oct 2007 10:13:01 +0000 (10:13 +0000)]
all low-level store plugins now take path as argument

git-svn-id: https://perl-cwmp.googlecode.com/svn/branches/store-pluggable@139 836a5e1a-633d-0410-964b-294494ad4392

16 years agouse Hash::Merge to correctly handle update, This might actually move to
Dobrica Pavlinusic [Fri, 26 Oct 2007 21:41:42 +0000 (21:41 +0000)]
use Hash::Merge to correctly handle update, This might actually move to
Store, but this way plugins get only new state...

git-svn-id: https://perl-cwmp.googlecode.com/svn/branches/store-pluggable@138 836a5e1a-633d-0410-964b-294494ad4392

16 years agoeverything uses yaml for now
Dobrica Pavlinusic [Fri, 26 Oct 2007 21:25:08 +0000 (21:25 +0000)]
everything uses yaml for now

git-svn-id: https://perl-cwmp.googlecode.com/svn/branches/store-pluggable@137 836a5e1a-633d-0410-964b-294494ad4392

16 years agofix all known uids
Dobrica Pavlinusic [Fri, 26 Oct 2007 21:20:50 +0000 (21:20 +0000)]
fix all known uids

git-svn-id: https://perl-cwmp.googlecode.com/svn/branches/store-pluggable@136 836a5e1a-633d-0410-964b-294494ad4392

16 years agosimple YAML store plugin to ease debugging
Dobrica Pavlinusic [Fri, 26 Oct 2007 21:04:55 +0000 (21:04 +0000)]
simple YAML store plugin to ease debugging

git-svn-id: https://perl-cwmp.googlecode.com/svn/branches/store-pluggable@135 836a5e1a-633d-0410-964b-294494ad4392

16 years agoforgoten Module::Pluggable
Dobrica Pavlinusic [Fri, 26 Oct 2007 20:49:13 +0000 (20:49 +0000)]
forgoten Module::Pluggable

git-svn-id: https://perl-cwmp.googlecode.com/svn/branches/store-pluggable@134 836a5e1a-633d-0410-964b-294494ad4392

16 years agoRough draft of low-level store mechanisam.
Dobrica Pavlinusic [Fri, 26 Oct 2007 20:46:09 +0000 (20:46 +0000)]
Rough draft of low-level store mechanisam.

git-svn-id: https://perl-cwmp.googlecode.com/svn/branches/store-pluggable@133 836a5e1a-633d-0410-964b-294494ad4392

16 years agokick session out of store
Dobrica Pavlinusic [Fri, 26 Oct 2007 19:26:47 +0000 (19:26 +0000)]
kick session out of store

git-svn-id: https://perl-cwmp.googlecode.com/svn/branches/store-pluggable@132 836a5e1a-633d-0410-964b-294494ad4392

16 years agomake branch to experiment with Module::Pluggable store
Dobrica Pavlinusic [Fri, 26 Oct 2007 19:21:53 +0000 (19:21 +0000)]
make branch to experiment with Module::Pluggable store

git-svn-id: https://perl-cwmp.googlecode.com/svn/branches/store-pluggable@131 836a5e1a-633d-0410-964b-294494ad4392

16 years agocwmp enable/disable
Dobrica Pavlinusic [Fri, 26 Oct 2007 18:38:00 +0000 (18:38 +0000)]
cwmp enable/disable

git-svn-id: https://perl-cwmp.googlecode.com/svn/trunk@130 836a5e1a-633d-0410-964b-294494ad4392

16 years agoadded ask(prompt|default) in scripts to interactivly ask questions,
Dobrica Pavlinusic [Fri, 26 Oct 2007 18:12:10 +0000 (18:12 +0000)]
added ask(prompt|default) in scripts to interactivly ask questions,
IP adress of modem is first (optional) param

git-svn-id: https://perl-cwmp.googlecode.com/svn/trunk@129 836a5e1a-633d-0410-964b-294494ad4392

16 years agoinclude IP address in dump/ filenames
Dobrica Pavlinusic [Fri, 26 Oct 2007 16:52:24 +0000 (16:52 +0000)]
include IP address in dump/ filenames

git-svn-id: https://perl-cwmp.googlecode.com/svn/trunk@126 836a5e1a-633d-0410-964b-294494ad4392

16 years agoorganize and document scripts collection
Dobrica Pavlinusic [Fri, 26 Oct 2007 16:22:23 +0000 (16:22 +0000)]
organize and document scripts collection

git-svn-id: https://perl-cwmp.googlecode.com/svn/trunk@125 836a5e1a-633d-0410-964b-294494ad4392

16 years agosome more source re-org
Dobrica Pavlinusic [Fri, 26 Oct 2007 15:54:15 +0000 (15:54 +0000)]
some more source re-org

git-svn-id: https://perl-cwmp.googlecode.com/svn/trunk@119 836a5e1a-633d-0410-964b-294494ad4392

16 years agotake next pending command on empty request
Dobrica Pavlinusic [Fri, 26 Oct 2007 15:51:27 +0000 (15:51 +0000)]
take next pending command on empty request

git-svn-id: https://perl-cwmp.googlecode.com/svn/trunk@118 836a5e1a-633d-0410-964b-294494ad4392

16 years agosequentially number requests and responses to see real flow in dump dir
Dobrica Pavlinusic [Fri, 26 Oct 2007 15:16:10 +0000 (15:16 +0000)]
sequentially number requests and responses to see real flow in dump dir

git-svn-id: https://perl-cwmp.googlecode.com/svn/trunk@117 836a5e1a-633d-0410-964b-294494ad4392

16 years agofinished dump target (which used to be debug in last commit) which will dump
Dobrica Pavlinusic [Fri, 26 Oct 2007 15:11:50 +0000 (15:11 +0000)]
finished dump target (which used to be debug in last commit) which will dump
requests and responses to dump/ directory which will in turn be cleaned by
make clean

git-svn-id: https://perl-cwmp.googlecode.com/svn/trunk@116 836a5e1a-633d-0410-964b-294494ad4392

16 years agocreate custom targets in makefile (debug is first one)
Dobrica Pavlinusic [Fri, 26 Oct 2007 14:39:42 +0000 (14:39 +0000)]
create custom targets in makefile (debug is first one)

git-svn-id: https://perl-cwmp.googlecode.com/svn/trunk@115 836a5e1a-633d-0410-964b-294494ad4392

16 years agorequire Test::More for build
Dobrica Pavlinusic [Fri, 26 Oct 2007 13:02:27 +0000 (13:02 +0000)]
require Test::More for build

git-svn-id: https://perl-cwmp.googlecode.com/svn/trunk@114 836a5e1a-633d-0410-964b-294494ad4392

16 years agoignore bunch of stuff we don't care about in svn
Dobrica Pavlinusic [Fri, 26 Oct 2007 12:01:22 +0000 (12:01 +0000)]
ignore bunch of stuff we don't care about in svn

git-svn-id: https://perl-cwmp.googlecode.com/svn/trunk@113 836a5e1a-633d-0410-964b-294494ad4392

16 years agostart server in debug mode and generate various debugging output
Dobrica Pavlinusic [Fri, 26 Oct 2007 12:00:38 +0000 (12:00 +0000)]
start server in debug mode and generate various debugging output

git-svn-id: https://perl-cwmp.googlecode.com/svn/trunk@112 836a5e1a-633d-0410-964b-294494ad4392

16 years agoreorg source code tree to make trunk
Dobrica Pavlinusic [Fri, 26 Oct 2007 11:42:39 +0000 (11:42 +0000)]
reorg source code tree to make trunk

git-svn-id: https://perl-cwmp.googlecode.com/svn/trunk@111 836a5e1a-633d-0410-964b-294494ad4392