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

Request Query Parameters
Following are the various request query parameters supported on REST.
• deep — Retrieves a resource with all the subresources inline.
• shallow — Retrieves a resource with no subresources inline.
• select — Client uses to select the nodes and subresources.
• with-defaults — Client uses to control and display the default data in GET request.
To request a ltered partial response, use the select query parameter in the following patterns to specify the nodes and subresources.
• Use a semicolon separated list to select multiple nodes.
• Use a/b to select a node b that is nested within node a. Use a/b/c to select a node c nested within b.
• Use expressions in parentheses ( ) after any selected node to request specic subnodes.
• Use the wildcard notation within parentheses (*) to specify all sub nodes of a specic node.
NOTE: The node a/b/c;a/b/d is equivalent to a/b(c;d).
The following request selects the routes name and next-hop/name nodes:
GET
/running/sys/routes/inet/route/10.20.0.0,16?select=name;next-hop(name)
Sample BGP Congurations
The following are the sample BGP congurations via REST API.
Figure 3. BGP Topology
The PDU structure for conguring the IP address on an interface is as follows:
cat ipaddr_config_put.xml
<interface>
<name>tengig-0-0</name>
<ip>
<address>
<primary>
<address>11.1.1.1/24</address>
</primary>
</address>
</ip>
</interface>
The following conguration depicts the IP address conguration for router interfaces via REST– PUT request:
curl -v -u admin:admin http://10.16.151.159:8008/api/running/dell/interfaces/interface/
tengig-0-0 -X PUT -T ipaddr_config_put.xml
REST API
141