View Issue Details

IDProjectCategoryView StatusLast Update
0000019easycwmpHelppublic2014-10-28 14:03
Reporterjanmus Assigned Touser13 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
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.
e-mail notification

Activities

user13

2014-10-22 15:10

  ~0000080

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<=======");

janmus

2014-10-23 05:20

reporter   ~0000082

Last edited: 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.

janmus

2014-10-23 05:20

reporter  

ADDobject-CWMPvaluestree.jpg (164,894 bytes)   
ADDobject-CWMPvaluestree.jpg (164,894 bytes)   

user13

2014-10-24 10:12

  ~0000085

Last edited: 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.

user13

2014-10-24 11:28

  ~0000086

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

see attached file

user13

2014-10-24 11:29

 

cwmp values tree_LanDev.JPG (63,750 bytes)   
cwmp values tree_LanDev.JPG (63,750 bytes)   

user13

2014-10-24 11:29

 

cwmp values tree.JPG (53,581 bytes)   
cwmp values tree.JPG (53,581 bytes)   

janmus

2014-10-24 11:45

reporter   ~0000087

Last edited: 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 !

user13

2014-10-27 11:37

  ~0000089

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

Thank you

janmus

2014-10-27 13:53

reporter   ~0000090

Last edited: 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 user13 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
2014-10-24 09:37 janmus Note Edited: 0000082
2014-10-24 09:42 janmus Note Edited: 0000082
2014-10-24 10:12 user13 Note Added: 0000085
2014-10-24 10:13 user13 Note Edited: 0000085
2014-10-24 10:14 user13 Note Edited: 0000085
2014-10-24 10:15 user13 Note Edited: 0000085
2014-10-24 10:16 user13 Note Edited: 0000085
2014-10-24 11:28 user13 Note Added: 0000086
2014-10-24 11:29 user13 File Added: cwmp values tree_LanDev.JPG
2014-10-24 11:29 user13 File Added: cwmp values tree.JPG
2014-10-24 11:45 janmus Note Added: 0000087
2014-10-24 11:56 janmus Note Edited: 0000087
2014-10-24 11:57 janmus Note Edited: 0000087
2014-10-27 11:37 user13 Note Added: 0000089
2014-10-27 13:53 janmus Note Added: 0000090
2014-10-28 04:25 janmus Note Edited: 0000090
2014-10-28 04:47 janmus Note Edited: 0000090
2014-10-28 14:03 user13 Status new => resolved
2014-10-28 14:03 user13 Resolution open => fixed
2014-10-28 14:03 user13 Assigned To => user13