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
• The circuit ID identies the port originating the protocol data unit (PDU) and has the interface details.
• The remote ID is congurable between the switch MAC address, the hostname, or a custom string. To set the remote ID, enable the
relay up-front in reload-type sub mode. If you enable the relay, by default, the remote ID is set to MAC address.
Software Upgrade Using BMP
BMP simplies switch conguration by allowing you to boot images and run congurations that are specied in a DHCP server and also by
automatically downloading les from a le server.
In a network topology with a large number of devices, use BMP to easily administer, upgrade, and maintain your devices.
Congure Auto-Conguration mode using the reload-type bmp command. Reload the switch in Conguration mode using the reload
command.
Apply Congurations Using BMP Scripts
With Dell EMC Networking OS version 9.1(0.0) or later, Open Automation supports a scripting environment when a BMP or Normal reload
occurs. BMP uses pre-conguration scripts, while a Normal reload-type uses an auto-exec script. The BMP post-conguration script runs
on its own, without any BMP or Normal reload-type restrictions.
Pre–conguration Scripts
In BMP, the Dell EMC Networking OS rst accesses the image, then the conguration le or pre–conguration script from the DHCP oer.
Use pre–conguration scripts to:
• verify the integrity of the Dell EMC Networking OS image the DHCP oer downloads
• dynamically decide what types of congurations to apply to your system based on various factors such as network reachability, port
status, or neighbor discovery
• use LLDP to monitor and generate reports for CPU and memory utilization, port trac status, and to perform link and topology
checking
You can provide a pre–conguration script in DHCP option 209 to either congure the switch or download a conguration le. The script
can download a conguration le or apply CLI commands. If present in the downloaded conguration, post-conguration script CLIs
execute.
You can set the system to retry downloading a conguration up to six times or to automatically save the downloaded conguration or script
on the switch.
After the conguration applies, it triggers a post–conguration script to ensure that the congurations and switch functions are correct.
Dene conguration parameters on the DHCP server for each chassis based on the chassis MAC Address or Vendor–Class–Identier in
DHCP oer 60 or a combination of both.
The conguration scripts such as Perl, Python, and Ruby are supported if you pre-installed the SmartScript package on the system.
The system supports pre–conguration scripts in EXPECT, TCLSH, and ZSH.
26
Bare Metal Provisioning