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

Te 0/21.
00:02:26: %STKUNIT0-M:CP %BMP-5-BMP_BOOT_OFFER: DHCP acquired
IP 13.4.4.44 mask 255.255.255.0 server IP 13.4.4.1.
00:02:26: %STKUNIT0-M:CP %BMP-5-BMP_BOOT_OFFER: DHCP tftp IP
NIL sname NIL dns IP NIL router IP NIL.
00:02:27: %STKUNIT0-M:CP %BMP-5-BMP_BOOT_OFFER: DHCP image file
tftp://13.4.4.1/ftos-img-s4810.
00:02:27: %STKUNIT0-M:CP %BMP-5-BMP_BOOT_OFFER: DHCP config
file NIL.
00:02:27: %STKUNIT0-M:CP %BMP-5-BMP_BOOT_OFFER: stacking info
NIL.
3 The system downloads the Dell EMC Networking OS image from the le server.
4 The system compares the current local build image to the downloaded build image as follows:
a If the build image versions match, the system does not try to load any image and comes up with the Dell prompt.
00:02:55: %STKUNIT0-M:CP %BMP-5-BMP_RELEASE_HEADER_INFO:
Downloaded Image Major Version : 1
00:02:55: %STKUNIT0-M:CP %BMP-5-BMP_RELEASE_HEADER_INFO:
Downloaded Image Minor Version : 0
00:02:56: %STKUNIT0-M:CP %BMP-5-BMP_RELEASE_HEADER_INFO:
Downloaded Image Main Version : 0
00:02:56: %STKUNIT0-M:CP %BMP-5-BMP_RELEASE_HEADER_INFO:
Downloaded Image Patch Version : 1216
00:02:56: %STKUNIT0-M:CP %BMP-5-BMP_RELEASE_HEADER_INFO:
Flash A Image Major Version : 1
00:02:56: %STKUNIT0-M:CP %BMP-5-BMP_RELEASE_HEADER_INFO:
Flash A Image Minor Version : 0
00:02:56: %STKUNIT0-M:CP %BMP-5-BMP_RELEASE_HEADER_INFO:
Flash A Image Main Version : 0
00:02:56: %STKUNIT0-M:CP %BMP-5-BMP_RELEASE_HEADER_INFO:
Flash A Image Patch Version : 1216
b If the Dell EMC Networking OS image versions are dierent, the system stores the downloaded Dell EMC Networking OS image
in local ash memory and loads the Dell EMC Networking OS image from ash. This process repeats until the Dell EMC
Networking OS image versions match.
The system looks for the conguration le on the le server. If the system does not nd a conguration le, the download fails. If the Dell
EMC Networking OS image processing is successful, BMP stops. If the Dell EMC Networking OS image download also fails, the current
oer is treated as invalid and BMP tries to send DISCOVER messages.
Reload with a DHCP Server Oer Without a DNS Server
To reload the Dell EMC Networking OS on a switch using a pre–conguration script, the following must be true:
• BMP is enabled.
• The download of the script is from an external server and the location is specied in the DHCP oer.
• The rst line of the script contains one of the following:
#!/usr/bin/expect
#!/usr/bin/tclsh
#!/usr/bin/zsh
• If you installed the SmartScripts package, the Dell EMC Networking OS also supports pre–congurated scripts in Perl, Python, and
Ruby.
#!/usr/pkg/bin/perl
#!/usr/pkg/bin/python
• After the rst line, but before the start of the script, the script contains the signature #/DELL-NETWORKING.
• The pre–conguration script downloads instead of the conguration le.
• The pre–conguration script runs before applying the start-up conguration le.
• The pre–conguration script can use the Dell EMC Networking OS CLI commands using the f10do utility.
• When the pre–conguration script completes, the start up conguration le automatically applies.
24
Bare Metal Provisioning