View Issue Details

IDProjectCategoryView StatusLast Update
0000040easycwmpQuestionpublic2015-03-05 09:38
Reportertarakt Assigned Tomohamed.kallel  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionno change required 
PlatformOpenWRTOSbarrier breaker  
Summary0000040: Delete object or Addobject
DescriptionHello Easycwmp team,

We are planning to incorporate EasyCwmp in one of our OpenWRT projects. So we are in the process of evaluation of EasyCwmp over other TR-069 client. We had a question about handling of instance number in EasyCwmp. If you could clarify that it would be great for our evaluation.

The question we have is related to Add and Delete Object. We wanted to know if the instance number is maintained by TR-069 client. Below is the scenario.

There are 4 instances added for a object

A.B.1.C.1.D
A.B.1.C.2.D
A.B.1.C.3.D
A.B.1.C.4.D

ACS sends a delete object on "A.B.1.C.3.D" i.e., ACS is asking CPE to delete the third instance. So now there are 3 objects left. After delete object the ACS sends a GetParameterName request on object A.B.1. What will be the CPE response for GetParameterName request from the below two response option?

A.B.1.C.1.D
A.B.1.C.2.D
A.B.1.C.4.D

or

A.B.1.C.1.D
A.B.1.C.2.D
A.B.1.C.3.D

If you need more clarification on the above question then please let us know.
TagsNo tags attached.
e-mail notification

Activities

mohamed.kallel

2015-03-04 11:56

administrator   ~0000142

Last edited: 2015-03-04 11:57

According to the TR-069 standard, If the ACS send a delete object of

A.B.1.C.3.D

The CWMP should return an Invalid parameter name fault. Because the "A.B.1.C.3.D" is a parameter and not an object instance.

The right way is: The ACS should send a delete Object of "A.B.1.C.3.".

So based on the above condition, if you have 4 instances objects:

A.B.1.C.1.
A.B.1.C.2.
A.B.1.C.3.
A.B.1.C.4.

And you want to delete the "A.B.1.C.3.", you will get:

A.B.1.C.1.
A.B.1.C.2.
A.B.1.C.4.

as required by the TR-069 standard.

You can find an example for that in the lan_device script. Just add a wireless config on your openwrt and then add some wireless interface to the lan and then you can play with wireless instances

tarakt

2015-03-04 17:39

reporter   ~0000143

Thanks for the response. Will check with the script you have suggested.

Issue History

Date Modified Username Field Change
2015-03-03 17:27 tarakt New Issue
2015-03-04 11:56 mohamed.kallel Note Added: 0000142
2015-03-04 11:57 mohamed.kallel Note Edited: 0000142
2015-03-04 11:57 mohamed.kallel Note Edited: 0000142
2015-03-04 11:59 mohamed.kallel Category General => Question
2015-03-04 12:01 mohamed.kallel View Status private => public
2015-03-04 12:02 mohamed.kallel View Status public => private
2015-03-04 17:39 tarakt Note Added: 0000143
2015-03-04 17:40 tarakt Note View State: 0000143: private
2015-03-04 17:46 mohamed.kallel View Status private => public
2015-03-04 17:46 mohamed.kallel Note View State: 0000143: public
2015-03-04 17:47 mohamed.kallel Note View State: 0000143: private
2015-03-04 17:47 mohamed.kallel View Status public => private
2015-03-04 17:48 mohamed.kallel Status new => resolved
2015-03-04 17:48 mohamed.kallel Resolution open => no change required
2015-03-04 17:48 mohamed.kallel Assigned To => mohamed.kallel
2015-03-05 09:38 mohamed.kallel View Status private => public
2015-03-05 09:38 mohamed.kallel Note View State: 0000143: public