Remote RMX-3200 Version 5.2x Configuration Guide
Configuring Jobs: Configuring a Job with a Job Task
23-10
Configuring a Job with a Job Task
Important: This procedure assumes that the captureScript.py, echoScript.py,
PackageManifest.xml and __init__.py files have been authored on a
local workstation and the procedure,
Creating and Installing a Script
Package on page 23-5 has been completed.
To configure a job with a job task:
1. At the main prompt, create and configure job
echodata to use script package
examplescript and script echo_example. Define the minimum acceptable
version level for an installed package as
1.0.0:
config jobs name echodata script examplescript echo_example 1.0.0
2. Create task new_ip and assign the task type as ifconfig:
config jobs name echodata task new_ip type ifconfig
3. Assign address property value 192.168.0.215 to task new_ip:
config jobs name echodata task new_ip property address
192.168.0.215
4. Assign controller property br_switch to task new_ip:
config jobs name echodata task new_ip property controller
br_switcheth0_1
5. (optional) Verify that the task new_ip has been configured properly:
show jobs name echodata task new_ip
The command response similar to the following displays:
6. Create task
server_sock and assign the task type as serversocket:
config jobs name echodata task server_sock type serversocket
In this scenario, you will configure a job with a job task. The job uses a script that
starts a server, which accepts an incoming socket connection. When a connection
is established, the script listens for data from the connection. When data is sent, the
script determines if it should modify the data based on the value
yes entered for job
property upper_case and then writes back the changed data in uppercase.
(Dub)>show jobs name echodata task new_ip
Task: new_ip
Position: 1
Type: ifconfig
Properties:
Name Value
address 192.168.0.215
controller br_switch
(Dub)>