These forums are a place for learning, helping and sharing experiences with others about any of our products. Feel free to ask a question and get answers from our community and our most advanced users.
Note that these are public forums - anyone can view the discussions here.
VISIT OUR DIFFERENT FORUMS:
Announcements > | |
CloudShell > | TestShell > |
Developers > | BI (Business Inteligence) > |
This is where you can suggest your ideas to help and improve the product for everyone.
Please make sure to read the following article before posting a new idea, to get more information about the required information and ideas lifecycle.
Feel free to vote and comment on other ideas to promote them.
Thanks for everyone who suggested the ideas and voted for them.
Find, download and share integrations that can extend and enhance the CloudShell experience.
Integrations have several levels:
Certified - Officially tested and supported by Quali.
Preview - Provides a sneak peek to what the Quali team is developing. Officially supported by Quali. Feel free to experiment and comment, but please take into consideration that it is not yet tested and released.
Community - Integrations shared by community users. Feel free to look into what other users have contributed, please take into consideration that these integrations are not tested by Quali.
To learn more about creating Shells and integrating with CloudShell, use the following links:
CloudShell's Dev Guide > | Configuration Management > |
Getting started with Shells > | Extending CloudShell with Cloud Providers > |
Getting started with Orchestration > | API Guide > |
To share your integration, follow the instructions in this guide >.
We need to be able to create a Layer 1 (driver) shell for an optical switch for use with CloudShell. Are there templates/examples/instructions I can download? Have not been able to find much but the Polatis on the forum download site.
Answer by Yaroslav Nikonorov · Sep 11, 2017 at 01:27 PM
This is an old template, you can fix this by changing requirements.txt.
change "-e git+git@github.com:QualiSystems/cloudshell-L1-networking-core.git@refactoring#egg=cloudshell_l1_networking_core"
to
Answer by Yaniv Kalsky · Jun 12, 2017 at 06:52 PM
Hi @mporterf
For developing Layer 1 drivers, you can use shellfoundry utility (you can find more details about it in the dev guide).
There is a Layer 1 template that you can use with this utility, to create the basic project and continue from there.
The command should be something like:
shellfoundry new myLayer1 --template layer-1-switch
You can get more details in the Shell L1 Driver Standard page on github.
Yaniv
Answer by Marcus Porterfield · Jun 14, 2017 at 06:13 PM
Yaniv,
Thanks, but i can't resolve the missing componenets via requirements.txt.
Here's what I get from the command line:
C:\Users\mporterfield\cloudshell-L1-dicon_mos>python -m pip install -r ./src/requirements.txt Requirement already satisfied: cloudshell-core==2.1.153 in c:\python27\lib\site-packages (from -r ./src/requirements.txt (line 1)) Obtaining cloudshell_l1_networking_core from git+git@github.com:QualiSystems/cloudshell-L1-networking-core.git@refactoring#egg=cloud shell_l1_networking_core (from -r ./src/requirements.txt (line 2)) Cloning git@github.com:QualiSystems/cloudshell-L1-networking-core.git (to refactoring) to c:\users\mporterfield\cloudshell-l1-dico n_mos\src\cloudshell-l1-networking-core Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. Command "git clone -q git@github.com:QualiSystems/cloudshell-L1-networking-core.git C:\Users\mporterfield\cloudshell-L1-dicon_mos\sr c\cloudshell-l1-networking-core" failed with error code 128 in None C:\Users\mporterfield\cloudshell-L1-dicon_mos>
and here is what requirements.txt looks like:
cloudshell-core==2.1.153
-e git+git@github.com:QualiSystems/cloudshell-L1-networking-core.git@refactoring#egg=cloudshell_l1_networking_core
But I can find: https://github.com/QualiSystems/cloudshell-L1-networking-core
Not sure what's going wrong
thanks,
Marcus
Let me check and we'll get back to you soon.
Yaniv
Answer by Marcus Porterfield · Jun 16, 2017 at 01:41 PM
Yaniv,
Any info on this? Sorry to rush but I sort of figured the answer would be quick. I'm trying to write an L1 driver for a very simple L1 optical switch for one of Oriel's accounts. The switch is a Fiberoptics DiCon MEMS switch. It is very simple, I just need to be able to have everything in the right place to be able to finish the driver. I am using PyCharm as suggested, I have generated the project. This is for CloudShell 7.1.x. Any help you can give would be much appreciated, unless you think I should open a support ticket?
thanks,
Marcus Porterfield
Hi @mporterf,
Sorry for the late response, I wanted it to be fixed on github but it will need to wait for next week.
Meanwhile, change your requirements.txt file, and instead of:
-e git+git@github.com:QualiSystems/cloudshell-L1-networking-core.git@refactoring#egg=cloudshell_l1_networking_core
use this:
-e git+https://github.com/QualiSystems/cloudshell-L1-networking-core.git@refactoring#egg=cloudshell_l1_networking_core
Let me know if it solved it for you.
Yaniv
Answer by Yaroslav Nikonorov · Jun 19, 2017 at 10:21 AM
I have added needed fixes to the template and cloudshell-L1-networking-core.
Could you try again and let us know results?
Answer by Marcus Porterfield · Jun 19, 2017 at 12:35 PM
It failed again. This time with Permission denied.
Cloning git@github.com:QualiSystems/cloudshell-L1-networking-core.git (to refactoring) to c:\users\mporterfield\cloudshell-l1-dico n_mos\src\cloudshell-l1-networking-core Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. Command "git clone -q git@github.com:QualiSystems/cloudshell-L1-networking-core.git C:\Users\mporterfield\cloudshell-L1-dicon_mos\sr c\cloudshell-l1-networking-core" failed with error code 128 in None C:\Users\mporterfield\cloudshell-L1-dicon_mos>
Answer by Yaroslav Nikonorov · Jun 19, 2017 at 01:59 PM
This is an old code, to use new code you need to recreate project from template. Or you just can update requirements.txt from here requirements.txt.
To clone this repo use next command "git clone https://github.com/QualiSystems/cloudshell-L1-networking-core.git"
Answer by Marcus Porterfield · May 27, 2018 at 10:39 AM
Yaniv thanks for the response. I’m about ready to start coding but I keep getting “Package requirement ‘cloudshell-l1-networking-core’ is not satisfied” from PyCharm and installing requirement does not work. Is this a .dll that I have to load? Can you explain/
Answer by Yaroslav Nikonorov · May 30, 2018 at 01:50 PM
You do not have to load a dll.
I think you have to specify correct python interpreter.
File>Default Settings>Project Interpriter
https://www.jetbrains.com/help/pycharm/configuring-python-interpreter.html
These forums are a place for learning, helping and sharing experiences with others about any of our products. Feel free to ask a question and get answers from our community and our most advanced users.
Note that these are public forums - anyone can view the discussions here.
Announcements | |
CloudShell | TestShell |
Developers | BI (Business Inteligence) |
This is where you can suggest your ideas to help and improve the product for everyone.
Please make sure to read the following article before posting a new idea, to get more information about the required information and ideas lifecycle.
Feel free to vote and comment on other ideas to promote them.
Thanks for everyone who suggested the ideas and voted for them.
Find, download and share integrations that can extend and enhance the CloudShell experience.
Integrations have several levels:
Certified - Officially tested and supported by Quali.
Preview - Provides a sneak peek to what the Quali team is developing. Officially supported by Quali. Feel free to experiment and comment, but please take into consideration that it is not yet tested and released.
Community - Integrations shared by community users. Feel free to look into what other users have contributed, please take into consideration that these integrations are not tested by Quali.
To learn more about creating Shells and integrating with CloudShell, use the following links:
CloudShell's Dev Guide | Configuration Management |
Getting started with Shells | Extending CloudShell with Cloud Providers |
Getting started with Orchestration | API Guide |
To share your integration, follow the instructions in this guide.
How to implement timeout? 1 Answer
Execute Command.py issues 4 Answers
Create context for debugging Resource Driver 2 Answers
Sharing snippets 0 Answers
Is there a way for a driver to obtain a blueprint's "Estimated setup duration" value? 4 Answers