VMware vCenter Cloud Provider Shell 2G #1691
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
VMware vCenter Cloud Provider Shell 2G
CloudShell Cloud Provider shells provide L2 or L3 connectivity between resources and/or Apps.
VMware vCenter Cloud Provider Shell 2G provides you with apps deployment and management capabilities.
For more information on the device, see the vendor's official product documentation.
Python version: 3.0
Standard version
VMware vCenter Cloud Provider Shell 2G is based on the Cloud Provider Standard version 1.0.0.
Requirements
Release: VMware vCenter Cloud Provider Shell 2G
Note: If your CloudShell version does not support this shell, you should consider upgrading to a later version of CloudShell or contact customer support.
Documentation
The shell documentation can be found at: VMware vCenter Cloud Provider Shell 2G README.
Repository
Latest Release
README.md
Name
VMware-vCenter-Cloud-Provider-Shell-2G
Owner
QualiSystems
Type
2nd Gen Shell
Category
Cloud
Min. Compatible CloudShell Version
9.3
Total Downloads
(All Releases)
1424
Link
6.0.2
(Version / Tag)
TAR / ZIP
6.0.2 (TAR)
6.0.2 (ZIP)
Author
github-actions[bot]
Published On
04/20/2023 10:34 AM
Assets
cloudshell-VMware-vCenter-Cloud-Provider-Shell-2G-dependencies-linux-package-6.0.2.zip
[13.94 MB]
cloudshell-VMware-vCenter-Cloud-Provider-Shell-2G-dependencies-win-package-6.0.2.zip
[5.63 MB]
VMware.vCenter.Cloud.Provider.Shell.2G.zip
[12 KB]
VMware vCenter Cloud Provider Shell 2G
Release date: February 2022
Shell version: 4.1.0Document version: 2.0In 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.
Cloud Provider Shells
CloudShell Cloud Providers shells provide L2 or L3 connectivity between resources and/or Apps.
VMware vCenter Cloud Provider Shell 2G
VMware vCenter Cloud Provider Shell 2G provides you with app deployment and management capabilities.
These include the following:
For details, see the Add VMware vCenter Cloud Provider Resource CloudShell Help article. For more information on the device, see the vendor's official product documentation.
Standard version
VMware vCenter Cloud Provider Shell 2G is based on the Cloud Provider Standard version 1.1.0.
For detailed information about the shell’s structure and attributes, see the Cloud Provider Standard in GitHub.
Requirements
Release: VMware vCenter Cloud Provider Shell 2G
▪ CloudShell version 2022.1 and above
Notes:
Data Model
The shell's data model includes all shell metadata, families, and attributes.
VMware vCenter Cloud Provider Shell 2G Attributes
The attribute names and types are listed in the following section of the Cloud Provider Shell Standard:
Common Cloud Provider Attributes
The following table describes attributes that are unique to this shell and are not documented in the Shell Standard:
Automation
This section describes the automation (driver) 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.
For detailed information on each available commands, see the following section of the Cloud Provider Standard:
Common Cloud Provider Commands
Downloading the Shell
The VMware vCenter Cloud Provider Shell 2G shell is available from the Quali Community Integrations page.
Download the files into a temporary location on your local machine.
The shell comprises:
cloudshell-VMware-vCenter-Cloud-Provider-Shell-2G-dependencies-linux-package-3.3.0.zip
Importing and Configuring the Shell
This section describes how to import the VMware vCenter Cloud Provider Shell 2G shell and configure and modify the shell’s devices.
Importing the shell into CloudShell
To import the shell into CloudShell:
Make sure you have the shell’s zip package. If not, download the shell from the Quali Community's Integrations page.
In CloudShell Portal, as Global administrator, open the Manage – Shells page.
Click Import.
In the dialog box, navigate to the shell's zip package, select it and click Open.
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. The dependencies folder may differ, depending on the CloudShell version you are using:
For CloudShell version 8.3 and above, see Adding Shell and script packages to the local PyPi Server repository.
For CloudShell version 8.2, perform the appropriate procedure: Adding Shell and script packages to the local PyPi Server repository or Setting the Python pythonOfflineRepositoryPath configuration key.
For CloudShell versions prior to 8.2, see Setting the Python pythonOfflineRepositoryPath configuration key.
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 requirements.txt file with the following command:
pip download -r requirements.txt.The shell or script's requirements are downloaded as zip files.
In the Quali Community's Integrations page, locate the shell and click the shell's Download link. In the page that is displayed, from the Downloads area, extract the dependencies package zip file.
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:
In the CloudShell Portal, in the Inventory dashboard, click Add New.

From the list, select VMware vCenter Cloud Provider Shell 2G.
Click Create.
In the Resource dialog box, enter the following attributes with data from step 1:
CloudShell validates provided settings and creates the new resource.
VMware vCenter Cloud Provider Shell 2G requires you to create an appropriate App template, which would be deployed as part of the sandbox reservation. For details, see the following CloudShell Help article: Applications' Typical Workflow
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:
Download the latest Python dependencies package zip file locally.
Extract the zip file to the suitable offline package folder(s).
Terminate the shell’s instance, as explained here.
Updating online Python dependencies
In online mode, the execution server automatically downloads and extracts the appropriate dependencies file to the online Python dependencies repository every time a new instance of the driver or script is created.
To update online Python dependencies:
Typical Workflows
Connect vCenter Apps to an existing VLAN port group
Using the vCenter 2nd Gen shell, it is possible to connect an App or deployed App to an existing port group. This enables you to connect deployed Apps in different sandboxes and also to connect Apps deployed in a sandbox to static VMs on the vCenter server.
Note: This capability is supported only for vCenter Apps and applies to port groups created on the datacenter defined on the vCenter cloud provider resource.
For illustration purposes, the below procedure assumes you want to connect an App to port group "QS_vSwitch1_VLAN_100_Access".
To connect an App to an existing port group:
The connection is created like with any other VLAN service. This includes by deploying the App, connecting the purple Connector line if the App is already deployed, and reserving the blueprint.
Workarounds
Rename HHD attribute to HDD
When using vCenter 2G Shell version 2.0.0 and 2.2.0, the App deployment types include an attribute that is incorrectly named "HHD" instead of "HDD". The below procedure explains how to fix this issue, which is done in CloudShell’s SQL Server’s Quali database.

To rename the HHD attribute:
On CloudShell’s SQL Server machine (usually hosted on the Quali Server machine), open SQL Server Management Studio.

Connect to database.

Navigate to Databases > Quali. Right-click and select New Query.

In the SQLQuery window, paste the following requests:
For example:

Click Execute.

The following output should be displayed:
To verify, go to CloudShell Portal’s Manage>Apps page. Open an App template that uses a vCenter 2G Shell resource. Make sure the vCenter 2G deployment types include the HDD attribute:

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.
Known Issues
* Please allow 30-60 seconds for manual update changes to take effect.
Naama Gonczarowski 04/20/2021 11:40 AM
· 5386 ·
Beta Was this translation helpful? Give feedback.
All reactions