...
4. Start iperf3 -s (server) on any Ubuntu PC and then Go to iperf bundle config.json file on BPi and give the local 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"
], |
...
9. Uninstall the module using below cmd. Uninstall should be successful and bundle files should be erased for the fresh installation to work. Verify the softwaremodules, it should not contain any Execution unit after uninstallation
| Code Block |
|---|
root@Filogic-GW:~/destination# ls
dec9iperf3 dec9iperf3.tar.gz.json
root@Filogic-GW:~/destination# UspPa -c operate "Device.SoftwareModules.DeploymentUnit.1.Uninstall()"
Asynchronous Operation (Device.SoftwareModules.DeploymentUnit.1.Uninstall()) Started successfully.
Device.LocalAgent.Request.1 created.
See log for output arguments of operation
root@Filogic-GW:~/destination#
root@Filogic-GW:~/destination# ls
root@Filogic-GW:~/destination#
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.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 |