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
time-event
stop at date-
time
Enter the keyword stop at then the time and date either in HH:MM — MM/DD/YY
format to stop the trigger event at the specied time and date or in HH:MM format to
begin the trigger event at the specied time on the same day (if the mentioned time is
elapsed, the event runs on the next day HH:MM mentioned). The date must be a future
date.
time-event
stop after
time
Enter the keyword stop after then the time in [HHHH:] MMMM format to stop the
trigger event after the specied time.
count number Enter the keyword count then the number of times to trigger the script event. The
range is from 1 to 100.
interval time Enter the keyword interval then the time in [HHHH:] MMMM format, in minutes, to
schedule the script execution interval.
weekday day Enter the keyword weekday then the day of a week to run the script. Select one or more
days from the following values: mon, tue, wed, thu, fri, sat, and sun. Separate each day by
commas.
month month Enter the keyword month then the month to run the script. Select one or more months
from the following values: jan, feb, mar, apr, may, jun, jul aug, sep, oct, nov, and dec.
Separate each month by commas.
monthday nday Enter the keyword monthday then the day to run the script event. The range is from 1 to
31. Separate each day by commas.
cpu-usage
percentage
Enter the keywords cpu-usage then a percentage value between 20 and 90 to dene
the trigger event based on CPU usage.
mem-usage
percentage
Enter the keywords mem-usage then a percentage value between 20 and 90 to dene
the trigger event based on memory usage.
Defaults none
Command Modes CONFIGURATION
Command History
This guide is platform-specic. For command information about other platforms, see the relevant Dell EMC
Networking OS Command Line Reference Guide.
The following is a list of the Dell EMC Networking OS version history for this command.
Version Description
9.10(0.1) Introduced on the S4048T–ON and S6010–ON.
9.10(0.0) Introduced on the S3100 Series and S6100–ON.
9.9(0.0) Introduced the support for interval, weekday, month, and monthday options in trigger
event. Introduced on the C9010.
9.8(1.0P1) Introduced on the Z9100–ON.
9.8(0.0P5) Introduced on the S4048–ON.
9.8(0.0P2) Introduced on the S3048–ON.
9.7(0.0) Introduced on the S4810, S4820T, S5000, S6000, S6000–ON, Z9000, Z9500, and MXL.
9.6(0.0) Introduced on the S5000.
9.5(0.1) Introduced on the Z9500.
9.3(0.0) Introduced on the S6000.
106 Smart Scripting CLI