EasyCwmp

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000019easycwmp[All Projects] Helppublic2014-10-21 05:082014-10-28 14:03
Reporterjanmus 
Assigned ToAnis 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformARMv5TEJOSLinuxOS Version3.0.8
Summary0000019: Run the easycwmp support RPC method [AddOject] problem from OpenACS
DescriptionThe Default script as below:

logger("=======>increase node AddOject<=======");
cpe.AddObject ('InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.PortMapping.','');
cpe.AddObject ('InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.','');
logger("=======>END<=======");
--------------------------------------------------------------------------
The output from jboss :

INFO: Request is Inform
INFO: oui=FFFFFF sn=FFFFFF123456 oui=FFFFFF, sn=FFFFFF123456, URL=http://192.168.0.114:7547/, [^] hw=v0.153, sw=v1.553, cfg=null, ProvisioningCode=
INFO: FFFFFF:FFFFFF123456 Configurator::run
INFO: FFFFFF:FFFFFF123456 Backup cwmp tree
INFO: FFFFFF:FFFFFF123456 Configurator::CheckParameters
INFO: oui=FFFFFF sn=FFFFFF123456 Request is GetParameterValuesResponse
INFO: =======>increase node AddOject<=======
INFO: oui=FFFFFF sn=FFFFFF123456 Request is Fault
SEVERE: FFFFFF:FFFFFF123456 Run exception: [object Object] line: 0 column: 0
11:04:53,549 INFO [STDOUT] Received: null
11:04:53,550 INFO [STDOUT] End of processing
TagsNo tags attached.
Attached Filesjpg file icon ADDobject-CWMPvaluestree.jpg [^] (164,894 bytes) 2014-10-23 05:20


jpg file icon cwmp values tree_LanDev.JPG [^] (63,750 bytes) 2014-10-24 11:29


jpg file icon cwmp values tree.JPG [^] (53,581 bytes) 2014-10-24 11:29

- Relationships

-  Notes
(0000080)
Anis (developer)
2014-10-22 15:10

Please check the permission flag of the object. Because you can add an object instance for only the object with attribute "writable" equal to 1.

check this with the following cmd:
root@OpenWrt:~# easycwmp --json get name "" 0

{ "parameter": "InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.", "fault_code": "", "writable": "0" }


try with this object :
logger("=======>increase node AddOject<=======");
cpe.AddObject ('InternetGatewayDevice.LANDevice.1.WLANConfiguration.', '');
logger("=======>END<=======");
(0000082)
janmus (reporter)
2014-10-23 05:20
edited on: 2014-10-24 09:42

I try the test that the result is OK,
But, I can not see the object be added to "CWMP values tree",
Please see the attached file (ADDobject-CWMPvaluestree.jpg).

Then,I try an another test as below:
-----------------------------------------------
logger("=======>AddObject<=======");
cpe.AddObject('InternetGatewayDevice.LANDevice.1.WLANConfiguration.2.', '');
logger("=======>END<=======");
-----------------------------------------------
The result is fail,
Error messages seem to be almost as big as the previous.

(0000085)
Anis (developer)
2014-10-24 10:12
edited on: 2014-10-24 10:16

when you add object you should not add the instance number.
cpe.AddObject('InternetGatewayDevice.LANDevice.1.WLANConfiguration.2.', '');

this done by the cpe.

(0000086)
Anis (developer)
2014-10-24 11:28

I use OpenACS, and all object of "InternetGatewayDevice." exist in "CWMP values tree" section.

see attached file
(0000087)
janmus (reporter)
2014-10-24 11:45
edited on: 2014-10-24 11:57

Yes, I see . Thank you !
I use the OpenACS at my Virtual machine,
But mine testing result different from you.

Could you send me your OpenACS IP for testing

MY e-mail : janmus.chan@gmail.com

Thank you very mush !

(0000089)
Anis (developer)
2014-10-27 11:37

I use OpenACS installed on my pc.
Currently, we don't have an ACS server for public access.

Thank you
(0000090)
janmus (reporter)
2014-10-27 13:53
edited on: 2014-10-28 04:47

OK, Thank you.

One thing I later found,
my source server may not be the OpenACS,But LibreACS(the fork of OpenACS)
I don't clear, What is the difference between OpenACS and LibreACS.

In addition to ,I can not find OpenACS images from internet release, but LibreACS.
Do you have a virtual machine version of OpenACS, available for download ?


- Issue History
Date Modified Username Field Change
2014-10-21 05:08 janmus New Issue
2014-10-22 15:10 Anis Note Added: 0000080
2014-10-23 05:20 janmus Note Added: 0000082
2014-10-23 05:20 janmus File Added: ADDobject-CWMPvaluestree.jpg
2014-10-23 08:10 janmus Note Edited: 0000082 View Revisions
2014-10-24 09:37 janmus Note Edited: 0000082 View Revisions
2014-10-24 09:42 janmus Note Edited: 0000082 View Revisions
2014-10-24 10:12 Anis Note Added: 0000085
2014-10-24 10:13 Anis Note Edited: 0000085 View Revisions
2014-10-24 10:14 Anis Note Edited: 0000085 View Revisions
2014-10-24 10:15 Anis Note Edited: 0000085 View Revisions
2014-10-24 10:16 Anis Note Edited: 0000085 View Revisions
2014-10-24 11:28 Anis Note Added: 0000086
2014-10-24 11:29 Anis File Added: cwmp values tree_LanDev.JPG
2014-10-24 11:29 Anis File Added: cwmp values tree.JPG
2014-10-24 11:45 janmus Note Added: 0000087
2014-10-24 11:56 janmus Note Edited: 0000087 View Revisions
2014-10-24 11:57 janmus Note Edited: 0000087 View Revisions
2014-10-27 11:37 Anis Note Added: 0000089
2014-10-27 13:53 janmus Note Added: 0000090
2014-10-28 04:25 janmus Note Edited: 0000090 View Revisions
2014-10-28 04:47 janmus Note Edited: 0000090 View Revisions
2014-10-28 14:03 Anis Status new => resolved
2014-10-28 14:03 Anis Resolution open => fixed
2014-10-28 14:03 Anis Assigned To => Anis


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker