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 following conguration retrieves the BGPrunning-config via REST API:
curl -u admin:admin http://10.16.151.159:8008/api/running/dell/router/bgp\?deep
<collection xmlns:y="http://tail-f.com/ns/rest">
<bgp>
<as-name>100</as-name>
<timers>
<bgp>
<keepalive>60</keepalive>
<hold-time>180</hold-time>
</bgp>
</timers>
<maximum-paths>
<ebgp>1</ebgp>
<ibgp1>1</ibgp>
</maximum-paths>
<bgp>
<dmzlink-bw>false</dmzlink-bw>
</bgp>
<neighbor>
<neighbor-router>11.1.1.2</neighbor-router>
<remote-as>200</remote-as>
<dmzlink-bw>false</dmzlink-bw>
<shutdown>false</shutdown>
</neighbor>
<neighbor>
<neighbor-router>11.1.1.3</neighbor-router>
<remote-as>200</remote-as>
<dmzlink-bw>false</dmzlink-bw>
<shutdown>false</shutdown>
</neighbor>
</bgp>
</collection
* Connection #0 to host 10.16.151.159 left intact
* Closing connection #0
The following conguration is to fetch the operational data for the BGP NLRI table via REST API (Router 1):
curl -u admin:admin http://10.16.151.159:8008/api/operational/mib/bgp4-v2/dellNetBgpM2NlriTable
\?deep
<collection xmlns:y="http://tail-f.com/ns/rest">
<dellNetBgpM2NlriTable>
<dellNetBgpM2PeerIndex>1</dellNetBgpM2PeerIndex?
<dellNetBgpM2NlriAfi>1</dellNetBgpM2NlriAfi>
<dellNetBgpM2NlriSafi>1</dellNetBgpM2NlriSafi>
<dellNetBgpM2NlriPrefix>5.0.0.0</dellNetBgpM2NlriPrefix>
<dellNetBgpM2NlriPrefixLen>24</dellNetBgpM2NlriPrefixLen>
<dellNetBgpM2NlriIndex>0</dellNetBgpM2NlriIndex>
<dellNetBgpM2NlriBest>true</dellNetBgpM2NlriBest>
<dellNetBgpM2NlriCalcLocalPref>100</dellNetBgpM2NlriCalcLocalPref>
<dellNetBgpM2PathAttrIndex>1860238788</dellNetBgpM2PathAttrIndex
<dellNetBgpM2NlriOpaqueType>none</dellNetBgpM2NlriOpaqueType>
<dellNetBgpM2RouteFlag>active</dellNetBgpM2RouteFlag>
</dellNetBgpM2NlriTable>
</collection>
* Connection #0 to host 10.16.151.159 left intact
* Closing connection #0
HTTP Status Error Codes
The REST API server returns the following HTTP status error codes.
Status Error
Codes
Description
200 OK The request was successfully completed. A response body returns containing a representation of the resource.
REST API 145