BreakingPoint Static VChassis Shell #1638
Quali-Community
started this conversation in
Integrations
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
BreakingPoint Static VChassis Shell
A Shell implements integration of 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 an automation that enables interaction with the device via CloudShell.
This Shell provides structure autoload of the traffic chassis.
Make sure to install also:
Shell Documentation
The shell documentation can be found at: BreakingPoint Static VChassis Shell ReadMe.
Repository
Latest Release
README.md
Name
cloudshell-tg-breakingpoint-static-vchassis
Owner
QualiSystems
Type
2nd Gen Shell
Category
Traffic Generators
Min. Compatible CloudShell Version
8.0
Total Downloads
(All Releases)
143
Link
1.1.0
(Version / Tag)
TAR / ZIP
1.1.0 (TAR)
1.1.0 (ZIP)
Author
alexquali
Published On
12/17/2020 01:22 PM
Assets
Breaking.Point.Static.Virtual.Chassis.Shell.zip
[4 KB]
breakingpoint-static-offline-dependecies-1.1.0.zip
[14.61 MB]
BreakingPoint Static VChassis 2G Shell
Release date: July 2018
Shell version: 1.0.0
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.
Traffic Generator Shells
CloudShell's traffic generator shells enable you to conduct traffic test activities on Devices Under Test (DUT) or Systems Under Test (SUT) from a sandbox. In CloudShell, a traffic generator is typically modeled using a chassis resource, which represents the traffic generator device and ports, and a controller service that runs the chassis commands, such as Load Configuration File, Start Traffic and Get Statistics. Chassis and controllers are modeled by different shells, allowing you to accurately model your real-life architecture. For example, scenarios where the chassis and controller are located on different machines.
For additional information on traffic generator shell architecture, and setting up and using a traffic generator in CloudShell, see the Traffic Generators Overiew online help topic.
BreakingPoint Static VChassis 2G Shell
The BreakingPoint Static VChassis shell provides you with connectivity and management capabilities such as device structure discovery and power management for the BreakingPoint Static VChassis.
For more information on the BreakingPoint Static VChassis, see the BreakingPoint official product documentation.
To model a BreakingPoint Static Virtual Chassis device in CloudShell, use the following:
▪ BreakingPoint VE Static VBlade, which provides data model and autoload functionality to model and load the BreakingPoint Virtual Blade to resource management.
▪ BreakingPoint Controller 1G Shell (service), which provides automation commands to run the VChassis such as Load Configuration, Start Traffic, and Get Statistics.
Standard version
The BreakingPoint Static VChassis 2G Shell is based on the Deployed App Standard version 1.0.3.
For detailed information about the shell’s structure and attributes, see the Shell Standard: Deployed App Standard in GitHub.
Requirements
Release: BreakingPoint Static VChassis 2G Shell 1.0.0
▪ CloudShell version 8.3 and above
▪ BreakingPoint VE version 8.20 and above
▪ BreakingPoint Controller Shell 1.2.3 and above
Note: If your CloudShell version does not support this shell, you should consider upgrading to a later version of CloudShell or contact customer support.
Data Model
The shell's data model includes all shell metadata, families, and attributes.
BreakingPoint Static VChassis Families and Models
The VChassis families and models are listed in the following table:
BreakingPoint Static VChassis Attributes
The VChassis attribute names and types are listed in the following table:
Should include the full path and the name of the VM.
For example: QualiFolder/VM121.
Automation
This section describes the automation (drivers) associated with the data model. The shell’s driver is associated with the model and 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, providing that the resource has been discovered and is online.
For Traffic Generator Shells, commands are configured and executed from the controller service in the sandbox, with the exception of the Autoload command, which is executed when creating the resource.
BreakingPoint Static VChassis 2G Shell
Downloading the Shell
The BreakingPoint Static VChassis 2G shell is available from the Quali Community Integrations page.
Download the files into a temporary location on your local machine.
The shell comprises:
Importing and Configuring the Shell
This section describes how to import the BreakingPoint Static VChassis 2G shell and configure and modify the shell’s devices.
Importing the shell into CloudShell
To import the shell into CloudShell:
The shell is displayed in the Shells page and can be used by domain administrators in all CloudShell domains to create new inventory resources, as explained in Adding Inventory Resources.
Offline installation of a shell
Note: Offline installation instructions are relevant only if CloudShell Execution Server has no access to PyPi. You can skip this section if your execution server has access to PyPi. For additional information, see the online help topic on offline dependencies.
In offline mode, import the shell into CloudShell and place any dependencies in the appropriate dependencies folder.
Adding shell and script packages to the local PyPi Server repository
If your Quali Server and/or execution servers work offline, you will need to copy all required Python packages, including the out-of-the-box ones, to the PyPi Server's repository on the Quali Server computer (by default C:\Program Files (x86)\QualiSystems\CloudShell\Server\Config\Pypi Server Repository).
For more information, see Configuring CloudShell to Execute Python Commands in Offline Mode.
To add Python packages to the local PyPi Server repository:
If you haven't created and configured the local PyPi Server repository to work with the execution server, perform the steps in Add Python packages to the local PyPi Server repository (offline mode).
For each shell or script you add into CloudShell, do one of the following (from an online computer):
Connect to the Internet and download each dependency specified in the shell's requirements.txt file with the following command:
pip download -r requirements.txt.
The sell or script's requirements are downloaded as zip files.
In the Quali Community's Integrations page, locate the sell and click the sell's Download link. In the page that is displayed, from the Downloads area, extract the dependencies package zip package
Place these zip files in the local PyPi Server repository.
Configuring a new resource
This section explains how to create a new resource from the shell.
In CloudShell, the component that models the device is called a resource. It is based on the shell that models the device and allows the CloudShell user and API to remotely control the device from CloudShell.
You can also modify existing resources, see Managing Resources in the Inventory.
To create a resource for the device:
Should include the full path and the name of the VM.
For example: QualiFolder/VM121.
CloudShell validates the device’s settings and updates the new resource with the device’s structure (if the device has a structure).
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.
Updating offline Python dependencies
To update offline Python dependencies:
Updating online Python dependencies
In online mode, the execution server automatically downloads and extracts the appropriate dependencies file from the public PyPi repository every time a new instance of the driver or script is created.
To update online Python dependencies:
Typical Workflows
Workflow 1 - Creating a new blueprint
Workflow 2 - Getting a test file with network configuration
You cannot change predefined Tests and Network Neighborhoods. Predefined Network Neighborhoods will not be included in Test files.
This scenario helps you use predefined Tests and Network Neighborhoods.
GetTestFile BreakingPointController
command.GetTestFile
with the duplicated test name.Workflow 3 - Running a test
It can be a full path, or relative path under the location specified in the attribute Test Files Location, such as <reservation_id>/test_name.bpt, or only test_name.bpt, if it is a current sandbox. Make sure the path is accessible to the execution server running the command.
If the Start Traffic test was run with Blocking disabled, you can immediately stop the test.
References
To download and share integrations, see Quali Community's Integrations.
For instructional training and documentation resources, see the 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.
To use traffic generator ports as abstract resources, see CloudShell's Online Help.
* Please allow 30-60 seconds for manual update changes to take effect.
ofir eldar 08/14/2018 08:39 AM
· 3910 ·
Beta Was this translation helpful? Give feedback.
All reactions