...
| 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.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 |
...
2. Bundle Installation - Host iperf bundle on local HTTP apache server and give the HTTP URL in the install command
...
| 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 |
...
| 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 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 |