CUSTOMIZING NETWORK LINK OUTAGE RESPONSES USING PYTHON SCRIPTS IN OMNISWITCH APPLICATION NOTE



Similar documents
alcatel-lucent converged network solution The cost-effective, application fluent approach to network convergence

ALCATEL-LUCENT ENTERPRISE DATA CENTER SWITCHING SOLUTION Automation for the next-generation data center

SINGLE-TOUCH ORCHESTRATION FOR PROVISIONING, END-TO-END VISIBILITY AND MORE CONTROL IN THE DATA CENTER

AlcAtel-lucent enterprise AnD sdnsquare sdn² network solution enabling highly efficient, volumetric, time-critical data transfer over ip networks

A Coordinated. Enterprise Networks Software Defined. and Application Fluent Programmable Networks

Spotlight On Backbone Technologies

Multi-Link - Firewall Always-on connectivity with significant savings

White Paper. McAfee Multi-Link. Always-on connectivity with significant savings

Alcatel-Lucent Enterprise Converged Network Solution

How To Manage A Network With Ccomtechnique

Testing Software Defined Network (SDN) For Data Center and Cloud VERYX TECHNOLOGIES

APPLICATION NOTE. Benefits of MPLS in the Enterprise Network

Switching Solution Creating the foundation for the next-generation data center

Customer Benefits Through Automation with SDN and NFV

ALCATEL-LUCENT ENTERPRISE DATA CENTER SWITCHING SOLUTION Automation for the next-generation data center

Simplifying. Single view, single tool virtual machine mobility management in an application fluent data center network

ALCATEL-LUCENT OMNIVISTA 8770 NETWORK MANAGEMENT SYSTEM A SINGLE MANAGEMENT INTERFACE ACROSS SYSTEMS AND DEVICES

Fireware XTM Traffic Management

NMS300 Network Management System

Vistara Lifecycle Management

Digital Advisory Services Professional Service Description Network Assessment

Configure Policy-based Routing

The Cloud-Optimized. Leveraging a multi-layer SDN framework

healthcare Data Center Switching Solution Creating the foundation for the next-generation healthcare data center

IP/MPLS VPN SERVICE - ADDITIONAL TERMS & CONDITIONS to the IP/MPLS Service Addendum

Alcatel-Lucent 5620 portfolio for power utilities Going far beyond traditional network management

VoIP / SIP Planning and Disclosure

Virtual Leased Line (VLL) for Enterprise to Branch Office Communications

Configuring SIP Trunk Failover in AOS

VCStack - Powerful Simplicity. Network Virtualization for Today's Business

VOIP Guide Using ZyXEL Switch

Testing Packet Switched Network Performance of Mobile Wireless Networks IxChariot

Use Case Brief BORDERLESS DATACENTERS

IP SLAs Overview. Finding Feature Information. Information About IP SLAs. IP SLAs Technology Overview

WAN Optimization. Riverbed Steelhead Appliances

SDN FOR IP/OPTICAL TRANSPORT NETWORKS

Avaya Diagnostic Server

Brocade Solution for EMC VSPEX Server Virtualization

ALCATEL-LUCENT OMNIVISTA 2500 NETWORK MANAGEMENT SYSTEM

Visualization, Management, and Control for Cisco IWAN

EVOLVING ENTERPRISE NETWORKS WITH SPB-M APPLICATION NOTE

Intelligent Routing Platform White Paper

Evolving Network Security with the Alcatel-Lucent Access Guardian

Smart Tips. Enabling WAN Load Balancing. Key Features. Network Diagram. Overview. Featured Products. WAN Failover. Enabling WAN Load Balancing Page 1

multi-site, private networking service Uses MPLS access-agnostic transport routing intelligence in the network Class of Service (CoS)

LiveAction Visualization, Management, and Control for Cisco IWAN Overview

NQA Technology White Paper

Fail-Safe IPS Integration with Bypass Technology

SDN CENTRALIZED NETWORK COMMAND AND CONTROL

Extreme Networks Solutions for Microsoft Skype for Business Deployments SOLUTION BRIEF

ENTERPRISE CONVERGED NETWORK SOLUTION. Deliver a quality user experience, streamline operations and reduce costs

Atrium Discovery for Storage. solution white paper

