Service Manual
Table Of Contents
- Dell Networking Open Automation Guide December 2015
- About this Guide
- Open Automation Framework
- Bare Metal Provisioning
- Introduction
- How it Works
- Prerequisites
- Industrial Standard Upgrades with BMP
- BMP Process Overview
- BMP Operations
- Configure BMP
- BMP Commands and Examples
- System Boot and Set-Up Behavior in BMP Mode
- BMP Mode: Boot and Set-UP Behavior
- DHCP Offer Vendor-Specific Option for BMP
- DHCP Offer Relay Option 82
- Software Upgrade Using BMP
- Apply Configurations Using BMP Scripts
- Using the Post-Configuration Script
- Using Auto-Execution Script (Normal Mode Only)
- Timers in Pre–configuration and Post–configuration Scripts
- Script Examples
- BMP Operations on Servers Overview
- File Server Settings
- Domain Name Server Settings
- BMP MIB Support
- Bare Metal Provisioning CLI
- Open Management Infrastructure
- Puppet
- Smart Scripting
- Overview
- Download the Smart Scripting Package
- Dell Proprietary Utilities
- Dell SmartScript Utilities
- SQLite
- NET SNMP Client
- Limits on System Usage
- Supported UNIX Utilities
- Creating a User Name and Password for Smart Scripting
- Logging in to a NetBSD UNIX Shell
- Downloading Scripts to a Switch
- Setting a Search Path for Scripts
- Scheduling and Executing Scripts
- Running a Script from the UNIX Shell
- Running Scripts with User Privileges
- Smart Scripting CLI
- disable
- execute
- mount nfs
- package install
- package uninstall
- script (run)
- script (stop/resume/clear/kill/unschedule)
- script event-handler
- script execute (EXEC mode)
- script execute (CONFIGURATION mode)
- script get
- script path
- script remove
- script trigger-event
- show packages
- show script
- start shell
- triggered-by
- switch script limit
- username (event handler)
- username
- Virtual Server Networking
- Virtual Server Networking CLI
- REST API
- HTTP and HTTPS
- XML
- Important Points to Remember
- REST Authentication
- Request Query Parameters
- Sample BGP Configurations
- HTTP Status Error Codes
- REST API — Protocol Data Unit (PDU) Structure
- Configurations
- Operational
- Operational Data for IPv6
- Management Information Base (MIB)
- IETF Interface Operations
- REST API Framework to Execute the CLIs
- Samples of the config-command
- Samples of the EXEC command
- Samples of the show-command
- REST API CLI
- Web Server with HTTP Support

7
Smart Scripting
Smart Scripting is supported on the S4810, S4820T, S3048–ON, S4048–ON, S5000, S6000, Z9100–ON,
Z9500, and MXL switch platforms. Smart Scripting is not supported on the M IOA, FN IOA, and FN IOM
platforms.
Smart Scripting allows you to add functionality to Dell Networking switches without updating the Dell
Networking OS release. Smart Scripting is available as a separate installable package that supports SQLite
DB and NET SNMP applications and TCL, Expect, Perl, Python, Ruby, and Unix scripting languages.
The Smart Scripting package supports the smart utility (SmartUtils) application programming interfaces
(APIs) providing you an easier way to invoke switch operations by creating and running Tcl, Expect, Perl,
Python, Ruby, and ZSH scripts on the Dell Networking OS. API library files describe the functions
supported in Perl, Python, and Ruby scripts.
A separate package is extended with HTTP and HTTPS daemons based on CGI scripts and a Web-based
graphical user interface. For more information about this package, refer to Web Server with HTTP
Support. For information about HTTP requests the REST API supports, refer to the REST API CLI.
Overview
To manage and interact with Dell Networking switches in the network, you can use Smart Scripting to
create custom Expect, Perl, Python, Ruby, Tcl, UNIX, and ZSH shell scripts.
Smart Scripting provides support for:
• Modules that implement requested Python features, such as AMQP (message queuing), XML-RPC
(arbitrary data exchange), and Twisted (event-driven networking engine).
With Smart Scripting, you don’t need to learn proprietary scripting languages; allowing for faster
development and deployment of custom scripts.
Smart Scripting also offers solutions in a UNIX environment useful to cloud administrators who are
familiar with working in a UNIX shell. Smart Script support in a UNIX environment allows you to invoke
standard UNIX utilities such as netstat, tcpdump, ls, chmod, chown, and so on.
Smart Scripting includes a convenient set of API function libraries that you can refer to when you create
Expect, Perl, Python, Ruby, Tcl, UNIX, and ZSH shell scripts. API libraries provide a representation of CLI
functions to retrieve data from the Dell Networking OS and change configuration parameters on Dell
Networking switches. Script writers include API function calls made directly on the Dell Networking OS
CLI in Expect, Perl, Python, Ruby, Tcl, UNIX, and ZSH shell scripts.
For example, the API functions a script uses includes setting up a telnet session, gathering data on the
switch, sending information to the CLI, and closing telnet sessions. By using simple function calls, you do
not have to include the parsing code required for telnet sessions and retrieving configuration information.
Smart Scripting
73