create process python-module

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


This command is the python module form of the more detailed create process executable command. This command provides the ability for a 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
python-module The Python module to import and run
python-module The module 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
description Description
arg1-9 Variable value


On-demand. VR-Mgmt is the default VR used if not specified.

Usage Guidelines

From EPM‘s perspective, a python-based process is an instance of the “expy” executable with some arguments, namely the Python module. This form of the “create process” command is a short-cut to the detailed form, except that the user does not need to be aware of expy.


The following are examples of create process python-module commands.

python-module foo_program start auto vr vr-default
create process foo_user1 python-module “” “arg1 to foo.main”
create process foo_user2 python-module “foo.noargs.needed”
create process foo_user3 python-module “foo.daemon” start auto “arg1 to foo.main”
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.


This command was first available in ExtremeXOS 15.7.

Platform Availability

This command is available on all platforms.