Giter Club home page Giter Club logo

cloudshell-l1-netscout-teststream's Introduction

Netscout TestStream L1 Shell

Release date: 06/24/2022

Shell version: 5.0.2

Document version: 1.0

In This Guide

Overview

A shell integrates a device model, application or other technology with CloudShell. A shell consists of a data model that defines how the device and its properties are modeled in CloudShell, along with automation that enables interaction with the device via CloudShell.

L1 Switch Shells

L1 switch shells allow CloudShell to manage networking connectivity between physical resources and private cloud provider Apps, such as vCenter.

For additional information, see the L1 Switches online help topic.

Netscout TestStream L1 Shell

Netscout TestStream L1 Shell provides you with the capability to communicate with network topology managed by the Netscout TestStream switch.

The shell allows CloudShell users to interact with the device, for example, create and modify route mappings, get device information, and more.

For more information on the Netscout TestStream, see the official Netscout product documentation.

Standard version

The Netscout TestStream L1 Shell is based on the Layer 1 Switch Shell Standard.

Requirements

Release: Netscout TestStream L1 Shell

▪ CloudShell version: 8.0 and above

Data Model

The shell's data model includes all shell metadata, families, and attributes.

Netscout TestStream Families and Models

The L1 switch families and models are listed in the following table:

Family Model Description
L1 Switch Netscout TestStream Chassis L1 Switch Chassis
L1 Switch Blade O-Blade Netscout O-Blade
L1 Switch Blade S-Blade Netscout S-Blade
L1 Switch Blade S-Blade-Pro Netscout S-Blade-Pro
L1 Switch Blade S-Blade 64 Netscout S-Blade 64
L1 Switch Blade T-Blade Netscout T-Blade
L1 Switch Blade T100-Blade Netscout T100-Blade
L1 Switch Blade T100L-Blade Netscout T100L-Blade
L1 Switch Blade Hs-Bank Netscout Hs-Bank
L1 Switch Blade P-Blade Netscout P-Blade
L1 Switch Port Netscout Generic L1 Port Netscout L1 Port

Netscout TestStream Attributes

The Netscout TestStream Chassis attribute names and types are listed in the following table:

Attribute Type Description
Model Name String Model name
Serial Number String Serial number
OS Version String OS version

The Netscout TestStream switch blades attribute names and types are listed in the following table:

Attribute Type Description

The Netscout Generic L1 Port attribute names and types are listed in the following table:

Attribute Type Default Description
Auto Negotiation Boolean True Port auto negotiation
Duplex Lookup Full Port Duplex
Port Speed String Port speed
Protocol Lookup Transparent Port protocol
Protocol Type Lookup Transparent Port protocol type
Protocol Type Value String Port protocol type value
Protocol Value String Port protocol value
Speed Lookup 10 Mbps Port speed
Rx Power (dBm) String 0 Optical Port RX signal strength
Tx Power (dBm) String 0 Optical Port TX signal strength
Wavelength String 0 Optical Port Wavelength

Automation

This section describes the automation (drivers) associated with the data model. The shell’s driver is provided as part of the shell package. There are two types of automation processes, Autoload and Resource. Autoload is executed when creating the resource in the Inventory dashboard, while resource commands are run in the sandbox.

Command Description
Autoload Discovers and creates the internal resources of the root resource (for example, switch cards and ports).
MapBidi Creates a bi-directional mapping between two ports.
MapUni Creates a uni-directional mapping between two ports.
MapClear Clears any connection ending in this port.
MapClearTo Clears a uni-directional connection between two ports.
GetAttributeValue Extracts attribute values from the device.
SetAttributeValue Sets attribute values on the device.
MapTap Adds monitor ports to an existing connection.

Note: You can only activate a TAP connection after activating a parent MapUni/MapBidi connection.

Downloading the Shell

The Netscout TestStream shell is available from the Quali Community Integrations page.

The shell comprises:

File name Description
cloudshell-L1-netscout_teststream-x.x.x.zip Netscout TestStream L1 shell package
install_driver.bat Netscout TestStream L1 shell installation script
netscout_teststream_runtime_config.yml Netscout TestStream L1 shell configuration file
netscout_teststream_ResourceConfiguration.xml XML file containing the resource structure, attributes and capabilities of the L1 switches of the same vendor

Importing and Configuring the Shell

This section describes how to import the Netscout TestStream L1 Shell and configure and modify the shell’s devices.

Importing and configuring the shell in CloudShell