Alcatel-Lucent Services

VOICE VLAN SUPPORT IN THE DELL POWERCONNECT 6200

TRANSFORMATION OPPORTUNITIES WITH THE ALCATEL-LUCENT OPENTOUCH SUITE OPTIMIZING CONVERSATION DELIVERY OVER CENTRALIZED COMMUNICATIONS NETWORKS

July, Figure 1. Intuitive, user-friendly web-based (HTML) interface.

HP PCM Plus v4 Network Management Software Series

Avaya Diagnostic Server

TIBCO Rendezvous Network Server Glossary

Ethernet-based Software Defined Network (SDN) Cloud Computing Research Center for Mobile Applications (CCMA), ITRI 雲 端 運 算 行 動 應 用 研 究 中 心

7750 SR OS System Management Guide

alcatel-lucent Network Management for the Application Fluent Enterprise

HP E-PCM Plus Network Management Software Series

Boosting Business Agility through Software-defined Networking

HP PCM Plus v3 Network Management Software Series Overview

On-Demand Call Center with VMware View

Virtualized Network Services SDN solution for enterprises

WAN Optimization For Software Defined Networks

Network Management for Common Topologies How best to use LiveAction for managing WAN and campus networks

Ensure VoIP and Skype for Business Call Quality and Reliability with NetScaler SD-WAN

Empowering the Enterprise Through Unified Communications & Managed Services Solutions

How Network Transparency Affects Application Acceleration Deployment

WhatsUp Gold v11 Features Overview

How To Create An Intelligent Infrastructure Solution

Access5800 Firmware Version 1.6 Release Notes 2/28/03

Reliable high throughput data connections with low-cost & diverse transport technologies

Reasons to Choose the Juniper ON Enterprise Network

Business Cases for Brocade Software-Defined Networking Use Cases

Testing Challenges for Modern Networks Built Using SDN and OpenFlow

How to Configure Dynamic DNS on a Virtual Access Router

SapphireIMS 4.0 BSM Feature Specification

High-performance VoIP Traffic Optimizer Client Solution

High Availability Private Network (HAPN ) Network Upgrade Case Study

