Administrator Guide

7 Python Scripting for Dell Networking N-Series | Version 1.0.1
1.4 Python script flow on Dell N-Series
Figure 2 depicts common flows of Python scripts on Dell N-Series switches.
Script resides on switch
ROM
(show application files)
Script is marked for
execution
(show application)
Script is copied
to the switch
(copy tftp)
User writes and
compresses script into
.tgz or tar.gz
Enable script to be
executed if called upon?
(application install)
Yes
No
Is script set to run on
a switch reload?
(start-on-boot)
Is switch reloading?
Execute script
Yes
No
No
Execute script manually
(app lication start)
To remove scripts from ROM
(erase application)
To prevent execution of scripts
(while keeping them in switch ROM)
(no application install)
Flow of enabling and executing a Python script
Flow of disabling and removing a Python script
Yes
Common flows of Python Scripts on Dell Networking N-Series
The flowchart above illustrates a common example of creating, enabling, executing, disabling and removing a
Python script on a Dell N-Series switch. There are a few other methods to start and stop these scripts as well.