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

NOTE: To display a properly formatted output string, Dell Networking recommends adding the
following clido wrapper function at the beginning of TCLSH and EXPECT scripts:
# Execute clido and return the output string
proc Execclido {cmd_str} {
set str [exec clido "$cmd_str"]
set tmp_str [string map {\n \r\n} $str ]
return $tmp_str
}
...
set out_str [Execclido "show version"]
puts $out_str
...
Auto-Execution Scripts
The autoexecution (autoexec) script is the same as a preconfiguration script except that it executes on
every reboot in Normal mode.
Store scripts in a flash://autoexec file. Autoexec scripts are independent of BMP.
The autoexec script only executes when:
• BMP is disabled.
• The script is stored in a flash://autoexec file.
• Before reloading the system, you use the reload-type normal-reload command in the reload-
type
sub command mode.
If the autoexec script fails, the system generates a message indicating the failure and does not load the
configuration file. Before continuing the upgrade, correct the error in the script.
Post-Configuration Scripts
The post configuration script runs once the start-up configuration is applied as script post-config
script-name. In BMP mode, after the pre-configuration script completes and the configuration loads,
you can run a post-configuration script if one is present in the configuration file. In normal reload, if there
is script post-config script-name config in the startup config file, post-configuration script is
executed.
To check the status of configured ports or protocols, set the host name of the system, or perform
additional configuration settings, use the post-configuration script. The system supports post-
configuration scripts in EXPECT, TCLSH, and ZSH. If you installed the SmartScripts package in your Dell
Networking switches, the system also supports post-configuration scripts in Perl, Python, and Ruby.
Using Preconfiguration Scripts
To preconfigure scripts, follow these steps:
1. Decide what information you want to preconfigure; for example, request username and password
information. Verify the integrity of the boot image the DHCP offer downloads and apply the
configuration types.
2. Create a preconfiguration script in EXPECT, TCL or ZSH.
3. Store the script on any TFTP/FTP/SFTP server that is reachable from the system and mention the URL
file (TFTP/FTP/SFTP) in the DHCP offer.
4. Change the reload-type to BMP and reload the switch. The system boots in BMP mode.
Bare Metal Provisioning
27