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
Smart Scripting supports running a script either from the Dell Networking OS CLI or directly from a UNIX
shell. You can run scripts periodically, based on events, at boot up or after the switch is initialized. In
addition, you can run scripts in the foreground or background and display the progress of a script. If
required, you can cancel, stop, or resume scripts.
Smart Scripting allows you to automate common management and maintenance tasks, such as:
• Building visibility and/or discovery programs.
• Creating custom logging.
• Reporting configuration information.
• Reporting switch memory usage, configured virtual local area networks (VLANs), and other operation
and configuration parameters.
• Creating custom APIs for external applications to access the switch.
• Automating custom provisioning of network devices to support server virtualization.
For example, you can automate any of the following tasks:
• Monitor the configuration of switch ports to verify that no change occurs and generate an alarm if a
configuration change is detected as part of a cloud-computing deployment.
• Stage CLI command requests received from a customer. If a link flaps, the command completion
status is held in the script so you can see when the management plane reconnects.
• Generate time-based reports to receive updates on network status on a periodic basis.
• Query an external, configuration management database on a remote server to retrieve information on
port operation and reconfigure switch ports based on the data received.
• Apply additional time-based access-control lists (ACLs) to limit after hours access.
• Monitor network requests; for example, find a specified MAC address or generate a health-check
heartbeat.
• Create a simple menu of options that a non-network administrator can use to create requests to send
to the network.
Smart Scripting consolidates management data inside a switch and sends it to management consoles,
databases, or applications — reducing polling and network traffic. For example, you can use a script as
part of a cloud-computing deployment to detect when the network has changed, query a database
server for configuration management database (CMDB) information, and ultimately apply network
changes based on the data.
Download the Smart Scripting Package
Download the Smart Scripts package from the Dell Networking OS website.
The Smart Script filenames are:
• SMARTSCRIPTS-P-9.8.0.0.tar.gz for S4810, S4820T, and S5000
• SMARTSCRIPTS-I-9.8.0.0.tar.gz for S6000, Z9500, S3048–ON, S4048–ON, and Z9100–ON.
• SMARTSCRIPTS-M-9.8.0.0.tar.gz for MXL Switch
To download the SmartScript package to a dedicated location, use one of the following methods: TFTP,
FTP, Flash, or NFSMount.
The Smart Scripting package includes the following files and functionality:
• Dell Smartscript Utilities supports Perl, Python, and Ruby APIs.
74
Smart Scripting