How To Load Balance On A Cisco Cisco Cs3.X With A Csono Css 3.X And Csonos 3.5.X (Cisco Css) On A Powerline With A Powerpack (C

Virtualized Network Services SDN solution for service providers

Ancero IP Toll Free Service Guide

Analyze hop-by-hop path, devices, interfaces, and queues Locate and troubleshoot problems

Use Case Brief BUILDING A PRIVATE CLOUD PROVIDING PUBLIC CLOUD FUNCTIONALITY WITHIN THE SAFETY OF YOUR ORGANIZATION

Use Case Brief NETWORK SECURITY

Transcription:

CUSTOMIZING NETWORK LINK OUTAGE RESPONSES USING PYTHON SCRIPTS IN OMNISWITCH APPLICATION NOTE

INTRODUCTION Today s enterprise networks provide mission-critical resources for employees, customers and business partners. Networks must be flexible, and the network operations staff must be able to trust that network issues are resolved quickly to minimize business impact. Alcatel-Lucent OmniSwitch products can be customized to respond adequately to specific network events using the Event Manager of the Alcatel-Lucent Operating System (AOS) and its embedded Python scripting feature. Specific network events can trigger Python scripts to provide fast, real-time, software-defined responses tailored to the requirements of the enterprise. For example, the customers can set up different responses for link failures depending on the location and type of a link. A SOFTWARE-DEFINED RESPONSE TO A LINK FAILURE UPDATES THE POLICY-BASED ROUTING CONFIGURATION Enterprise networks frequently include multiple primary and backup links with different costs, latencies and bandwidth characteristics. Policy-based routing (PBR) and other configuration mechanisms are used to direct traffic over the appropriate links based on security policies, bandwidth and latency or other technology requirements as defined based on business needs. This approach optimizes the use of network resources and provides the best network performance when all links are available. However, a policy may require changes to the behavior when one or more links fail. Enterprise networks can use the Event Manager and Python scripting to provide an embedded software-defined response to link failures and other network events. The link failure response can then update the network to minimize disruption with a nearly real-time reaction. The advantage is that the update is not dependent on the availability of a third-party management system to execute the necessary actions. VoIP link VoIP VENDOR cloud Enterprise network PUBLIC Internet Bulk VoIP data link AOS Python scripting provides a softwaredefined response to link failure updates policy-based routing configuration. Server farm 2

The enterprise network shown above has two links to the Internet. One link provides high-quality VoIP and video, and the other link delivers high bandwidth for bulk data transfers and network redundancy. The VoIP link is provisioned by the service provider for minimum latency with moderate bandwidth, whilst the main bulk data Internet link is a lower-cost link connection that delivers high bandwidth but without quality-of-service (QoS) guarantees. When both links are operational, the network configuration directs all VoIP traffic over the VoIP link and all other traffic over the bulk data Internet link. The AOS Event Manager feature executes a Python script when a link state changes. The Python link down script modifies the network configuration appropriately whenever a key link fails. When the VoIP link fails, the Python link down script updates the OmniSwitch policybased routing configuration to direct the VoIP traffic to the bulk link. The link down script also updates the QoS configuration to limit non-voip bandwidth, ensuring good VoIP performance. When the bulk data Internet link fails, the Python link down script updates the configuration to allow a moderate amount of bulk data to use the VoIP link but without impacting VoIP traffic. The Python link up script restores the normal configuration when the links return to operational status. It also reports the total down time to the network management team by e-mail. EXAMPLE This example demonstrates the AOS Event Manager and its Python scripting. The Event Manager is configured with event-action commands that execute the pbr_ saa_script.py script when the snmp linkdown or the snmp linkup trap occurs. In this example, the same script handles both cases for simplicity, but two separate scripts could be used.! Trap Manager: snmp-trap absorption disable event-action trap linkdown script /flash/python/pbr_saa_script.py event-action trap linkup script /flash/python/pbr_saa_script.py 3

AOS passes the trap type and other parameters to the script when a linkdown or linkup trap occurs. The script then checks the parameters trap and data[ifindex] to determine what happened. if trap == linkdown : print( linkdown on port 1/1/12 ) <Python code executed when port 1/12 goes down> elif trap == linkup : <Python code executed when port 1/12 goes up> print( linkup on port 1/1/12 ) In this example, a linkdown trap occurs when link 1/12 fails. The Python script then enables port 2/1/11 and updates the QoS configuration that implements policy-based routing. A linkup trap occurs when link 1/12 returns to operational state. The Python script then disables port 2/1/11 and updates the QoS/PBR configuration. The code is summarized here: if trap == linkdown : print( linkdown on port 1/1/12 ) os.system( interfaces 2/1/11 admin-state enable ) os.system( qos flush ) os.system( policy condition pbr01 source ip 1.1.1.2 ) os.system( policy action pbr01 permanent gateway-ip 172.16.0.192 ) os.system( policy rule pbr01 condition pbr01 action pbr01 ) elif trap == linkup : print( linkup on port 1/1/12 ) os.system( interfaces 2/1/11 admin-state disable ) os.system( qos flush ) os.system( policy condition pbr01 source ip 1.1.1.2 ) os.system( policy action pbr01 permanent gateway-ip 172.16.2.11 ) os.system( policy rule pbr01 condition pbr01 action pbr01 ) 4

CONCLUSION The AOS Event Manager and Python scripting provide a fast, flexible, software-defined response to network events. The response supports and enforces network policies defined by the networking staff. Responses can include enabling or disabling links or changing network priorities. It can also include gathering information to document the failure and notifying network staff by e-mail. REFERENCES See OmniSwitch AOS XXX Switch Management Guide, chapter Web Services, CLI Scripting, and OpenFlow. The document is located at http://enterprise.alcatel-lucent. com/userguides. This application note applies to AOS release 7.3.4 or later. enterprise.alcatel-lucent.com Alcatel-Lucent and the Alcatel-Lucent Enterprise logo are trademarks of Alcatel-Lucent. To view Alcatel-Lucent Enterprise trademarks visit: enterprise.alcatel-lucent.com/trademarks. All other trademarks are the property of their respective owners. The information presented is subject to change without notice. Alcatel-Lucent Enterprise assumes no responsibility for inaccuracies contained herein. Copyright 2015 Alcatel-Lucent Enterprise. All Rights Reserved. 201502170005EN (March)