Concept Guide
Table Of Contents
- Dell EMC Networking Open Automation Guide 9.14.1.0 November 2018
- About this Guide
- Open Automation Framework
- Bare Metal Provisioning
- Introduction
- How it Works
- Prerequisites
- Industry 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 EMC Environment Variables
- Dell EMC Proprietary Utilities
- Dell EMC SmartScript Utilities
- SQLite
- NET SNMP Client
- Limits on System Usage
- Supported UNIX Utilities
- Creating a Username and Password for Smart Scripting
- Logging in to a NetBSD UNIX Shell
- Downloading Scripts to a Switch
- Network File System (NFS)
- 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 clear-all
- package install
- package uninstall
- script (run)
- script (stop/resume/clear/kill/unschedule)
- script event-handler
- script execute (EXEC mode)
- script execute
- script get
- script path
- script remove
- script trigger-event
- show packages
- show script
- start shell
- triggered-by
- switch script limit
- username (event handler)
- username
- SNMP MIBs
- 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

• Python interpreter and associated les.
• Ruby interpreter and associated les.
• SQLlite database and Perl, Python, Ruby, TCL interface to SQLite.
• NetSNMP client and Perl, Python, Ruby interface to the client.
• Expanded set of UNIX utilities.
• Web-Server with HTTP support (see Web Server with HTTP Support).
Installing Smart Scripting
After you download the Smart Scripts package, install the le from local ash memory on a switch or from an external drive on a network
server.
Because the installation takes time, installing Smart Scripting performs in the background. When the download completes, a message
displays on the console. The package installation updates the running conguration le.
CAUTION: You can modify (for example, edit or rename) the les Smart Scripting downloads only in the directory in which you
install the package. Never modify the les in other system directories.
To install the Smart Scripting package, download it from the Dell EMC Networking web portal.
1 On a PC or other network device, go to the Dell EMC Networking web portal at https://www.force10networks.com/CSPortal20/
Main/SupportMain.aspx. Click Login, enter your user ID and password, and click the Login button.
2 On the Customer Support page, click the Software Center tab.
3 In the left-hand column, click Automation Software.
4 At the bottom of the Terms and Conditions page, click I agree.
5 On the Automation Software page, under Software, select the le for the switch from the following list:
• SMARTSCRIPTS-LITE-A-9.14.1.0.tar.gz for S3100 Series.
• SMARTSCRIPTS-P-9.14.1.0.tar.gz for S4810, S4820T, and S5000.
• SMARTSCRIPTS-I-9.14.1.0.tar.gz for S6000, S6000–ON, S6010–ON, S6100–ON, Z9500, C9010, S3048–ON, S4048–
ON, S4048T–ON, and Z9100–ON.
• SMARTSCRIPTS-I-9.14.1.0.tar.gz for S5048F–ON.
• SMARTSCRIPTS-M-9.14.1.0.tar.gz for the MXL switch.
6 In the dialog box, select the path for the local ash on the switch or a directory path on a network server where you want to download
the SMARTSCRIPTS package.
7 To install the Smart Scripting package, when the download completes, use the package install command from the Dell EMC
Networking OS CLI.
8 Install the Smart Scripting package from local ash memory or a network server to a dedicated location on your server for script
storage.
EXEC Privilege mode
package install {flash://filename | ftp://userid:password@host-ipaddress/dir-path | tftp://
host-ipaddress/dir-path | nfsmount://filepath}
• flash://filename installs the Smart Scripting le stored in ash memory on the switch.
• ftp://userid:password@host-ipaddress/filepath logs in and installs Smart Scripting from a le stored on an FTP
server.
• tftp://host-ipaddress/filepath installs Smart Scripting from a le stored on a TFTP server.
• nfsmount://filepath copies from the nfs mount le system.
To remove an installed Open Automation package, such as Smart Scripting, use the package uninstall command.
To follow the progress of a package installation (or removal), use the show packages command.
Smart Scripting
73