RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
...
subdoc_name : privatessid
...
subdoc_name : lan
subdoc_data :
...
MAC : CPE_MAC (Ex : d83add3c5cc3)
2. In CPE , trigger the ForceSync as "root"
3. Using dmcli to check the DM
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
root@RaspberryPi-Gateway:/# dmcli eRT getv Device.DHCPv4.Server.Pool.1.MinAddress CR component name is: eRT.com.cisco.spvtg.ccsp.CR subsystem_prefix eRT. getv from/to component(eRT.com.cisco.spvtg.ccsp.pam): Device.DHCPv4.Server.Pool.1.MinAddress Execution succeed. Parameter 1 name: Device.DHCPv4.Server.Pool.1.MinAddress type: string, value: 10.0.0.8 root@RaspberryPi-Gateway:/# dmcli eRT getv Device.DHCPv4.Server.Pool.1.LeaseTime CR component name is: eRT.com.cisco.spvtg.ccsp.CR subsystem_prefix eRT. getv from/to component(eRT.com.cisco.spvtg.ccsp.pam): Device.DHCPv4.Server.Pool.1.LeaseTime Execution succeed. Parameter 1 name: Device.DHCPv4.Server.Pool.1.LeaseTime type: int, value: 7200 root@RaspberryPi-Gateway:/# dmcli eRT getv Device.DHCPv4.Server.Pool.1.MaxAddress CR component name is: eRT.com.cisco.spvtg.ccsp.CR subsystem_prefix eRT. getv from/to component(eRT.com.cisco.spvtg.ccsp.pam): Device.DHCPv4.Server.Pool.1.MaxAddress Execution succeed. Parameter 1 name: Device.DHCPv4.Server.Pool.1.MaxAddress type: string, value: 10.0.0.240 |
44. Success Logs
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
240423-06:06:16.534327 [mod=WEBCONFIG, lvl=INFO] [tid=3692] WEBCONFIG: doc lan is updated to version 627376240 status pending error_details none error_code 0 trans_id 0 temp->retry_count 0 240423-06:06:16.534921 [mod=WEBCONFIG, lvl=INFO] [tid=3692] WEBCONFIG: subdoc_name: lan, version: 627376240, transaction_id: 8517 240423-06:06:16.535035 [mod=WEBCONFIG, lvl=INFO] [tid=3692] WEBCONFIG: doc lan is updated to version 627376240 status pending error_details none error_code 0 trans_id 8517 temp->retry_count 0 240423-06:06:16.535104 [mod=WEBCONFIG, lvl=INFO] [tid=3692] WEBCONFIG: Request:> param[0].name = Device.DHCPv4.Server.Lan, type = 5 240423-06:06:16.538867 [mod=WEBCONFIG, lvl=INFO] [tid=2793] WEBCONFIG: Received msg lan,8517,627376240,ACK,13 from topic webconfigSignal 240423-06:06:16.538964 [mod=WEBCONFIG, lvl=INFO] [tid=2793] WEBCONFIG: Received webconfig event signal Info lan,8517,627376240,ACK,13 240423-06:06:16.539538 [mod=WEBCONFIG, lvl=INFO] [tid=3699] WEBCONFIG: TIMEOUT EVENT: lan,8517,627376240,ACK,13 (doc apply need time) 240423-06:06:16.539607 [mod=WEBCONFIG, lvl=INFO] [tid=3699] WEBCONFIG: doc apply need time, start timer. 240423-06:06:16.539665 [mod=WEBCONFIG, lvl=INFO] [tid=3699] WEBCONFIG: Timer list is empty 240423-06:06:16.539725 [mod=WEBCONFIG, lvl=INFO] [tid=3699] WEBCONFIG: new_node->subdoc_name lan new_node->txid 8517 new_node->timeout 13 status 1 added to list 240423-06:06:16.539780 [mod=WEBCONFIG, lvl=INFO] [tid=3699] WEBCONFIG: startWebcfgTimer success 240423-06:06:16.540403 [mod=WEBCONFIG, lvl=INFO] [tid=3693] WEBCONFIG: dest is event:subdoc-report/lan/mac:d83add3c5cc3/ack 240423-06:06:16.540489 [mod=WEBCONFIG, lvl=INFO] [tid=3693] WEBCONFIG: stringifiedNotifyPayload is {"device_id":"mac:d83add3c5cc3","namespace":"lan","application_status":"pending","timeout":13,"transaction_uuid":"bc673958-91ea-4b7b-b068-1c7d9252417f","version":"627376240"} 240423-06:06:16.540695 [mod=WEBCONFIG, lvl=INFO] [tid=3693] WEBCONFIG: Notification successfully sent to Webconfig.Upstream 240423-06:06:16.540700 [mod=WEBCONFIG, lvl=INFO] [tid=3692] WEBCONFIG: The ret status for rbus_setMulti is 0 240423-06:06:16.541295 [mod=WEBCONFIG, lvl=INFO] [tid=3692] WEBCONFIG: ccspRetStatus is 100 240423-06:06:16.541364 [mod=WEBCONFIG, lvl=INFO] [tid=3692] WEBCONFIG: setValues success. ccspStatus : 100 |
...
subdoc_name: wan
subdoc_data :
...
MAC : CPE_MAC (Ex : d83add3c5cc3)
22. In CPE , trigger root as ForceSync
33. Using dmcli to check the DM,
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
root@RaspberryPi-Gateway:/usr/www2# dmcli eRT getv Device.NAT.X_CISCO_COM_DMZ.Enable CR component name is: eRT.com.cisco.spvtg.ccsp.CR subsystem_prefix eRT. getv from/to component(eRT.com.cisco.spvtg.ccsp.pam): Device.NAT.X_CISCO_COM_DMZ.Enable Execution succeed. Parameter 1 name: Device.NAT.X_CISCO_COM_DMZ.Enable type: bool, value: true root@RaspberryPi-Gateway:/usr/www2# dmcli eRT getv Device.NAT.X_CISCO_COM_DMZ.InternalIP CR component name is: eRT.com.cisco.spvtg.ccsp.CR subsystem_prefix eRT. getv from/to component(eRT.com.cisco.spvtg.ccsp.pam): Device.NAT.X_CISCO_COM_DMZ.InternalIP Execution succeed. Parameter 1 name: Device.NAT.X_CISCO_COM_DMZ.InternalIP type: string, value: 10.0.0.17 |
44. Success Logs
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
240423-06:14:24.589883 [mod=WEBCONFIG, lvl=INFO] [tid=3692] WEBCONFIG: doc wan is updated to version 3808881139 status pending error_details none error_code 0 trans_id 0 temp->retry_count 0 240423-06:14:24.590358 [mod=WEBCONFIG, lvl=INFO] [tid=3692] WEBCONFIG: subdoc_name: wan, version: 3808881139, transaction_id: 5016 240423-06:14:24.590448 [mod=WEBCONFIG, lvl=INFO] [tid=3692] WEBCONFIG: doc wan is updated to version 3808881139 status pending error_details none error_code 0 trans_id 5016 temp->retry_count 0 240423-06:14:24.590494 [mod=WEBCONFIG, lvl=INFO] [tid=3692] WEBCONFIG: Request:> param[0].name = Device.NAT.X_CISCO_COM_DMZ.Data, type = 5 240423-06:14:24.593472 [mod=WEBCONFIG, lvl=INFO] [tid=2793] WEBCONFIG: Received msg wan,5016,3808881139,ACK,10 from topic webconfigSignal 240423-06:14:24.593540 [mod=WEBCONFIG, lvl=INFO] [tid=2793] WEBCONFIG: Received webconfig event signal Info wan,5016,3808881139,ACK,10 240423-06:14:24.593638 [mod=WEBCONFIG, lvl=INFO] [tid=3699] WEBCONFIG: TIMEOUT EVENT: wan,5016,3808881139,ACK,10 (doc apply need time) 240423-06:14:24.593688 [mod=WEBCONFIG, lvl=INFO] [tid=3699] WEBCONFIG: doc apply need time, start timer. 240423-06:14:24.593749 [mod=WEBCONFIG, lvl=INFO] [tid=3699] WEBCONFIG: Timer list is empty 240423-06:14:24.593796 [mod=WEBCONFIG, lvl=INFO] [tid=3699] WEBCONFIG: new_node->subdoc_name wan new_node->txid 5016 new_node->timeout 10 status 1 added to list 240423-06:14:24.593834 [mod=WEBCONFIG, lvl=INFO] [tid=3699] WEBCONFIG: startWebcfgTimer success 240423-06:14:24.593973 [mod=WEBCONFIG, lvl=INFO] [tid=3693] WEBCONFIG: dest is event:subdoc-report/wan/mac:d83add3c5cc3/ack 240423-06:14:24.594023 [mod=WEBCONFIG, lvl=INFO] [tid=3693] WEBCONFIG: stringifiedNotifyPayload is {"device_id":"mac:d83add3c5cc3","namespace":"wan","application_status":"pending","timeout":10,"transaction_uuid":"ae7952f3-1886-47aa-9427-dfca584a1f2d","version":"3808881139"} 240423-06:14:24.594147 [mod=WEBCONFIG, lvl=INFO] [tid=3693] WEBCONFIG: Notification successfully sent to Webconfig.Upstream 240423-06:14:24.595800 [mod=WEBCONFIG, lvl=INFO] [tid=3692] WEBCONFIG: The ret status for rbus_setMulti is 0 240423-06:14:24.595864 [mod=WEBCONFIG, lvl=INFO] [tid=3692] WEBCONFIG: ccspRetStatus is 100 240423-06:14:24.595912 [mod=WEBCONFIG, lvl=INFO] [tid=3692] WEBCONFIG: setValues success. ccspStatus : 100 |
...
subdoc_name : port_forwardingportforwarding
subdoc_data :
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
[ { "InternalClient": "10.0.0.111", "ExternalPortEndRange": "23", "Enable": "true", "Protocol": "TCP/UDP", "Description": "telnet", "ExternalPort": "23" }, { "InternalClient": "10.0.0.112", "ExternalPortEndRange": "25", "Enable": "true", "Protocol": "TCP/UDP", "Description": "mail", "ExternalPort": "25" }, { "InternalClient": "10.0.0.102", "ExternalPortEndRange": "443", "Enable": "true", "Protocol": "TCP/UDP", "Description": "https", "ExternalPort": "443" } ] |
...
MAC : CPE_MAC (Ex : d83add3c5cc3)
2. In CPE, trigger ForceSync as root
3. Using dmcli to check the DM
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
root@RaspberryPi-Gateway:~# dmcli eRT getv Device.NAT. CR component name is: eRT.com.cisco.spvtg.ccsp.CR subsystem_prefix eRT. getv from/to component(eRT.com.cisco.spvtg.ccsp.pam): Device.NAT. Execution succeed. Parameter 1 name: Device.NAT.X_CISCO_COM_TCPTimeout type: uint, value: 0 Parameter 2 name: Device.NAT.X_CISCO_COM_UDPTimeout type: uint, value: 0 Parameter 3 name: Device.NAT.X_CISCO_COM_ICMPTimeout type: uint, value: 0 Parameter 4 name: Device.NAT.X_Comcast_com_EnablePortMapping type: bool, value: true Parameter 5 name: Device.NAT.X_Comcast_com_EnableHSPortMapping type: bool, value: true Parameter 6 name: Device.NAT.X_Comcast_com_EnableNATMapping type: bool, value: false Parameter 7 name: Device.NAT.PortMappingNumberOfEntries type: uint, value: 3 Parameter 8 name: Device.NAT.X_CISCO_COM_DMZ.Enable type: bool, value: false Parameter 9 name: Device.NAT.X_CISCO_COM_DMZ.RemoteIPStart type: string, value: Parameter 10 name: Device.NAT.X_CISCO_COM_DMZ.RemoteIPEnd type: string, value: Parameter 11 name: Device.NAT.X_CISCO_COM_DMZ.InternalIP type: string, value: 0.0.0.0 Parameter 12 name: Device.NAT.X_CISCO_COM_DMZ.InternalMAC type: string, value: Parameter 13 name: Device.NAT.X_CISCO_COM_DMZ.IPv6Host type: string, value: Parameter 14 name: Device.NAT.X_CISCO_COM_DMZ.Data type: string, value: Parameter 15 name: Device.NAT.PortMapping.1.Enable type: bool, value: true Parameter 16 name: Device.NAT.PortMapping.1.Status type: string, value: Enabled Parameter 17 name: Device.NAT.PortMapping.1.Alias type: string, value: Parameter 18 name: Device.NAT.PortMapping.1.AllInterfaces type: bool, value: true Parameter 19 name: Device.NAT.PortMapping.1.LeaseDuration type: uint, value: 0 Parameter 20 name: Device.NAT.PortMapping.1.ExternalPort type: uint, value: 23 Parameter 21 name: Device.NAT.PortMapping.1.ExternalPortEndRange type: uint, value: 23 Parameter 22 name: Device.NAT.PortMapping.1.InternalPort type: uint, value: 0 Parameter 23 name: Device.NAT.PortMapping.1.Protocol type: string, value: BOTH Parameter 24 name: Device.NAT.PortMapping.1.InternalClient type: string, value: 10.0.0.111 Parameter 25 name: Device.NAT.PortMapping.1.RemoteHost type: string, value: 0.0.0.0 Parameter 26 name: Device.NAT.PortMapping.1.X_Comcast_com_PublicIP type: string, value: 0.0.0.0 Parameter 27 name: Device.NAT.PortMapping.1.Description type: string, value: telnet Parameter 28 name: Device.NAT.PortMapping.1.Interface type: string, value: Parameter 29 name: Device.NAT.PortMapping.1.X_CISCO_COM_InternalClientV6 type: string, value: x Parameter 30 name: Device.NAT.PortMapping.2.Enable type: bool, value: true Parameter 31 name: Device.NAT.PortMapping.2.Status type: string, value: Enabled Parameter 32 name: Device.NAT.PortMapping.2.Alias type: string, value: Parameter 33 name: Device.NAT.PortMapping.2.AllInterfaces type: bool, value: true Parameter 34 name: Device.NAT.PortMapping.2.LeaseDuration type: uint, value: 0 Parameter 35 name: Device.NAT.PortMapping.2.ExternalPort type: uint, value: 25 Parameter 36 name: Device.NAT.PortMapping.2.ExternalPortEndRange type: uint, value: 25 Parameter 37 name: Device.NAT.PortMapping.2.InternalPort type: uint, value: 0 Parameter 38 name: Device.NAT.PortMapping.2.Protocol type: string, value: BOTH Parameter 39 name: Device.NAT.PortMapping.2.InternalClient type: string, value: 10.0.0.112 Parameter 40 name: Device.NAT.PortMapping.2.RemoteHost type: string, value: 0.0.0.0 Parameter 41 name: Device.NAT.PortMapping.2.X_Comcast_com_PublicIP type: string, value: 0.0.0.0 Parameter 42 name: Device.NAT.PortMapping.2.Description type: string, value: mail Parameter 43 name: Device.NAT.PortMapping.2.Interface type: string, value: Parameter 44 name: Device.NAT.PortMapping.2.X_CISCO_COM_InternalClientV6 type: string, value: x Parameter 45 name: Device.NAT.PortMapping.3.Enable type: bool, value: true Parameter 46 name: Device.NAT.PortMapping.3.Status type: string, value: Enabled Parameter 47 name: Device.NAT.PortMapping.3.Alias type: string, value: Parameter 48 name: Device.NAT.PortMapping.3.AllInterfaces type: bool, value: true Parameter 49 name: Device.NAT.PortMapping.3.LeaseDuration type: uint, value: 0 Parameter 50 name: Device.NAT.PortMapping.3.ExternalPort type: uint, value: 443 Parameter 51 name: Device.NAT.PortMapping.3.ExternalPortEndRange type: uint, value: 443 Parameter 52 name: Device.NAT.PortMapping.3.InternalPort type: uint, value: 0 Parameter 53 name: Device.NAT.PortMapping.3.Protocol type: string, value: BOTH Parameter 54 name: Device.NAT.PortMapping.3.InternalClient type: string, value: 10.0.0.102 Parameter 55 name: Device.NAT.PortMapping.3.RemoteHost type: string, value: 0.0.0.0 Parameter 56 name: Device.NAT.PortMapping.3.X_Comcast_com_PublicIP type: string, value: 0.0.0.0 Parameter 57 name: Device.NAT.PortMapping.3.Description type: string, value: https Parameter 58 name: Device.NAT.PortMapping.3.Interface type: string, value: Parameter 59 name: Device.NAT.PortMapping.3.X_CISCO_COM_InternalClientV6 type: string, value: x Parameter 60 name: Device.NAT.X_RDK_PortMapping.Data type: string, value: Parameter 61 name: Device.NAT.X_CISCO_COM_PortTriggers.Enable type: bool, value: false Parameter 62 name: Device.NAT.X_CISCO_COM_PortTriggers.TriggerNumberOfEntries type: uint, value: 0 |
44. Success Logs
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
240423-06:29:55.135135 [mod=WEBCONFIG, lvl=INFO] [tid=3692] WEBCONFIG: doc portforwarding is updated to version 3329431262 status pending error_details none error_code 0 trans_id 0 temp->retry_count 0 240423-06:29:55.135651 [mod=WEBCONFIG, lvl=INFO] [tid=3692] WEBCONFIG: subdoc_name: portforwarding, version: 3329431262, transaction_id: 63776 240423-06:29:55.135754 [mod=WEBCONFIG, lvl=INFO] [tid=3692] WEBCONFIG: doc portforwarding is updated to version 3329431262 status pending error_details none error_code 0 trans_id 63776 temp->retry_count 0 240423-06:29:55.135811 [mod=WEBCONFIG, lvl=INFO] [tid=3692] WEBCONFIG: Request:> param[0].name = Device.NAT.X_RDK_PortMapping.Data, type = 5 240423-06:29:55.139435 [mod=WEBCONFIG, lvl=INFO] [tid=2793] WEBCONFIG: Received msg portforwarding,63776,3329431262,ACK,19 from topic webconfigSignal 240423-06:29:55.139522 [mod=WEBCONFIG, lvl=INFO] [tid=2793] WEBCONFIG: Received webconfig event signal Info portforwarding,63776,3329431262,ACK,19 240423-06:29:55.139694 [mod=WEBCONFIG, lvl=INFO] [tid=3699] WEBCONFIG: TIMEOUT EVENT: portforwarding,63776,3329431262,ACK,19 (doc apply need time) 240423-06:29:55.139765 [mod=WEBCONFIG, lvl=INFO] [tid=3699] WEBCONFIG: doc apply need time, start timer. 240423-06:29:55.139840 [mod=WEBCONFIG, lvl=INFO] [tid=3699] WEBCONFIG: Timer list is empty 240423-06:29:55.139912 [mod=WEBCONFIG, lvl=INFO] [tid=3699] WEBCONFIG: new_node->subdoc_name portforwarding new_node->txid 63776 new_node->timeout 19 status 1 added to list 240423-06:29:55.139967 [mod=WEBCONFIG, lvl=INFO] [tid=3699] WEBCONFIG: startWebcfgTimer success 240423-06:29:55.140139 [mod=WEBCONFIG, lvl=INFO] [tid=3693] WEBCONFIG: dest is event:subdoc-report/portforwarding/mac:d83add3c5cc3/ack 240423-06:29:55.140202 [mod=WEBCONFIG, lvl=INFO] [tid=3693] WEBCONFIG: stringifiedNotifyPayload is {"device_id":"mac:d83add3c5cc3","namespace":"portforwarding","application_status":"pending","timeout":19,"transaction_uuid":"6acc5f86-542d-46fd-bcbe-f63b67fbce45","version":"3329431262"} 240423-06:29:55.140383 [mod=WEBCONFIG, lvl=INFO] [tid=3693] WEBCONFIG: Notification successfully sent to Webconfig.Upstream 240423-06:29:55.142148 [mod=WEBCONFIG, lvl=INFO] [tid=3692] WEBCONFIG: The ret status for rbus_setMulti is 0 240423-06:29:55.142234 [mod=WEBCONFIG, lvl=INFO] [tid=3692] WEBCONFIG: ccspRetStatus is 100 |
...