Preset, add more than 3 objects, wrong order

Markus Mehlan markus.mehlan at argus.info
Mon May 18 07:08:41 EDT 2015


Hello Zaid,

 

I think there is a problem with the precondition mechanism if I want to configure more than 3

similar objects. The data is not written into the right objects, e.g.

Device.Services.VoiceService.1.NetworkProfile.1.SIPLine.3.AuthPassword should be  "Password3c",

but ACS writes “Password4d”.

I recognized this behavior with a real CPE and with the test.js-Client.

 

The AddObject-RPC works as expected, but not the SetParameterValues-RPC.

 

Have you got any idea, where the problem  is?

 

Best greetings,

Markus

 

 

--------------Precondition---------------

{

    "weight" : 0,

    "precondition" : "{\"summary.productClass\":\"CPETest\"}",

    "configurations" : [ 

        {

            "type" : "value",

            "name" : "Device.Services.VoiceService.1.NetworkProfile.1.SIPLine.1.AuthUserName",

            "value" : "User1"

        }, 

        {

            "type" : "value",

            "name" : "Device.Services.VoiceService.1.NetworkProfile.1.SIPLine.1.AuthPassword",

            "value" : "Password1"

        }, 

        {

            "type" : "value",

            "name" : "Device.Services.VoiceService.1.NetworkProfile.1.SIPLine.1.URI",

            "value" : "sip:+49101 at tel.test.com"

        }, 

        {

            "type" : "value",

            "name" : "Device.DeviceInfo.ProvisioningCode",

            "value" : "000.004.000.000"

        }, 

        {

            "type" : "add_object",

            "name" : "Device.Services.VoiceService.1.NetworkProfile.1.Line",

            "object" : "CPE_Line_2"

        }, 

        {

            "type" : "add_object",

            "name" : "Device.Services.VoiceService.1.NetworkProfile.1.SIPLine",

            "object" : "CPE_SIPLine_2"

        }, 

        {

            "type" : "add_object",

            "name" : "Device.Services.VoiceService.1.NetworkProfile.1.Line",

            "object" : "CPE_Line_3"

        }, 

        {

            "type" : "add_object",

            "name" : "Device.Services.VoiceService.1.NetworkProfile.1.SIPLine",

            "object" : "CPE_SIPLine_3"

        }, 

        {

            "type" : "add_object",

            "name" : "Device.Services.VoiceService.1.NetworkProfile.1.Line",

            "object" : "CPE_Line_4"

        }, 

        {

            "type" : "add_object",

            "name" : "Device.Services.VoiceService.1.NetworkProfile.1.SIPLine",

            "object" : "CPE_SIPLine_4"

        }, 

        {

            "type" : "add_object",

            "name" : "Device.Services.VoiceService.1.NetworkProfile.1.Line",

            "object" : "CPE_Line_5"

        }, 

        {

            "type" : "add_object",

            "name" : "Device.Services.VoiceService.1.NetworkProfile.1.SIPLine",

            "object" : "CPE_SIPLine_5"

        }

    ],

    "_id" : "CPETest1"

}

 

--------------Objects---------------

{

    "AuthUserName" : "User2",

    "AuthPassword" : "Password2b",

    "URI" : "sip:+49102 at tel.test.com",

    "_keys" : [ 

        "AuthUserName", 

        "AuthPassword", 

        "URI"

    ],

    "_id" : "CPE_SIPLine_2"

}

 

{

    "AuthUserName" : "User3",

    "AuthPassword" : "Password3c",

    "URI" : "sip:+49103 at tel.test.com",

    "_keys" : [ 

        "AuthUserName", 

        "AuthPassword", 

        "URI"

    ],

    "_id" : "CPE_SIPLine_3"

}

 

{

    "AuthUserName" : "User4",

    "AuthPassword" : "Password4d",

    "URI" : "sip:+49104 at tel.test.com",

    "_keys" : [ 

        "AuthUserName", 

        "AuthPassword", 

        "URI"

    ],

    "_id" : "CPE_SIPLine_4"

}

 

{

    "AuthUserName" : "User5",

    "AuthPassword" : "Password5e",

    "URI" : "sip:+49105 at tel.test.com",

    "_keys" : [ 

        "AuthUserName", 

        "AuthPassword", 

        "URI"

    ],

    "_id" : "CPE_SIPLine_5"

}

 

 

--------------Request from GenieACS (Wireshark)---------------

HTTP/1.1 200 OK

Server: GenieACS/1.0.3

SOAPServer: GenieACS/1.0.3

Content-Type: text/xml; charset="utf-8"

Content-Length: 1143

Date: Mon, 18 May 2015 10:47:26 GMT

Connection: keep-alive

 

<?xml version="1.0" encoding="UTF-8"?>

<soap-env:Envelope xmlns:soap-enc=http://schemas.xmlsoap.org/soap/encoding/

                                          xmlns:soap-env=http://schemas.xmlsoap.org/soap/envelope/

                                         xmlns:xsd="http://www.w3.org/2001/XMLSchema" 

                                          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 

                                          xmlns:cwmp="urn:dslforum-org:cwmp-1-3">

  <soap-env:Header>

    <cwmp:ID soap-env:mustUnderstand="1">5559c33ee58b1cf114642e66</cwmp:ID>

  </soap-env:Header> 

  <soap-env:Body>

    <cwmp:SetParameterValues>

      <ParameterList soap-enc:arrayType="cwmp:ParameterValueStruct[3]">

        <ParameterValueStruct>

          <Name>Device.Services.VoiceService.1.NetworkProfile.1.SIPLine.3.AuthPassword</Name>

          <Value xsi:type="xsd:string">Password4d</Value>

      </ParameterValueStruct>

      <ParameterValueStruct>

        <Name>Device.Services.VoiceService.1.NetworkProfile.1.SIPLine.3.AuthUserName</Name>

        <Value xsi:type="xsd:string">User4</Value>

      </ParameterValueStruct>

      <ParameterValueStruct>

        <Name>Device.Services.VoiceService.1.NetworkProfile.1.SIPLine.3.URI</Name>

       <Value xsi:type="xsd:string">sip:+49104 at tel.test.com</Value <sip:+49104 at tel.test.com%3c/Value> >

      </ParameterValueStruct>

    </ParameterList>

    <ParameterKey/>

  </cwmp:SetParameterValues>

</soap-env:Body>

</soap-env:Envelope>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genieacs.com/pipermail/users/attachments/20150518/64aa517c/attachment-0001.html>


More information about the Users mailing list