create process executable

create process name executable exe {start [auto | on-demand]} {vr vr-name} {description description} {arg1 {arg2 { arg3 { arg4 { arg5 { arg6 { arg7 { arg8 { arg9 }}}}}}}}}

Description

This command provides the ability for an end-user to add a process. The process can be a C executable compiled using the C-based SDK or a Python module. It will be uploaded by the user to /usr/local/cfg via the normal mechanisms (i.e. TFTP).

Syntax Description

process ExtremeXOS user process
name Name of the user process
executable Executable
exe Name of the executable relative to /usr/local/cfg
start Startup behavior
auto Create a daemon process and start it immediately
on-demand Create a run-to-completion process and use \"start process\
vr Virtual router in which to start the process
vr-name Virtual router name (Default is VR-Mgmt)
description Description
arg1-9 Variable value

Default

On-demand.

Usage Guidelines

This command is the detailed form of the create process command. Fields are provided by the user and passed directly into an epmrc entry. Not all epmrc fields are available.

Example

create process foo_userd executable foobard start auto vr VR-Default description “Run foobard on the default VR” “arg1” “arg2 with spaces”
The following error is displayed if an attempt is made to create a process with an invalid name:
Error: Process name %s is invalid.  Process names must begin with a letter, contain only alphanumeric and
“_” characters, and be less than 32 characters long.

History

This command was first available in ExtremeXOS 15.7.

Platform Availability

This command is available on the Summit X450-G2, X460-G2, X670-G2, X770, and ExtremeSwitching X440-G2, X620, X690, X870 series switches.