Skip to content

Instantly share code, notes, and snippets.

@winksaville
Created October 22, 2019 18:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save winksaville/009507730ee1271ade0831c6e0d26135 to your computer and use it in GitHub Desktop.
Save winksaville/009507730ee1271ade0831c6e0d26135 to your computer and use it in GitHub Desktop.
Easycwmp log output that is partially working. Its found by genieacs but most fields are "blank".
wink@wink-desktop:~/prgs/pivasoftware/easycwmp (Changes-for-wink)
$ sudo EASYCWMP_INSTALL_DIR=/home/wink/opt LD_LIBRARY_PATH=$EASYCWMP_INSTALL_DIR/lib ./bin/easycwmpd -f -b
[sudo] password for wink:
10892:10892 2019-10-22 11:09:03 [easycwmp] NOTICE - add event '0 BOOTSTRAP'
10892:10892 2019-10-22 11:09:03 [easycwmp] NOTICE - add event '1 BOOT'
10892:10892 2019-10-22 11:09:03 [easycwmp] NOTICE - add event '2 PERIODIC'
10892:10892 external_init(233): +
10892:10892 2019-10-22 11:09:03 [easycwmp] NOTICE - external script init
10892:10892 external_init(301): parent, closing pfds_out[1]=8 and pfds_in[0]=9
10893:10893 external_init(250): child
10893:10893 external_init(291): child START argv[0]=/home/wink/opt/sbin/easycwmp
10893:10893 /home/wink/opt/sbin/easycwmp:549 WINK******
10893:10893 /home/wink/opt/sbin/easycwmp:234 yo action=json_input
10892:10892 external_init(317): - parent r=0 read pipe result
10892:10892 config_init_local(59):: easycwmp.@local[0].interface=eth0
10892:10892 config_init_local(69):: easycwmp.@local[0].port=7547
10892:10892 config_init_local(87):: easycwmp.@local[0].ubus_socket=/var/run/ubus.sock
10892:10892 config_init_local(75):: easycwmp.@local[0].username=easycwmp
10892:10892 config_init_local(81):: easycwmp.@local[0].password=easycwmp
10892:10892 config_init_local(108):: easycwmp.@local[0].authentication=Digest
10892:10892 config_init_local(98):: easycwmp.@local[0].logging_level=3
10892:10892 config_init_acs(174):: easycwmp.@acs[0].url=http://0.0.0.0:7547
10892:10892 config_init_acs(180):: easycwmp.@acs[0].username=8KA8WA1151100043
10892:10892 config_init_acs(192):: easycwmp.@acs[0].periodic_enable=1
10892:10892 config_init_acs(198):: easycwmp.@acs[0].periodic_interval=100
10892:10892 config_init_acs(205):: easycwmp.@acs[0].periodic_time=0001-01-01T00:00:00Z
10892:10892 2019-10-22 11:09:03 [easycwmp] NOTICE - add event '0 BOOTSTRAP'
10892:10892 2019-10-22 11:09:03 [easycwmp] NOTICE - init periodic inform: reference time = -62135568422, interval = 100
10892:10892 external_action_simple_execute(358): + command=update_value_change class= arg=
10892:10892 external_write_pipe(214): + pfds_in[1]=10 msg={ "command": "update_value_change" }
10892:10892 external_write_pipe(222): - pfds_in[1]=10 msg={ "command": "update_value_change" }
10892:10892 external_action_simple_execute(369): - command=update_value_change class= arg=
10892:10892 external_action_handle(412): + json_handle=(nil)
10892:10892 external_write_pipe(214): + pfds_in[1]=10 msg={ "command": "end" }
10892:10892 external_write_pipe(222): - pfds_in[1]=10 msg={ "command": "end" }
10892:10892 external_action_handle(420): - json_handle=(nil)
10892:10892 2019-10-22 11:09:03 [easycwmp] NOTICE - daemon started
10892:10892 external_action_simple_execute(358): + command=inform class=device_id arg=
10892:10892 external_write_pipe(214): + pfds_in[1]=10 msg={ "command": "inform", "class": "device_id" }
10892:10892 external_write_pipe(222): - pfds_in[1]=10 msg={ "command": "inform", "class": "device_id" }
10892:10892 external_action_simple_execute(369): - command=inform class=device_id arg=
10892:10892 external_action_handle(412): + json_handle=0x55bc9dc489e9
10892:10892 external_write_pipe(214): + pfds_in[1]=10 msg={ "command": "end" }
10892:10892 external_write_pipe(222): - pfds_in[1]=10 msg={ "command": "end" }
10892:10892 external_read_pipe(177): read LF json_handle=0x55bc9dc489e9 line='{ "manufacturer": "", "oui": "", "product_class": "", "serial_number": "" }'
10892:10892 external_action_handle(420): - json_handle=0x55bc9dc489e9
10892:10892 cwmp_init_deviceid(742): in device you must define product_class
10892:10892 2019-10-22 11:09:03 [easycwmp] NOTICE - external script exit
10892:10892 external_write_pipe(214): + pfds_in[1]=10 msg={ "command": "exit" }
10892:10892 external_write_pipe(222): - pfds_in[1]=10 msg={ "command": "exit" }
10892:10892 2019-10-22 11:09:03 [easycwmp] NOTICE - add event '1 BOOT'
+++ HTTP SERVER CONFIGURATION +++
NOT BOUND TO IP
port: '7547'
--- HTTP SERVER CONFIGURATION ---
10892:10892 2019-10-22 11:09:03 [easycwmp] NOTICE - http server initialized
10892:10892 2019-10-22 11:09:03 [easycwmp] NOTICE - entering main loop
10892:10892 cwmp_inform(270): :+
10892:10892 2019-10-22 11:09:03 [easycwmp] NOTICE - start session
+++ HTTP CLIENT CONFIGURATION +++
10892:10892 http_client_init(51):: url: http://0.0.0.0:7547
10892:10892 http_client_init(57):: ssl_verify: SSL certificate validation disabled.
--- HTTP CLIENT CONFIGURATION ---
10892:10892 2019-10-22 11:09:03 [easycwmp] NOTICE - configured acs url http://0.0.0.0:7547
10892:10892 external_init(233): +
10892:10892 2019-10-22 11:09:03 [easycwmp] NOTICE - external script init
10892:10892 external_init(301): parent, closing pfds_out[1]=11 and pfds_in[0]=12
11012:11012 external_init(250): child
11012:11012 external_init(291): child START argv[0]=/home/wink/opt/sbin/easycwmp
11012:11012 /home/wink/opt/sbin/easycwmp:549 WINK******
11012:11012 /home/wink/opt/sbin/easycwmp:234 yo action=json_input
10892:10892 external_init(317): - parent r=0 read pipe result
10892:10892 external_action_simple_execute(358): + command=inform class=parameter arg=
10892:10892 external_write_pipe(214): + pfds_in[1]=13 msg={ "command": "inform", "class": "parameter" }
10892:10892 external_write_pipe(222): - pfds_in[1]=13 msg={ "command": "inform", "class": "parameter" }
10892:10892 external_action_simple_execute(369): - command=inform class=parameter arg=
10892:10892 external_action_handle(412): + json_handle=0x55bc9dc48858
10892:10892 external_write_pipe(214): + pfds_in[1]=13 msg={ "command": "end" }
10892:10892 external_write_pipe(222): - pfds_in[1]=13 msg={ "command": "end" }
10892:10892 external_read_pipe(177): read LF json_handle=0x55bc9dc48858 line='{ "parameter": "Device.DeviceInfo.SpecVersion", "value": "1.0" }'
10892:10892 external_read_pipe(177): read LF json_handle=0x55bc9dc48858 line='{ "parameter": "Device.DeviceInfo.ProvisioningCode", "value": "" }'
10892:10892 external_read_pipe(177): read LF json_handle=0x55bc9dc48858 line='{ "parameter": "Device.DeviceInfo.Manufacturer", "value": "" }'
10892:10892 external_read_pipe(177): read LF json_handle=0x55bc9dc48858 line='{ "parameter": "Device.DeviceInfo.ManufacturerOUI", "value": "" }'
10892:10892 external_read_pipe(177): read LF json_handle=0x55bc9dc48858 line='{ "parameter": "Device.DeviceInfo.ProductClass", "value": "" }'
10892:10892 external_read_pipe(177): read LF json_handle=0x55bc9dc48858 line='{ "parameter": "Device.DeviceInfo.SerialNumber", "value": "" }'
10892:10892 external_read_pipe(177): read LF json_handle=0x55bc9dc48858 line='{ "parameter": "Device.DeviceInfo.HardwareVersion", "value": "" }'
10892:10892 external_read_pipe(177): read LF json_handle=0x55bc9dc48858 line='{ "parameter": "Device.DeviceInfo.SoftwareVersion", "value": "" }'
: error fetching interface information: Device not found
10892:10892 external_read_pipe(177): read LF json_handle=0x55bc9dc48858 line='{ "parameter": "Device.ManagementServer.ConnectionRequestURL", "value": "" }'
10892:10892 external_read_pipe(177): read LF json_handle=0x55bc9dc48858 line='{ "parameter": "Device.ManagementServer.ParameterKey", "value": "" }'
10892:10892 external_action_handle(420): - json_handle=0x55bc9dc48858
10892:10892 2019-10-22 11:09:03 [easycwmp] NOTICE - send Inform
+++ SEND HTTP REQUEST +++
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<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">1</cwmp:ID>
</soap_env:Header>
<soap_env:Body>
<cwmp:Inform>
<DeviceId>
<Manufacturer></Manufacturer>
<OUI></OUI>
<ProductClass></ProductClass>
<SerialNumber></SerialNumber>
</DeviceId>
<Event soap_enc:arrayType="cwmp:EventStruct[2]">
<EventStruct>
<EventCode>0 BOOTSTRAP</EventCode>
<CommandKey />
</EventStruct>
<EventStruct>
<EventCode>1 BOOT</EventCode>
<CommandKey />
</EventStruct>
</Event>
<MaxEnvelopes>1</MaxEnvelopes>
<CurrentTime>2019-10-22T11:09:03-07:00</CurrentTime>
<RetryCount>0</RetryCount>
<ParameterList soap_enc:arrayType="cwmp:ParameterValueStruct[10]">
<ParameterValueStruct>
<Name>Device.DeviceInfo.SpecVersion</Name>
<Value xsi:type="xsd:string">1.0</Value>
</ParameterValueStruct>
<ParameterValueStruct>
<Name>Device.DeviceInfo.ProvisioningCode</Name>
<Value xsi:type="xsd:string"></Value>
</ParameterValueStruct>
<ParameterValueStruct>
<Name>Device.DeviceInfo.Manufacturer</Name>
<Value xsi:type="xsd:string"></Value>
</ParameterValueStruct>
<ParameterValueStruct>
<Name>Device.DeviceInfo.ManufacturerOUI</Name>
<Value xsi:type="xsd:string"></Value>
</ParameterValueStruct>
<ParameterValueStruct>
<Name>Device.DeviceInfo.ProductClass</Name>
<Value xsi:type="xsd:string"></Value>
</ParameterValueStruct>
<ParameterValueStruct>
<Name>Device.DeviceInfo.SerialNumber</Name>
<Value xsi:type="xsd:string"></Value>
</ParameterValueStruct>
<ParameterValueStruct>
<Name>Device.DeviceInfo.HardwareVersion</Name>
<Value xsi:type="xsd:string"></Value>
</ParameterValueStruct>
<ParameterValueStruct>
<Name>Device.DeviceInfo.SoftwareVersion</Name>
<Value xsi:type="xsd:string"></Value>
</ParameterValueStruct>
<ParameterValueStruct>
<Name>Device.ManagementServer.ConnectionRequestURL</Name>
<Value xsi:type="xsd:string"></Value>
</ParameterValueStruct>
<ParameterValueStruct>
<Name>Device.ManagementServer.ParameterKey</Name>
<Value xsi:type="xsd:string"></Value>
</ParameterValueStruct>
</ParameterList>
</cwmp:Inform>
</soap_env:Body>
</soap_env:Envelope>
--- SEND HTTP REQUEST ---
* Trying 0.0.0.0:7547...
* TCP_NODELAY set
* Connected to 0.0.0.0 (127.0.0.1) port 7547 (#0)
> POST / HTTP/1.1
Host: 0.0.0.0:7547
User-Agent: easycwmp
Content-Type: text/xml; charset="utf-8"
SOAPAction:
Content-Length: 2695
Expect: 100-continue
* Mark bundle as not supporting multiuse
< HTTP/1.1 100 Continue
* We are completely uploaded and fine
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Content-Length: 521
< Server: GenieACS/1.2.0-beta.0+20191022180750
< SOAPServer: GenieACS/1.2.0-beta.0+20191022180750
< Content-Type: text/xml; charset="utf-8"
* Added cookie session="c1168c06e2d4e7ad" for domain 0.0.0.0, path /, expire 0
< Set-Cookie: session=c1168c06e2d4e7ad
< Date: Tue, 22 Oct 2019 18:09:03 GMT
< Connection: keep-alive
<
* Connection #0 to host 0.0.0.0 left intact
+++ RECEIVED HTTP RESPONSE +++
<?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">1</cwmp:ID></soap-env:Header><soap-env:Body><cwmp:InformResponse><MaxEnvelopes>1</MaxEnvelopes></cwmp:InformResponse></soap-env:Body></soap-env:Envelope>--- RECEIVED HTTP RESPONSE ---
10892:10892 2019-10-22 11:09:03 [easycwmp] NOTICE - receive InformResponse from the ACS
10892:10892 cwmp_inform(295): : top of loop
10892:10892 2019-10-22 11:09:03 [easycwmp] NOTICE - send empty message to the ACS
+++ SEND EMPTY HTTP REQUEST +++
* Found bundle for host 0.0.0.0: 0x55bc9ef425d0 [serially]
* Can not multiplex, even if we wanted to!
* Re-using existing connection! (#0) with host 0.0.0.0
* Connected to 0.0.0.0 (127.0.0.1) port 7547 (#0)
> POST / HTTP/1.1
Host: 0.0.0.0:7547
Cookie: session=c1168c06e2d4e7ad
User-Agent: easycwmp
Content-Type: text/xml; charset="utf-8"
Content-Length: 0
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Content-Length: 566
< Server: GenieACS/1.2.0-beta.0+20191022180750
< SOAPServer: GenieACS/1.2.0-beta.0+20191022180750
< Content-Type: text/xml; charset="utf-8"
< Date: Tue, 22 Oct 2019 18:09:03 GMT
< Connection: keep-alive
<
* Connection #0 to host 0.0.0.0 left intact
+++ RECEIVED HTTP RESPONSE +++
<?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">16df4a8759a0000</cwmp:ID></soap-env:Header><soap-env:Body><cwmp:GetParameterNames><ParameterPath></ParameterPath><NextLevel>1</NextLevel></cwmp:GetParameterNames></soap-env:Body></soap-env:Envelope>--- RECEIVED HTTP RESPONSE ---
10892:10892 2019-10-22 11:09:03 [easycwmp] NOTICE - received GetParameterNames method from the ACS
10892:10892 external_action_parameter_execute(340): + command=get class=name name= arg=1
10892:10892 external_write_pipe(214): + pfds_in[1]=13 msg={ "command": "get", "class": "name", "parameter": "", "argument": "1" }
10892:10892 external_write_pipe(222): - pfds_in[1]=13 msg={ "command": "get", "class": "name", "parameter": "", "argument": "1" }
10892:10892 external_action_parameter_execute(352): - command=get class=name name= arg=1
10892:10892 external_action_handle(412): + json_handle=0x55bc9dc4893a
10892:10892 external_write_pipe(214): + pfds_in[1]=13 msg={ "command": "end" }
10892:10892 external_write_pipe(222): - pfds_in[1]=13 msg={ "command": "end" }
10892:10892 external_read_pipe(177): read LF json_handle=0x55bc9dc4893a line='{ "parameter": "Device.", "writable": "0" }'
10892:10892 external_action_handle(420): - json_handle=0x55bc9dc4893a
10892:10892 2019-10-22 11:09:03 [easycwmp] NOTICE - send GetParameterNamesResponse to the ACS
+++ SEND HTTP REQUEST +++
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<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">16df4a8759a0000</cwmp:ID>
</soap_env:Header>
<soap_env:Body>
<cwmp:GetParameterNamesResponse>
<ParameterList soap_enc:arrayType="cwmp:ParameterInfoStruct[1]">
<ParameterInfoStruct>
<Name>Device.</Name>
<Writable>0</Writable>
</ParameterInfoStruct>
</ParameterList>
</cwmp:GetParameterNamesResponse>
</soap_env:Body>
</soap_env:Envelope>
--- SEND HTTP REQUEST ---
* Found bundle for host 0.0.0.0: 0x55bc9ef425d0 [serially]
* Can not multiplex, even if we wanted to!
* Re-using existing connection! (#0) with host 0.0.0.0
* Connected to 0.0.0.0 (127.0.0.1) port 7547 (#0)
> POST / HTTP/1.1
Host: 0.0.0.0:7547
Cookie: session=c1168c06e2d4e7ad
User-Agent: easycwmp
Content-Type: text/xml; charset="utf-8"
SOAPAction:
Content-Length: 772
* upload completely sent off: 772 out of 772 bytes
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Content-Length: 590
< Server: GenieACS/1.2.0-beta.0+20191022180750
< SOAPServer: GenieACS/1.2.0-beta.0+20191022180750
< Content-Type: text/xml; charset="utf-8"
< Date: Tue, 22 Oct 2019 18:09:03 GMT
< Connection: keep-alive
<
* Connection #0 to host 0.0.0.0 left intact
+++ RECEIVED HTTP RESPONSE +++
<?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">16df4a8759a0001</cwmp:ID></soap-env:Header><soap-env:Body><cwmp:GetParameterNames><ParameterPath>Device.ManagementServer.</ParameterPath><NextLevel>1</NextLevel></cwmp:GetParameterNames></soap-env:Body></soap-env:Envelope>--- RECEIVED HTTP RESPONSE ---
10892:10892 2019-10-22 11:09:03 [easycwmp] NOTICE - received GetParameterNames method from the ACS
10892:10892 external_action_parameter_execute(340): + command=get class=name name=Device.ManagementServer. arg=1
10892:10892 external_write_pipe(214): + pfds_in[1]=13 msg={ "command": "get", "class": "name", "parameter": "Device.ManagementServer.", "argument": "1" }
10892:10892 external_write_pipe(222): - pfds_in[1]=13 msg={ "command": "get", "class": "name", "parameter": "Device.ManagementServer.", "argument": "1" }
10892:10892 external_action_parameter_execute(352): - command=get class=name name=Device.ManagementServer. arg=1
10892:10892 external_action_handle(412): + json_handle=0x55bc9dc4893a
10892:10892 external_write_pipe(214): + pfds_in[1]=13 msg={ "command": "end" }
10892:10892 external_write_pipe(222): - pfds_in[1]=13 msg={ "command": "end" }
10892:10892 external_read_pipe(177): read LF json_handle=0x55bc9dc4893a line='{ "parameter": "Device.ManagementServer.URL", "writable": "1" }'
10892:10892 external_read_pipe(177): read LF json_handle=0x55bc9dc4893a line='{ "parameter": "Device.ManagementServer.Username", "writable": "1" }'
10892:10892 external_read_pipe(177): read LF json_handle=0x55bc9dc4893a line='{ "parameter": "Device.ManagementServer.Password", "writable": "1" }'
10892:10892 external_read_pipe(177): read LF json_handle=0x55bc9dc4893a line='{ "parameter": "Device.ManagementServer.PeriodicInformEnable", "writable": "1" }'
10892:10892 external_read_pipe(177): read LF json_handle=0x55bc9dc4893a line='{ "parameter": "Device.ManagementServer.PeriodicInformInterval", "writable": "1" }'
10892:10892 external_read_pipe(177): read LF json_handle=0x55bc9dc4893a line='{ "parameter": "Device.ManagementServer.PeriodicInformTime", "writable": "1" }'
10892:10892 external_read_pipe(177): read LF json_handle=0x55bc9dc4893a line='{ "parameter": "Device.ManagementServer.ConnectionRequestURL", "writable": "0" }'
10892:10892 external_read_pipe(177): read LF json_handle=0x55bc9dc4893a line='{ "parameter": "Device.ManagementServer.ConnectionRequestUsername", "writable": "1" }'
10892:10892 external_read_pipe(177): read LF json_handle=0x55bc9dc4893a line='{ "parameter": "Device.ManagementServer.ConnectionRequestPassword", "writable": "1" }'
10892:10892 external_read_pipe(177): read LF json_handle=0x55bc9dc4893a line='{ "parameter": "Device.ManagementServer.ParameterKey", "writable": "0" }'
10892:10892 external_action_handle(420): - json_handle=0x55bc9dc4893a
10892:10892 2019-10-22 11:09:04 [easycwmp] NOTICE - send GetParameterNamesResponse to the ACS
+++ SEND HTTP REQUEST +++
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<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">16df4a8759a0001</cwmp:ID>
</soap_env:Header>
<soap_env:Body>
<cwmp:GetParameterNamesResponse>
<ParameterList soap_enc:arrayType="cwmp:ParameterInfoStruct[10]">
<ParameterInfoStruct>
<Name>Device.ManagementServer.URL</Name>
<Writable>1</Writable>
</ParameterInfoStruct>
<ParameterInfoStruct>
<Name>Device.ManagementServer.Username</Name>
<Writable>1</Writable>
</ParameterInfoStruct>
<ParameterInfoStruct>
<Name>Device.ManagementServer.Password</Name>
<Writable>1</Writable>
</ParameterInfoStruct>
<ParameterInfoStruct>
<Name>Device.ManagementServer.PeriodicInformEnable</Name>
<Writable>1</Writable>
</ParameterInfoStruct>
<ParameterInfoStruct>
<Name>Device.ManagementServer.PeriodicInformInterval</Name>
<Writable>1</Writable>
</ParameterInfoStruct>
<ParameterInfoStruct>
<Name>Device.ManagementServer.PeriodicInformTime</Name>
<Writable>1</Writable>
</ParameterInfoStruct>
<ParameterInfoStruct>
<Name>Device.ManagementServer.ConnectionRequestURL</Name>
<Writable>0</Writable>
</ParameterInfoStruct>
<ParameterInfoStruct>
<Name>Device.ManagementServer.ConnectionRequestUsername</Name>
<Writable>1</Writable>
</ParameterInfoStruct>
<ParameterInfoStruct>
<Name>Device.ManagementServer.ConnectionRequestPassword</Name>
<Writable>1</Writable>
</ParameterInfoStruct>
<ParameterInfoStruct>
<Name>Device.ManagementServer.ParameterKey</Name>
<Writable>0</Writable>
</ParameterInfoStruct>
</ParameterList>
</cwmp:GetParameterNamesResponse>
</soap_env:Body>
</soap_env:Envelope>
--- SEND HTTP REQUEST ---
* Found bundle for host 0.0.0.0: 0x55bc9ef425d0 [serially]
* Can not multiplex, even if we wanted to!
* Re-using existing connection! (#0) with host 0.0.0.0
* Connected to 0.0.0.0 (127.0.0.1) port 7547 (#0)
> POST / HTTP/1.1
Host: 0.0.0.0:7547
Cookie: session=c1168c06e2d4e7ad
User-Agent: easycwmp
Content-Type: text/xml; charset="utf-8"
SOAPAction:
Content-Length: 2103
Expect: 100-continue
* Mark bundle as not supporting multiuse
< HTTP/1.1 100 Continue
* We are completely uploaded and fine
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Content-Length: 896
< Server: GenieACS/1.2.0-beta.0+20191022180750
< SOAPServer: GenieACS/1.2.0-beta.0+20191022180750
< Content-Type: text/xml; charset="utf-8"
< Date: Tue, 22 Oct 2019 18:09:04 GMT
< Connection: keep-alive
<
* Connection #0 to host 0.0.0.0 left intact
+++ RECEIVED HTTP RESPONSE +++
<?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">16df4a8759a0002</cwmp:ID></soap-env:Header><soap-env:Body><cwmp:GetParameterValues><ParameterNames soap-enc:arrayType="xsd:string[5]"><string>Device.ManagementServer.ConnectionRequestUsername</string><string>Device.ManagementServer.ConnectionRequestPassword</string><string>Device.ManagementServer.PeriodicInformEnable</string><string>Device.ManagementServer.PeriodicInformInterval</string><string>Device.ManagementServer.PeriodicInformTime</string></ParameterNames></cwmp:GetParameterValues></soap-env:Body></soap-env:Envelope>--- RECEIVED HTTP RESPONSE ---
10892:10892 2019-10-22 11:09:04 [easycwmp] NOTICE - received GetParameterValues method from the ACS
10892:10892 external_action_parameter_execute(340): + command=get class=value name=Device.ManagementServer.ConnectionRequestUsername arg=
10892:10892 external_write_pipe(214): + pfds_in[1]=13 msg={ "command": "get", "class": "value", "parameter": "Device.ManagementServer.ConnectionRequestUsername" }
10892:10892 external_write_pipe(222): - pfds_in[1]=13 msg={ "command": "get", "class": "value", "parameter": "Device.ManagementServer.ConnectionRequestUsername" }
10892:10892 external_action_parameter_execute(352): - command=get class=value name=Device.ManagementServer.ConnectionRequestUsername arg=
10892:10892 external_action_handle(412): + json_handle=0x55bc9dc48858
10892:10892 external_write_pipe(214): + pfds_in[1]=13 msg={ "command": "end" }
10892:10892 external_write_pipe(222): - pfds_in[1]=13 msg={ "command": "end" }
10892:10892 external_read_pipe(177): read LF json_handle=0x55bc9dc48858 line='{ "parameter": "Device.ManagementServer.ConnectionRequestUsername", "value": "" }'
10892:10892 external_action_handle(420): - json_handle=0x55bc9dc48858
10892:10892 external_action_parameter_execute(340): + command=get class=value name=Device.ManagementServer.ConnectionRequestPassword arg=
10892:10892 external_write_pipe(214): + pfds_in[1]=13 msg={ "command": "get", "class": "value", "parameter": "Device.ManagementServer.ConnectionRequestPassword" }
10892:10892 external_write_pipe(222): - pfds_in[1]=13 msg={ "command": "get", "class": "value", "parameter": "Device.ManagementServer.ConnectionRequestPassword" }
10892:10892 external_action_parameter_execute(352): - command=get class=value name=Device.ManagementServer.ConnectionRequestPassword arg=
10892:10892 external_action_handle(412): + json_handle=0x55bc9dc48858
10892:10892 external_write_pipe(214): + pfds_in[1]=13 msg={ "command": "end" }
10892:10892 external_write_pipe(222): - pfds_in[1]=13 msg={ "command": "end" }
10892:10892 external_read_pipe(177): read LF json_handle=0x55bc9dc48858 line='{ "parameter": "Device.ManagementServer.ConnectionRequestPassword", "value": "" }'
10892:10892 external_action_handle(420): - json_handle=0x55bc9dc48858
10892:10892 external_action_parameter_execute(340): + command=get class=value name=Device.ManagementServer.PeriodicInformEnable arg=
10892:10892 external_write_pipe(214): + pfds_in[1]=13 msg={ "command": "get", "class": "value", "parameter": "Device.ManagementServer.PeriodicInformEnable" }
10892:10892 external_write_pipe(222): - pfds_in[1]=13 msg={ "command": "get", "class": "value", "parameter": "Device.ManagementServer.PeriodicInformEnable" }
10892:10892 external_action_parameter_execute(352): - command=get class=value name=Device.ManagementServer.PeriodicInformEnable arg=
10892:10892 external_action_handle(412): + json_handle=0x55bc9dc48858
10892:10892 external_write_pipe(214): + pfds_in[1]=13 msg={ "command": "end" }
10892:10892 external_write_pipe(222): - pfds_in[1]=13 msg={ "command": "end" }
10892:10892 external_read_pipe(177): read LF json_handle=0x55bc9dc48858 line='{ "parameter": "Device.ManagementServer.PeriodicInformEnable", "value": "", "type": "xsd:boolean" }'
10892:10892 external_action_handle(420): - json_handle=0x55bc9dc48858
10892:10892 external_action_parameter_execute(340): + command=get class=value name=Device.ManagementServer.PeriodicInformInterval arg=
10892:10892 external_write_pipe(214): + pfds_in[1]=13 msg={ "command": "get", "class": "value", "parameter": "Device.ManagementServer.PeriodicInformInterval" }
10892:10892 external_write_pipe(222): - pfds_in[1]=13 msg={ "command": "get", "class": "value", "parameter": "Device.ManagementServer.PeriodicInformInterval" }
10892:10892 external_action_parameter_execute(352): - command=get class=value name=Device.ManagementServer.PeriodicInformInterval arg=
10892:10892 external_action_handle(412): + json_handle=0x55bc9dc48858
10892:10892 external_write_pipe(214): + pfds_in[1]=13 msg={ "command": "end" }
10892:10892 external_write_pipe(222): - pfds_in[1]=13 msg={ "command": "end" }
10892:10892 external_read_pipe(177): read LF json_handle=0x55bc9dc48858 line='{ "parameter": "Device.ManagementServer.PeriodicInformInterval", "value": "", "type": "xsd:unsignedInt" }'
10892:10892 external_action_handle(420): - json_handle=0x55bc9dc48858
10892:10892 external_action_parameter_execute(340): + command=get class=value name=Device.ManagementServer.PeriodicInformTime arg=
10892:10892 external_write_pipe(214): + pfds_in[1]=13 msg={ "command": "get", "class": "value", "parameter": "Device.ManagementServer.PeriodicInformTime" }
10892:10892 external_write_pipe(222): - pfds_in[1]=13 msg={ "command": "get", "class": "value", "parameter": "Device.ManagementServer.PeriodicInformTime" }
10892:10892 external_action_parameter_execute(352): - command=get class=value name=Device.ManagementServer.PeriodicInformTime arg=
10892:10892 external_action_handle(412): + json_handle=0x55bc9dc48858
10892:10892 external_write_pipe(214): + pfds_in[1]=13 msg={ "command": "end" }
10892:10892 external_write_pipe(222): - pfds_in[1]=13 msg={ "command": "end" }
10892:10892 external_read_pipe(177): read LF json_handle=0x55bc9dc48858 line='{ "parameter": "Device.ManagementServer.PeriodicInformTime", "value": "", "type": "xsd:dateTime" }'
10892:10892 external_action_handle(420): - json_handle=0x55bc9dc48858
10892:10892 2019-10-22 11:09:04 [easycwmp] NOTICE - send GetParameterValuesResponse to the ACS
+++ SEND HTTP REQUEST +++
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<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">16df4a8759a0002</cwmp:ID>
</soap_env:Header>
<soap_env:Body>
<cwmp:GetParameterValuesResponse>
<ParameterList soap_enc:arrayType="cwmp:ParameterValueStruct[5]">
<ParameterValueStruct>
<Name>Device.ManagementServer.ConnectionRequestUsername</Name>
<Value xsi:type="xsd:string"></Value>
</ParameterValueStruct>
<ParameterValueStruct>
<Name>Device.ManagementServer.ConnectionRequestPassword</Name>
<Value xsi:type="xsd:string"></Value>
</ParameterValueStruct>
<ParameterValueStruct>
<Name>Device.ManagementServer.PeriodicInformEnable</Name>
<Value xsi:type="xsd:boolean"></Value>
</ParameterValueStruct>
<ParameterValueStruct>
<Name>Device.ManagementServer.PeriodicInformInterval</Name>
<Value xsi:type="xsd:unsignedInt"></Value>
</ParameterValueStruct>
<ParameterValueStruct>
<Name>Device.ManagementServer.PeriodicInformTime</Name>
<Value xsi:type="xsd:dateTime"></Value>
</ParameterValueStruct>
</ParameterList>
</cwmp:GetParameterValuesResponse>
</soap_env:Body>
</soap_env:Envelope>
--- SEND HTTP REQUEST ---
* Found bundle for host 0.0.0.0: 0x55bc9ef425d0 [serially]
* Can not multiplex, even if we wanted to!
* Re-using existing connection! (#0) with host 0.0.0.0
* Connected to 0.0.0.0 (127.0.0.1) port 7547 (#0)
> POST / HTTP/1.1
Host: 0.0.0.0:7547
Cookie: session=c1168c06e2d4e7ad
User-Agent: easycwmp
Content-Type: text/xml; charset="utf-8"
SOAPAction:
Content-Length: 1507
Expect: 100-continue
* Mark bundle as not supporting multiuse
< HTTP/1.1 100 Continue
* We are completely uploaded and fine
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Content-Length: 1387
< Server: GenieACS/1.2.0-beta.0+20191022180750
< SOAPServer: GenieACS/1.2.0-beta.0+20191022180750
< Content-Type: text/xml; charset="utf-8"
< Date: Tue, 22 Oct 2019 18:09:04 GMT
< Connection: keep-alive
<
* Connection #0 to host 0.0.0.0 left intact
+++ RECEIVED HTTP RESPONSE +++
<?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">16df4a8759a0003</cwmp:ID></soap-env:Header><soap-env:Body><cwmp:SetParameterValues><ParameterList soap-enc:arrayType="cwmp:ParameterValueStruct[5]"><ParameterValueStruct><Name>Device.ManagementServer.ConnectionRequestUsername</Name><Value xsi:type="xsd:string">-</Value></ParameterValueStruct><ParameterValueStruct><Name>Device.ManagementServer.ConnectionRequestPassword</Name><Value xsi:type="xsd:string">0.28808412467623185</Value></ParameterValueStruct><ParameterValueStruct><Name>Device.ManagementServer.PeriodicInformEnable</Name><Value xsi:type="xsd:boolean">true</Value></ParameterValueStruct><ParameterValueStruct><Name>Device.ManagementServer.PeriodicInformInterval</Name><Value xsi:type="xsd:unsignedInt">300</Value></ParameterValueStruct><ParameterValueStruct><Name>Device.ManagementServer.PeriodicInformTime</Name><Value xsi:type="xsd:dateTime">1970-01-01T12:18:53.349Z</Value></ParameterValueStruct></ParameterList><ParameterKey></ParameterKey></cwmp:SetParameterValues></soap-env:Body></soap-env:Envelope>--- RECEIVED HTTP RESPONSE ---
10892:10892 2019-10-22 11:09:04 [easycwmp] NOTICE - received SetParameterValues method from the ACS
10892:10892 external_action_parameter_execute(340): + command=set class=value name=Device.ManagementServer.ConnectionRequestUsername arg=-
10892:10892 external_write_pipe(214): + pfds_in[1]=13 msg={ "command": "set", "class": "value", "parameter": "Device.ManagementServer.ConnectionRequestUsername", "argument": "-" }
10892:10892 external_write_pipe(222): - pfds_in[1]=13 msg={ "command": "set", "class": "value", "parameter": "Device.ManagementServer.ConnectionRequestUsername", "argument": "-" }
10892:10892 external_action_parameter_execute(352): - command=set class=value name=Device.ManagementServer.ConnectionRequestUsername arg=-
10892:10892 external_action_parameter_execute(340): + command=set class=value name=Device.ManagementServer.ConnectionRequestPassword arg=0.28808412467623185
10892:10892 external_write_pipe(214): + pfds_in[1]=13 msg={ "command": "set", "class": "value", "parameter": "Device.ManagementServer.ConnectionRequestPassword", "argument": "0.28808412467623185" }
10892:10892 external_write_pipe(222): - pfds_in[1]=13 msg={ "command": "set", "class": "value", "parameter": "Device.ManagementServer.ConnectionRequestPassword", "argument": "0.28808412467623185" }
10892:10892 external_action_parameter_execute(352): - command=set class=value name=Device.ManagementServer.ConnectionRequestPassword arg=0.28808412467623185
10892:10892 external_action_parameter_execute(340): + command=set class=value name=Device.ManagementServer.PeriodicInformEnable arg=true
10892:10892 external_write_pipe(214): + pfds_in[1]=13 msg={ "command": "set", "class": "value", "parameter": "Device.ManagementServer.PeriodicInformEnable", "argument": "true" }
10892:10892 external_write_pipe(222): - pfds_in[1]=13 msg={ "command": "set", "class": "value", "parameter": "Device.ManagementServer.PeriodicInformEnable", "argument": "true" }
10892:10892 external_action_parameter_execute(352): - command=set class=value name=Device.ManagementServer.PeriodicInformEnable arg=true
10892:10892 external_action_parameter_execute(340): + command=set class=value name=Device.ManagementServer.PeriodicInformInterval arg=300
10892:10892 external_write_pipe(214): + pfds_in[1]=13 msg={ "command": "set", "class": "value", "parameter": "Device.ManagementServer.PeriodicInformInterval", "argument": "300" }
10892:10892 external_write_pipe(222): - pfds_in[1]=13 msg={ "command": "set", "class": "value", "parameter": "Device.ManagementServer.PeriodicInformInterval", "argument": "300" }
10892:10892 external_action_parameter_execute(352): - command=set class=value name=Device.ManagementServer.PeriodicInformInterval arg=300
10892:10892 external_action_parameter_execute(340): + command=set class=value name=Device.ManagementServer.PeriodicInformTime arg=1970-01-01T12:18:53.349Z
10892:10892 external_write_pipe(214): + pfds_in[1]=13 msg={ "command": "set", "class": "value", "parameter": "Device.ManagementServer.PeriodicInformTime", "argument": "1970-01-01T12:18:53.349Z" }
10892:10892 external_write_pipe(222): - pfds_in[1]=13 msg={ "command": "set", "class": "value", "parameter": "Device.ManagementServer.PeriodicInformTime", "argument": "1970-01-01T12:18:53.349Z" }
10892:10892 external_action_parameter_execute(352): - command=set class=value name=Device.ManagementServer.PeriodicInformTime arg=1970-01-01T12:18:53.349Z
10892:10892 external_action_simple_execute(358): + command=apply class=value arg=
10892:10892 external_write_pipe(214): + pfds_in[1]=13 msg={ "command": "apply", "class": "value", "argument": "" }
10892:10892 external_write_pipe(222): - pfds_in[1]=13 msg={ "command": "apply", "class": "value", "argument": "" }
10892:10892 external_action_simple_execute(369): - command=apply class=value arg=
10892:10892 external_action_handle(412): + json_handle=0x55bc9dc4869c
10892:10892 external_write_pipe(214): + pfds_in[1]=13 msg={ "command": "end" }
10892:10892 external_write_pipe(222): - pfds_in[1]=13 msg={ "command": "end" }
grep: /tmp/.easycwmp_notif_param_value: No such file or directory
grep: /tmp/.easycwmp_notif_param_value: No such file or directory
grep: /tmp/.easycwmp_notif_param_value: No such file or directory
grep: /tmp/.easycwmp_notif_param_value: No such file or directory
grep: /tmp/.easycwmp_notif_param_value: No such file or directory
10892:10892 external_read_pipe(177): read LF json_handle=0x55bc9dc4869c line='{ "status": "1" }'
10892:10892 external_action_handle(420): - json_handle=0x55bc9dc4869c
10892:10892 2019-10-22 11:09:04 [easycwmp] NOTICE - send SetParameterValuesResponse to the ACS
+++ SEND HTTP REQUEST +++
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<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">16df4a8759a0003</cwmp:ID>
</soap_env:Header>
<soap_env:Body>
<cwmp:SetParameterValuesResponse>
<Status>1</Status>
</cwmp:SetParameterValuesResponse>
</soap_env:Body>
</soap_env:Envelope>
--- SEND HTTP REQUEST ---
* Found bundle for host 0.0.0.0: 0x55bc9ef425d0 [serially]
* Can not multiplex, even if we wanted to!
* Re-using existing connection! (#0) with host 0.0.0.0
* Connected to 0.0.0.0 (127.0.0.1) port 7547 (#0)
> POST / HTTP/1.1
Host: 0.0.0.0:7547
Cookie: session=c1168c06e2d4e7ad
User-Agent: easycwmp
Content-Type: text/xml; charset="utf-8"
SOAPAction:
Content-Length: 596
* upload completely sent off: 596 out of 596 bytes
* Mark bundle as not supporting multiuse
< HTTP/1.1 204 No Content
< Content-Length: 0
< Server: GenieACS/1.2.0-beta.0+20191022180750
< SOAPServer: GenieACS/1.2.0-beta.0+20191022180750
< Connection: close
< Date: Tue, 22 Oct 2019 18:09:04 GMT
<
* Closing connection 0
+++ RECEIVED EMPTY HTTP RESPONSE +++
10892:10892 2019-10-22 11:09:04 [easycwmp] NOTICE - receive empty message from the ACS
10892:10892 external_action_simple_execute(358): + command=apply class=service arg=
10892:10892 external_write_pipe(214): + pfds_in[1]=13 msg={ "command": "apply", "class": "service" }
10892:10892 external_write_pipe(222): - pfds_in[1]=13 msg={ "command": "apply", "class": "service" }
10892:10892 external_action_simple_execute(369): - command=apply class=service arg=
10892:10892 external_action_handle(412): + json_handle=(nil)
10892:10892 external_write_pipe(214): + pfds_in[1]=13 msg={ "command": "end" }
10892:10892 external_write_pipe(222): - pfds_in[1]=13 msg={ "command": "end" }
10892:10892 external_action_handle(420): - json_handle=(nil)
10892:10892 2019-10-22 11:09:04 [easycwmp] NOTICE - external script exit
10892:10892 external_write_pipe(214): + pfds_in[1]=13 msg={ "command": "exit" }
10892:10892 external_write_pipe(222): - pfds_in[1]=13 msg={ "command": "exit" }
10892:10892 2019-10-22 11:09:04 [easycwmp] NOTICE - end session success
10892:10892 cwmp_inform(331): :-
^C10892:10892 2019-10-22 11:09:13 [easycwmp] NOTICE - exiting
[2]+ Done git gui
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment