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

Limits on System Usage
To restrict CPU and memory usage, Smart Scripting establishes limits on system processes for the following attributes (regardless of the
user-privilege level or scripting method).
Table 4. Limits on System Attributes
System Attributes Value Description
cputime
unlimited Maximum amount of time a process uses.
filesize
unlimited Largest le size (in bytes) that can be
created.
datasize
131,072 Maximum size (in bytes) of the data
segment for a process; this value denes
how far a program may extend its break with
the sbrk(2) system call.
stacksize
2,408 Maximum size (in bytes) of the stack
segment for a process; this value denes
how far a program’s stack segment can be
extended. The system automatically
performs stack extension.
coredumpsize
unlimited Largest size (in bytes) of a core le that can
be created.
memory use
233,244 Maximum size (in bytes) to which a
process’s resident set size may grow. This
value imposes a limit on the amount of
physical memory a process is given; if
memory is tight, the system prefers to take
memory from processes that are exceeding
their declared resident set size.
memorylocked
77,741 Maximum size (in bytes) which a process
may lock into memory using the mlock(2)
function.
maxproc
160 Maximum number of simultaneous
processes allowed for the user ID.
openfiles
64 Maximum number of open les for this
process.
Supported UNIX Utilities
Smart Scripting supports the invocation of the following UNIX utilities in the scripts you use.
UNIX Utility
Function
arp
Address resolution display and control.
awk
Pattern scanning and processing language.
basename
Return lename or directory portion of pathname.
bc
An arbitrary precision calculator language.
80 Smart Scripting