Hi,

i found out that this is working in the current git version - looks like that 
was a bug in the npm version 1.1.1

Regards,

Michael Neumann

-----Ursprüngliche Nachricht-----
Von: Users [mailto:[email protected]] Im Auftrag von Michael 
Neumann
Gesendet: Sonntag, 5. November 2017 18:24
An: Community support for GenieACS users <[email protected]>
Betreff: Provision - Path problem with ParameterName containing a dot

Hi,

this line in my provision script makes problems.

declare("InternetGatewayDevice.WANDevice.6.WANConnectionDevice.[X_CT-COM_WANEponLinkConfig.Mode:2,X_CT-COM_WANEponLinkConfig.VLANIDMark:303]",{path:
 now}, {path: 1});

 I think its related with the unusual dot in the ParameterNames.

In that case we talk from "X_CT-COM_WANEponLinkConfig.Mode" and 
"X_CT-COM_WANEponLinkConfig.VLANIDMark"

In the debug dump we can see that we end up with a bad GetParameterValues for 
ParameterNames "X_CT-COM_WANEponLinkConfig,Mode" and " 
X_CT-COM_WANEponLinkConfig,VLANIDMark"

For some reasons its replacing the . with a , in the parameter name.

Is there way to write a working declare?



# RESPONSE Sun Nov 05 2017 19:11:48 GMT+0200 (EET) 
{"Server":"GenieACS/1.1.1","SOAPServer":"GenieACS/1.1.1","Content-Type":"text/xml;
 charset=\"utf-8\""} <?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-2"><soap-env:Header><cwmp:ID 
soap-env:mustUnderstand="1">15f8d2ab1aa304</cwmp:ID></soap-env:Header><soap-env:Body><cwmp:GetParameterValues><ParameterNames
 
soap-enc:arrayType="xsd:string[2]"><string>InternetGatewayDevice.WANDevice.6.WANConnectionDevice.9.X_CT-COM_WANEponLinkConfig,Mode</string><string>InternetGatewayDevice.WANDevice.6.WANConnectionDevice.9.X_CT-COM_WANEponLinkConfig,VLANIDMark</string></ParameterNames></cwmp:GetParameterValues></soap-env:Body></soap-env:Envelope>


# REQUEST Sun Nov 05 2017 19:11:48 GMT+0200 (EET) 
{"host":"10.251.8.6:7547","user-agent":"BCM_TR69_CPE_04_00","connection":"keep-alive","soapaction":"","cookie":"session=0cf2e7d250be6bbc","content-type":"text/xml","content-length":"798"}
<SOAP-ENV:Envelope
    xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
    xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/";
    xmlns:xsd="http://www.w3.org/2001/XMLSchema";
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
    xmlns:cwmp="urn:dslforum-org:cwmp-1-2">
    <SOAP-ENV:Header>
      <cwmp:ID SOAP-ENV:mustUnderstand="1">15f8d2ab1aa304</cwmp:ID>
    </SOAP-ENV:Header>
    <SOAP-ENV:Body>
      <SOAP-ENV:Fault>
        <faultcode>Client</faultcode>
        <faultstring>CWMP fault</faultstring>
          <detail>
            <cwmp:Fault>
              <FaultCode>9005</FaultCode>
              <FaultString>Invalid Parameter Name</FaultString>
            </cwmp:Fault>
          </detail>
      </SOAP-ENV:Fault>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>



Best Regards

Michael Neumann

 
______________________________________________________
 
J M - D A T A   T e l e k o m   G m b H
Austria, 4050 Traun, Hackl-Straße 1, Object 2 T +43 50 / 30 50 80 - 0  F +43 50 
/ 30 50 80 - 20 E [email protected]   W http://www.JM-DATA.at 
______________________________________________________

_______________________________________________
Users mailing list
[email protected]
http://lists.genieacs.com/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.genieacs.com/mailman/listinfo/users

Reply via email to