...
...
| Code Block |
|---|
root@Filogic-GW:~# dmcli eRT getv Device.SoftwareModules.
CR component name is: eRT.com.cisco.spvtg.ccsp.CR
subsystem_prefix eRT.
Execution succeed.
Parameter 1 name: Device.SoftwareModules.ExecEnv.1.CurrentRunLevel
type: int, value: 5
Parameter 2 name: Device.SoftwareModules.ExecEnv.1.Enable
type: bool, value: true
Parameter 3 name: Device.SoftwareModules.ExecEnv.1.InitialRunLevel
type: int, value: 5
Parameter 4 name: Device.SoftwareModules.ExecEnv.1.Name
type: string, value: default
Parameter 5 name: Device.SoftwareModules.ExecEnv.1.Status
type: string, value: Up
Parameter 6 name: Device.SoftwareModules.ExecEnv.2.CurrentRunLevel
type: int, value: 5
Parameter 7 name: Device.SoftwareModules.ExecEnv.2.Enable
type: bool, value: true
Parameter 8 name: Device.SoftwareModules.ExecEnv.2.InitialRunLevel
type: int, value: 5
Parameter 9 name: Device.SoftwareModules.ExecEnv.2.Name
type: string, value: test
Parameter 10 name: Device.SoftwareModules.ExecEnv.2.Status
type: string, value: Up
Parameter 11 name: Device.SoftwareModules.ExecEnv.3.CurrentRunLevel
type: int, value: 5
Parameter 12 name: Device.SoftwareModules.ExecEnv.3.Enable
type: bool, value: true
Parameter 13 name: Device.SoftwareModules.ExecEnv.3.InitialRunLevel
type: int, value: 5
Parameter 14 name: Device.SoftwareModules.ExecEnv.3.Name
type: string, value: user
Parameter 15 name: Device.SoftwareModules.ExecEnv.3.Status
type: string, value: Up |
| Code Block |
|---|
root@Filogic-GW:~# UspPa -c operate "Device.SoftwareModules.InstallDU(URL=http://192.168.29.199/dec9iperf3.tar.gz)"
Asynchronous Operation (Device.SoftwareModules.InstallDU()) Started successfully.
Device.LocalAgent.Request.1 created.
See log for output arguments of operation |
3. Check the Software Modules, Installing should be successful and ExecutionUnit should created and should in Idle state.
| Code Block |
|---|
root@Filogic-GW:~# dmcli eRT getv Device.SoftwareModules.
CR component name is: eRT.com.cisco.spvtg.ccsp.CR
subsystem_prefix eRT.
Execution succeed.
Parameter 1 name: Device.SoftwareModules.DeploymentUnit.1.ExecutionEnvRef
type: string, value: Device.SoftwareModules.ExecEnv.1
Parameter 2 name: Device.SoftwareModules.DeploymentUnit.1.ExecutionUnitList
type: string, value: Device.SoftwareModules.ExecutionUnit.1
Parameter 3 name: Device.SoftwareModules.DeploymentUnit.1.Status
type: string, value: Installed
Parameter 4 name: Device.SoftwareModules.DeploymentUnit.1.URL
type: string, value: http://192.168.29.199/dec9iperf3.tar.gz
Parameter 5 name: Device.SoftwareModules.ExecEnv.1.CurrentRunLevel
type: int, value: 5
Parameter 6 name: Device.SoftwareModules.ExecEnv.1.Enable
type: bool, value: true
Parameter 7 name: Device.SoftwareModules.ExecEnv.1.InitialRunLevel
type: int, value: 5
Parameter 8 name: Device.SoftwareModules.ExecEnv.1.Name
type: string, value: default
Parameter 9 name: Device.SoftwareModules.ExecEnv.1.Status
type: string, value: Up
Parameter 10 name: Device.SoftwareModules.ExecEnv.2.CurrentRunLevel
type: int, value: 5
Parameter 11 name: Device.SoftwareModules.ExecEnv.2.Enable
type: bool, value: true
Parameter 12 name: Device.SoftwareModules.ExecEnv.2.InitialRunLevel
type: int, value: 5
Parameter 13 name: Device.SoftwareModules.ExecEnv.2.Name
type: string, value: test
Parameter 14 name: Device.SoftwareModules.ExecEnv.2.Status
type: string, value: Up
Parameter 15 name: Device.SoftwareModules.ExecEnv.3.CurrentRunLevel
type: int, value: 5
Parameter 16 name: Device.SoftwareModules.ExecEnv.3.Enable
type: bool, value: true
Parameter 17 name: Device.SoftwareModules.ExecEnv.3.InitialRunLevel
type: int, value: 5
Parameter 18 name: Device.SoftwareModules.ExecEnv.3.Name
type: string, value: user
Parameter 19 name: Device.SoftwareModules.ExecEnv.3.Status
type: string, value: Up
Parameter 20 name: Device.SoftwareModules.ExecutionUnit.1.Name
type: string, value: Kn
Parameter 21 name: Device.SoftwareModules.ExecutionUnit.1.Status
type: string, value: Idle |
4. Start iperf3 -s (server) on any Ubuntu PC and then Go to iperf bundle config.json file on BPi and give the iperf3 server IP.
| Code Block |
|---|
root@Filogic-GW:~/destination# cat dec9iperf3/config.json
{
"ociVersion": "1.0.2-dobby",
"process": {
"terminal": true,
"user": {
"uid": 0,
"gid": 0
},
"args": [
"/usr/libexec/DobbyInit",
"/usr/bin/iperf3",
"-c",
"192.168.29.199", - iperf3 server IP to be edited here with local server IP.
"-t",
"60",
"-b",
"100M",
"-P",
"4"
], |
5. Now Set the ExecutionUnit to Active using below cmd
| Code Block |
|---|
root@Filogic-GW:~/destination# UspPa -c operate "Device.SoftwareModules.ExecutionUnit.1.SetRequestedState(RequestedState=Active)"
Synchronous Operation (Device.SoftwareModules.ExecutionUnit.1.SetRequestedState()) completed successfully.
Output Arguments:-
Ret => "Starting EU" |
6. Check the Software Modules, ExecutionUnit status should become Active.
| Code Block |
|---|
root@Filogic-GW:~/destination# dmcli eRT getv Device.SoftwareModules.
CR component name is: eRT.com.cisco.spvtg.ccsp.CR
subsystem_prefix eRT.
Execution succeed.
Parameter 1 name: Device.SoftwareModules.DeploymentUnit.1.ExecutionEnvRef
type: string, value: Device.SoftwareModules.ExecEnv.1
Parameter 2 name: Device.SoftwareModules.DeploymentUnit.1.ExecutionUnitList
type: string, value: Device.SoftwareModules.ExecutionUnit.1
Parameter 3 name: Device.SoftwareModules.DeploymentUnit.1.Status
type: string, value: Installed
Parameter 4 name: Device.SoftwareModules.DeploymentUnit.1.URL
type: string, value: http://192.168.x.x/dec9iperf3.tar.gz
Parameter 5 name: Device.SoftwareModules.DeploymentUnit.2.ExecutionEnvRef
type: string, value: Device.SoftwareModules.ExecEnv.2
Parameter 6 name: Device.SoftwareModules.DeploymentUnit.2.ExecutionUnitList
type: string, value: Device.SoftwareModules.ExecutionUnit.2
Parameter 7 name: Device.SoftwareModules.DeploymentUnit.2.Status
type: string, value: Installed
Parameter 8 name: Device.SoftwareModules.DeploymentUnit.2.URL
type: string, value: http://192.168.29.199/dec9iperf3.tar.gz
Parameter 9 name: Device.SoftwareModules.ExecEnv.1.CurrentRunLevel
type: int, value: 5
Parameter 10 name: Device.SoftwareModules.ExecEnv.1.Enable
type: bool, value: true
Parameter 11 name: Device.SoftwareModules.ExecEnv.1.InitialRunLevel
type: int, value: 5
Parameter 12 name: Device.SoftwareModules.ExecEnv.1.Name
type: string, value: default
Parameter 13 name: Device.SoftwareModules.ExecEnv.1.Status
type: string, value: Up
Parameter 14 name: Device.SoftwareModules.ExecEnv.2.CurrentRunLevel
type: int, value: 5
Parameter 15 name: Device.SoftwareModules.ExecEnv.2.Enable
type: bool, value: true
Parameter 16 name: Device.SoftwareModules.ExecEnv.2.InitialRunLevel
type: int, value: 5
Parameter 17 name: Device.SoftwareModules.ExecEnv.2.Name
type: string, value: test
Parameter 18 name: Device.SoftwareModules.ExecEnv.2.Status
type: string, value: Up
Parameter 19 name: Device.SoftwareModules.ExecEnv.3.CurrentRunLevel
type: int, value: 5
Parameter 20 name: Device.SoftwareModules.ExecEnv.3.Enable
type: bool, value: true
Parameter 21 name: Device.SoftwareModules.ExecEnv.3.InitialRunLevel
type: int, value: 5
Parameter 22 name: Device.SoftwareModules.ExecEnv.3.Name
type: string, value: user
Parameter 23 name: Device.SoftwareModules.ExecEnv.3.Status
type: string, value: Up
Parameter 24 name: Device.SoftwareModules.ExecutionUnit.1.Name
type: string, value: Kn
Parameter 25 name: Device.SoftwareModules.ExecutionUnit.1.Status
type: string, value: Active |
7. Now verify DobbyTool & check for the traffic flow between gateway device (cat /var/log/com.rdk.iperf3.log) and local iperf server
| Code Block |
|---|
root@Filogic-GW:~/destination# DobbyTool list
descriptor | id | state
------------|----------------------------------|-------------
734 | Kn | running
root@Filogic-GW:~/destination# cat /var/log/com.rdk.iperf3.log
0000000387.244349 <T-15418> MIL: < M:Main.cpp F:main L:494 > Running hook createRuntime for container 'Kn'
---------------------------------------------
Connecting to host 192.168.29.199, port 5201
[ 5] local 192.168.29.76 port 58810 connected to 192.168.29.199 port 5201
[ 7] local 192.168.29.76 port 58812 connected to 192.168.29.199 port 5201
[ 9] local 192.168.29.76 port 58824 connected to 192.168.29.199 port 5201
[ 11] local 192.168.29.76 port 58840 connected to 192.168.29.199 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 12.0 MBytes 101 Mbits/sec 1 505 KBytes
[ 7] 0.00-1.00 sec 12.0 MBytes 101 Mbits/sec 0 646 KBytes
[ 9] 0.00-1.00 sec 12.0 MBytes 101 Mbits/sec 0 1.94 MBytes
[ 11] 0.00-1.00 sec 12.0 MBytes 101 Mbits/sec 0 666 KBytes
[SUM] 0.00-1.00 sec 48.0 MBytes 403 Mbits/sec 1
- - - - - - - - - - - - - - - - - - - - - - - - -
[ 5] 1.00-2.00 sec 11.9 MBytes 99.6 Mbits/sec 0 980 KBytes
[ 7] 1.00-2.00 sec 11.9 MBytes 99.6 Mbits/sec 0 1.06 MBytes
[ 9] 1.00-2.00 sec 11.9 MBytes 99.6 Mbits/sec 0 2.69 MBytes
[ 11] 1.00-2.00 sec 11.9 MBytes 99.6 Mbits/sec 0 1.05 MBytes
[SUM] 1.00-2.00 sec 47.5 MBytes 398 Mbits/sec 0
- - - - - - - - - - - - - - - - - - - - - - - - -
[ 5] 2.00-3.00 sec 12.0 MBytes 101 Mbits/sec 0 1.01 MBytes
[ 7] 2.00-3.00 sec 12.0 MBytes 101 Mbits/sec 0 1.17 MBytes
[ 9] 2.00-3.00 sec 12.0 MBytes 101 Mbits/sec 0 2.69 MBytes
[ 11] 2.00-3.00 sec 12.0 MBytes 101 Mbits/sec 0 1.16 MBytes
[SUM] 2.00-3.00 sec 48.0 MBytes 403 Mbits/sec 0
shilpa@BLTSL08096:~$ iperf3 -s
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------
Accepted connection from 192.168.29.76, port 58796
[ 5] local 192.168.29.199 port 5201 connected to 192.168.29.76 port 58810
[ 8] local 192.168.29.199 port 5201 connected to 192.168.29.76 port 58812
[ 10] local 192.168.29.199 port 5201 connected to 192.168.29.76 port 58824
[ 12] local 192.168.29.199 port 5201 connected to 192.168.29.76 port 58840
[ ID] Interval Transfer Bitrate
[ 5] 0.00-1.01 sec 11.1 MBytes 92.2 Mbits/sec
[ 8] 0.00-1.01 sec 11.0 MBytes 91.2 Mbits/sec
[ 10] 0.00-1.01 sec 11.0 MBytes 91.2 Mbits/sec
[ 12] 0.00-1.01 sec 11.0 MBytes 91.2 Mbits/sec
[SUM] 0.00-1.01 sec 44.1 MBytes 366 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ 5] 1.01-2.01 sec 12.1 MBytes 102 Mbits/sec
[ 8] 1.01-2.01 sec 12.2 MBytes 103 Mbits/sec
[ 10] 1.01-2.01 sec 12.2 MBytes 103 Mbits/sec
[ 12] 1.01-2.01 sec 12.2 MBytes 103 Mbits/sec
[SUM] 1.01-2.01 sec 48.9 MBytes 413 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - - |
8. Below cmd to stop the Execution unit & make the status to Idle
| Code Block |
|---|
root@Filogic-GW:~/destination# UspPa -c operate "Device.SoftwareModules.ExecutionUnit.1.SetRequestedState(RequestedState=Idle)"
Synchronous Operation (Device.SoftwareModules.ExecutionUnit.1.SetRequestedState()) completed successfully.
Output Arguments:-
Ret => "Stopping EU" |
9. Uninstall the module using below cmd. Uninstall should be successful and bundle files should be erased for the fresh installation to work.
| Code Block |
|---|
...