Dell EMC Networking Open Automation Guide 9.12.1.0 October ... Dell EMC Networking Open Automation Guide

  • View
    1

  • Download
    0

Embed Size (px)

Text of Dell EMC Networking Open Automation Guide 9.12.1.0 October ... Dell EMC Networking Open Automation...

  • Dell EMC Networking Open Automation Guide 9.12.1.0

    October 2017

    Regulatory Model: Open Automation

  • Notes, cautions, and warnings

    NOTE: A NOTE indicates important information that helps you make better use of your product.

    CAUTION: A CAUTION indicates either potential damage to hardware or loss of data and tells you how to avoid the problem.

    WARNING: A WARNING indicates a potential for property damage, personal injury, or death.

    Copyright © 2017 Dell Inc. or its subsidiaries. All rights reserved. Dell, EMC, and other trademarks are trademarks of Dell Inc. or its subsidiaries. Other trademarks may be trademarks of their respective owners.

    2017 - 10

  • Contents

    1 About this Guide.............................................................................................................................................9 Audience..............................................................................................................................................................................9 Open Automation Features and Supported Platforms ................................................................................................. 9 Conventions...................................................................................................................................................................... 10 Related Documents.......................................................................................................................................................... 10

    2 Open Automation Framework....................................................................................................................... 13 Bare Metal Provisioning................................................................................................................................................... 14 Smart Scripting................................................................................................................................................................. 14 Virtual Server Networking............................................................................................................................................... 15 REST API........................................................................................................................................................................... 15 Web Server........................................................................................................................................................................15

    3 Bare Metal Provisioning................................................................................................................................16 Introduction....................................................................................................................................................................... 16 How it Works.....................................................................................................................................................................16 Prerequisites...................................................................................................................................................................... 16 Industry Standard Upgrades with BMP......................................................................................................................... 17 BMP Process Overview................................................................................................................................................... 17 BMP Operations................................................................................................................................................................17 Configure BMP................................................................................................................................................................. 18

    BMP Mode.................................................................................................................................................................. 19 Normal Context...........................................................................................................................................................19 Normal Mode..............................................................................................................................................................20

    BMP Commands and Examples.....................................................................................................................................20 System Boot and Set-up Behavior in BMP Mode....................................................................................................... 20 BMP Mode: Boot and Set-UP Behavior....................................................................................................................... 22

    Reload Without a DHCP Server Offer.....................................................................................................................22 Reload with a DHCP Server Offer Without a Dell EMC Networking OS Offer..................................................23 Reload with a DHCP Server Offer and no Configuration File...............................................................................23 Reload with a DHCP Server Offer Without a DNS Server................................................................................... 24

    DHCP Offer Vendor-Specific Option for BMP.............................................................................................................25 DHCP Offer Relay Option 82..........................................................................................................................................25 Software Upgrade Using BMP.......................................................................................................................................26 Apply Configurations Using BMP Scripts..................................................................................................................... 26

    Pre–configuration Scripts.........................................................................................................................................26 Auto–execution Scripts.............................................................................................................................................27 Post–configuration Scripts....................................................................................................................................... 27 Using the Pre–configuration Script......................................................................................................................... 27

    Using the Post-configuration Script.............................................................................................................................. 28 Using Auto-Execution Script (Normal Mode Only)..................................................................................................... 28 Timers in Pre–configuration and Post–configuration Scripts.................................................................................... 29

    Contents 3

  • Script Examples............................................................................................................................................................... 29 BMP Operations on Servers Overview......................................................................................................................... 33

    Configuring the DHCP Server Settings.................................................................................................................. 34 DHCP Server IP Blacklist..........................................................................................................................................35 MAC-Based Configuration........................................................................................................................................35 MAC-Based IP Address Assignment....................................................................................................................... 35 Class-Based Configuration....................................................................................................................................... 36

    File Server Settings..........................................................................................................................................................37 Domain Name Server Settings....................................................................................................................................... 37 BMP MIB Support............................................................................................................................................................37

    4 Bare Metal Provisioning CLI.........................................................................................................................39 auto-save.......................................................................................................................................................................... 40 bmp logging....................................................................................................................................................................... 41 boot-type.......................................................................................................................................................................... 42 config-scr-download...........................................................................................................