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
Puppet Agent Conguration Scripts..............................................................................................................................67
puppet-cong............................................................................................................................................................. 67
puppet-show...............................................................................................................................................................67
puppet-agent..............................................................................................................................................................67
puppet-apply.............................................................................................................................................................. 68
Building the Manifest File................................................................................................................................................68
Hostname Conguration...........................................................................................................................................68
Layer 2 Interface Conguration................................................................................................................................68
LAG Conguration..................................................................................................................................................... 69
Physical Interface Conguration.............................................................................................................................. 69
VLAN Conguration.................................................................................................................................................. 69
Using the Puppet Facter.................................................................................................................................................70
Setting up the Puppet Master........................................................................................................................................70
7 Smart Scripting............................................................................................................................................ 71
Overview............................................................................................................................................................................71
Download the Smart Scripting Package....................................................................................................................... 72
Installing Smart Scripting.......................................................................................................................................... 73
Displaying Installed Packages....................................................................................................................................74
Uninstalling SmartScripts.......................................................................................................................................... 74
Dell EMC Environment Variables....................................................................................................................................74
Dell EMC Proprietary Utilities......................................................................................................................................... 75
clido..............................................................................................................................................................................75
dellsh............................................................................................................................................................................76
dellsyslog..................................................................................................................................................................... 76
Dell EMC SmartScript Utilities........................................................................................................................................77
SQLite................................................................................................................................................................................79
NET SNMP Client............................................................................................................................................................79
Limits on System Usage..................................................................................................................................................80
Supported UNIX Utilities.................................................................................................................................................80
Creating a Username and Password for Smart Scripting........................................................................................... 82
Logging in to a NetBSD UNIX Shell...............................................................................................................................82
Downloading Scripts to a Switch................................................................................................................................... 83
Network File System (NFS)........................................................................................................................................... 83
Setting a Search Path for Scripts..................................................................................................................................83
Scheduling and Executing Scripts................................................................................................................................. 83
Script Scheduler from EXEC mode......................................................................................................................... 84
Managing Executed Scripts......................................................................................................................................85
Viewing Script Information....................................................................................................................................... 86
Running a Script from the UNIX Shell........................................................................................................................... 87
Running Scripts with User Privileges.............................................................................................................................87
8 Smart Scripting CLI..................................................................................................................................... 89
disable................................................................................................................................................................................89
execute..............................................................................................................................................................................90
mount nfs...........................................................................................................................................................................91
Contents
5