View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000019 | easycwmp | Help | public | 2014-10-21 05:08 | 2014-10-28 14:03 |
Reporter | janmus | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | ARMv5TEJ | OS | Linux | OS Version | 3.0.8 |
Summary | 0000019: Run the easycwmp support RPC method [AddOject] problem from OpenACS | ||||
Description | The 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 | ||||
Tags | No tags attached. | ||||
e-mail notification | |||||
|
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<======="); |
|
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. |
|
|
|
when you add object you should not add the instance number. cpe.AddObject('InternetGatewayDevice.LANDevice.1.WLANConfiguration.2.', ''); this done by the cpe. |
|
I use OpenACS, and all object of "InternetGatewayDevice." exist in "CWMP values tree" section. see attached file |
2014-10-24 11:29
|
|
2014-10-24 11:29
|
|
|
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 ! |
|
I use OpenACS installed on my pc. Currently, we don't have an ACS server for public access. Thank you |
|
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 ? |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-10-21 05:08 | janmus | New Issue | |
2014-10-22 15:10 |
|
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 |
|
Note Added: 0000085 | |
2014-10-24 10:13 |
|
Note Edited: 0000085 | |
2014-10-24 10:14 |
|
Note Edited: 0000085 | |
2014-10-24 10:15 |
|
Note Edited: 0000085 | |
2014-10-24 10:16 |
|
Note Edited: 0000085 | |
2014-10-24 11:28 |
|
Note Added: 0000086 | |
2014-10-24 11:29 |
|
File Added: cwmp values tree_LanDev.JPG | |
2014-10-24 11:29 |
|
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 |
|
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 |
|
Status | new => resolved |
2014-10-28 14:03 |
|
Resolution | open => fixed |
2014-10-28 14:03 |
|
Assigned To | => user13 |