To import and configure the shell in CloudShell:

  1. Make sure you have the shell’s zip package. If not, download the shell from the Quali Community's Integrations page.

  2. Extract the Netscout TestStream shell zip package to the following location on the Quali Server machine: C:\Program Files (x86)\QualiSystems\CloudShell\Server\Drivers

  3. Run the C:\Program Files (x86)\QualiSystems\CloudShell\Server\Drivers\cloudshell-L1-netscout_teststream\install_driver.bat file.

  4. Navigate to C:\Program Files (x86)\QualiSystems\CloudShell\Server\Drivers

  5. Make sure the NetScout_Horizon.exe file is unblocked.

    1. Right-click the file and select Properties.
    2. If you see an Unblock option, select it and click OK.
  6. Import the new data model.

    1. In Resource Manager Client>Admin, right-click Resource Families and select Import.
    2. Select the C:\Program Files (x86)\QualiSystems\CloudShell\Server\Drivers\cloudshell-L1-netscout_teststream\datamodel\netscout_teststream_ResourceConfiguration.xml file.
    3. Click Open.
  7. Create an L1 resource.

    1. In Resource Explorer, right-click Root and select New>Resource.
    2. Enter the Name
    3. Enter Address in the format <ip address or hostname>:<port>?teststream=<switch name>. Note: Address is Netscout Controller address.
    4. Select the L1 Switch family.
    5. Ensure that the correct Model Netscout TestStream Chassis and Driver NETSCOUT TESTSTREAM are selected.
    6. Click OK.
  8. Auto Load the new resource.

    1. In Resource Explorer, right-click the new resource and select Configuration.
    2. In the Internal Resources pane, right-click the switch and select Exclude.
    3. Click the Auto Load button at the bottom of the Configuration tab.
  9. Define the resource connections on the L1 switch.

    1. Right-click the resource and select Configuration>Connections.
    2. Connect a resource's port to a different port in the switch resource by clicking each port's Connected To button, selecting the resource's Family and Resource, and selecting the port to connect.
    3. Click OK in the Resource connection dialog box.
    4. Save your changes.

Offline installation of a shell

Shell installation installs the required dependencies from the shell's zip package.

The install_driver.bat script creates a virtual environment on the Quali Server machine under C:\Program Files (x86)\QualiSystems\CloudShell\Server\Drivers\cloudshell-L1-netscout_teststream and installs the required dependencies in this virtual environment from the extracted L1 shell folder (under ~cloudshell-L1-netscout_teststream\packages).

Updating Python Dependencies for Shells

This section explains how to update your Python dependencies folder. This is required when you upgrade a shell that uses new/updated dependencies. It applies to both online and offline dependencies.

L1 shells do not have separate Python dependencies files. All dependencies are included in the L1 shell itself and are installed along with the shell. Therefore, in order to update the shell's Python dependencies, you must upgrade the shell. See Upgrading the L1 Shell and Datamodel.

Upgrading the L1 Shell and Datamodel

Note: Upgrading an L1 shell requires the use of the QsMigrationUtility, which is provided out-of-the-box with CloudShell.

To upgrade the L1 shell and datamodel:

  1. In the Quali Server machine, remove or rename the L1 shell's folder located in the Drivers folder: C:\Program Files (x86)\QualiSystems\CloudShell\Server\Drivers.

  2. Extract the new L1 shell to the Drivers folder: C:\Program Files (x86)\QualiSystems\CloudShell\Server\Drivers.

  3. In the extracted L1 shell's folder, run install_driver.bat.

  4. Create a new folder: C:\Program Files (x86)\QualiSystems\CloudShell\Server\Configuration.

  5. Copy the upgraded shell's datamodel file from:

    C:\Program Files (x86)\QualiSystems\CloudShell\Server\Drivers\cloudshell-L1-netscout_teststream\datamodel\netscout_teststream_ResourceConfiguration.xml

    to:

    C:\Program Files (x86)\QualiSystems\CloudShell\Server\Configuration.

  6. Run C:\Program Files (x86)\QualiSystems\CloudShell\Server\QsMigrationUtility.exe.

References

To download and share integrations, see Quali Community's Integrations.

For instructional training and documentation, see Quali University.

To suggest an idea for the product, see Quali's Idea box.

To connect with Quali users and experts from around the world, ask questions and discuss issues, see Quali's Community forums.

Release Notes

What's New

For release updates, see the shell's GitHub releases page.

cloudshell-l1-netscout-teststream's People

Contributors

alexquali avatar costya-y avatar eigel avatar nahumtimerman avatar saklar13 avatar tim-spiglanin avatar yaroslavnqualisystems avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.