Telescent L1 Driver #1512
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
-
Telescent L1 Driver
This Shell supports L1 connectivity in CloudShell based on Telescent L1 Switch.
A CloudShell 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 L1 shell provides connectivity (mapping) and management capabilities such as structure discovery and configuration of port settings.
Repository
Latest Release
README.md
Name
cloudshell-L1-Telescent
Owner
QualiSystems
Type
L1 Driver
Category
Connectivity
Min. Compatible CloudShell Version
6.4
Total Downloads
(All Releases)
224
Link
1.0.2
(Version / Tag)
TAR / ZIP
1.0.2 (TAR)
1.0.2 (ZIP)
Author
yaroslavNqualisystems
Published On
02/19/2018 01:48 PM
Assets
CloudShell.L1.Telescent.1.0.2.zip
[9.83 MB]
CloudShell.Telescent.L1.Shell.1.0.2.Release.Notes.pdf
[468 KB]
cloudshell-L1-Telescent
Installation
Copy to c:\Program Files (x86)\QualiSystems\CloudShell\Server\Drivers on CloudShell machine:
To customize SSH port and resource family and model names, edit:
Import telescent_datamodel.xml into Resource Manager
Usage
Port Representation
Telescent Overview
Each physical Telescent port has a number from 0 to 1055. This number can be obtained by multiplying the row number in the output of "switchstate" by 12 and adding the zero-based column number. Note that there are alwasy 12 columns and the label "C12" is shown erroneously.
Within each port are an input and an output that are connected to other ports, independent of each other. The input of one port is connected to the output of another port, and vice versa.
For example on port 123 the input can be connected to the output of port 321 and the output can be connected to the input of 654.
A port can be connected to loop back to itself. For example the input of port 123 can be connected to the output of port 123.
CloudShell Representation
For each Telescent port number, there is a CloudShell resource. The input and output are encompassed by the single resource.
The port resource name is the logical port number. The physical port numbers of the associated input and output are stored in the address.
By default, the resource for port 123 represents the input connection for port 123 and the output connection for port 123. The address field of the port resource in this case will simply be 123.
CloudShell Logical Port Remapping
It is possible to remap the CloudShell Telescent port resource.
The input and output of the logical port can be remapped independently.
The logical port number is stored in the resource name.
The remapped addresses are stored in the address of the port resource.
For example, if port resource 123 is redefined to refer to the input of 456 and the output of port 789,
the port resource will be named 123 and the address will be "456-789".
The mapping is defined in telescent_runtime_configuration.json.
For example:
In this example, ports 1047 and 1048 are completely swapped. This requires 4 lines:
Whenever the port resource 1047 is used in CloudShell, the port number 1048 will be passed to the switch, and vice versa.
In lines 8, 9, and 14, some other arbitrary substitutions are performed, demonstrating that it is not necessary to remap the input and output together.
The administrator is responsible for defining a mapping that does not associate the input or output of any port
with more than one logical port resource. The example does not meet this condition.
This mapping implicitly exists until specific ports are overridden:
Development
compile_driver.bat
Notes
Note that the unidirectional MapClearTo must perform a bidirectional "unlock" on the port because of an apparent bug in the switch (or at least the simulator) where "unallocate" fails on a port that was only unidirectionally unlocked.
Login with RSA key
To log in to the switch with an RSA private key:
If id_rsa is found, the Password attribute of the switch will be used to decrypt the key file, and Username will still be used directly during login.
* Please allow 30-60 seconds for manual update changes to take effect.
Alona Getzler 07/28/2016 10:45 AM
· 456 ·
Beta Was this translation helpful? Give feedback.
All reactions