{"id":27940722,"url":"https://github.com/telecominfraproject/wlan-laas-quali","last_synced_at":"2025-05-07T10:20:04.151Z","repository":{"id":40350122,"uuid":"404014276","full_name":"Telecominfraproject/wlan-laas-quali","owner":"Telecominfraproject","description":null,"archived":false,"fork":false,"pushed_at":"2022-11-17T17:33:42.000Z","size":534,"stargazers_count":0,"open_issues_count":3,"forks_count":2,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-07-30T06:50:31.409Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Telecominfraproject.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-09-07T14:42:22.000Z","updated_at":"2022-01-05T14:29:10.000Z","dependencies_parsed_at":"2023-01-23T10:56:30.962Z","dependency_job_id":null,"html_url":"https://github.com/Telecominfraproject/wlan-laas-quali","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Telecominfraproject%2Fwlan-laas-quali","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Telecominfraproject%2Fwlan-laas-quali/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Telecominfraproject%2Fwlan-laas-quali/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Telecominfraproject%2Fwlan-laas-quali/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Telecominfraproject","download_url":"https://codeload.github.com/Telecominfraproject/wlan-laas-quali/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252856708,"owners_count":21814881,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-05-07T10:20:03.540Z","updated_at":"2025-05-07T10:20:04.113Z","avatar_url":"https://github.com/Telecominfraproject.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wlan-laas-quali\n\nThis Repo holds the code base related to the Quali CloudShell installation.\u003cbr\u003e\u003cbr\u003e\nThe repo should be kept up to date with what is being run within CloudShell.\u003cbr\u003e\n\n## Orchestration\n\nThe Orchestration contains Generic scripts including Blueprint scripts, Resource Scrips, Setup scripts and Teardown scripts.\nThe type of script denotes when or from where the script can be run, either automatically or manually through the UI/API.\u003cbr\u003e\u003cbr\u003e\nBlueprint scripts will be run on the Sandbox level and will not be run automatically.\u003cbr\u003e\u003cbr\u003e\nResource scripts will be run on the Resource level and will not be run automatically.\u003cbr\u003e\u003cbr\u003e\nSetup Scripts will be run on the Sandbox level and will be run automatically when reserving a Blueprint.\u003cbr\u003e\u003cbr\u003e\nTeardown Scripts will be run on the Sandbox level and will be run automatically when ending a resevation.\u003cbr\u003e\u003cbr\u003e\n\n## Scripts\n\nThe Scripts folder contains any CloudShell related scripts that need a repo to live in.\u003cbr\u003e\nThese can include scripts that CloudShell will download and run from this repo or scripts to be run externally that interact with CloudShell through any of it's APIs.\n\nThe terminal_server_setup.py script can be run as follows:\n1. SSH into the terminal server you want to setup\n2. Make sure github is installed by running \" git --version\" , if it is not installed use \"pip install git\", \"sudo yum install git\" or \"yum install git\".\n3. Run the following commands\n\ngit clone https://github.com/Telecominfraproject/wlan-laas-quali\n\npython3 wlan-laas-quali/Scripts/terminal_server_setup.py\n\n## Shells\n\nThe Shells folder contains any resource Shells created and used within CloudShell. Shells contain code to create an instance within CloudShell of any physical or virtual resource to be used within a Sandbox environment.\nShells will also define and set attributes on the created resource instance to be used within the various automated processes within CloudShell.\nShells are typically created for a specific OS to keep away from any command incompatibilities.\n\n## Usage\n\nAll Scripts and shells are loading into CloudShell through the web UI, or shells can also be loaded through the shellfoundry cli tool.\nBefore loading, scripts and shells must be zipped. For shells specifically, the 'src' folder must be zipped with filename specified at the bottom of the 'shell-definition.yaml' as well.\n\n## setup steps for dev environment\nhttps://help.quali.com/Online%20Help/0.0/Portal/Content/DevGuide/Shells/Getting-Started.htm?tocpath=The%20CloudShell%20DevGuide%7CDeveloping%20Shells%7C_____1\n\n`$ pip3 install shellfoundry`\n`$ shellfoundry config` : This command returns something like this:\n\n\n`key`              | `value`      \n\n host              | localhost    * \n password          | [encrypted]  * \n template_location | Empty        * \n username          | admin        * \n port              | 9000         *                                                                                                                                                                                \n github_password   | [encrypted]  *                                                                                                                                                                                \n github_login      |              *                                                                                                                                                                                \n domain            | Global       *                                                                                                                                                                                \n author            | Anonymous    *                                                                                                                                                                                \n online_mode       | True         *                                                                                                                                                                                \n defaultview       | gen2         *                                                                                                                                                                                \n                                                                                                                                                                                                                  \n\n    * Value marked with '*' is actually the default value and has not been override by the user.\n\nTo set value  :\n    `$ shellfoundry config \u003ckey\u003e \u003cValue\u003e`\n\nTo set the value of host to the IP address (or hostname) of the Windows Server:\n    `$ shellfoundry config host \u003cIP of Server\u003e`\n\nTo set the value of password:\n    `$ shellfoundry config password \u003cpassword of Server\u003e`\n\nRun `$ shellfoundry list`  to check if server configuration is successful\nUse `$ shellfoundry new \u003cshell name\u003e --python 3 --template gen2/resource` : This will create a new shell called \u003cshell name\u003e which uses python3 based on a gen2/resource template  \n\nServer configuration is needed to access templates. If server is not configured, you will see this error\n    Error: Cannot retrieve standards list. Error: Connection to CloudShell Server failed. Please make sure it is up and running properly.\n\n`$ cd \u003cshell name\u003e`\n`$ sudo apt install python3.9-venv` //For virtual environment \n`$ python3 -m venv \u003cvenv-name\u003e `   //For virtual environment\n`$ source \u003cvenv-name\u003e/bin/activate`\n`$ python3 -m pip install -r src/requirements.txt` //Ensure all basic shell dependencies are installed\n\n\nTo reflect changes from local setup to CloudShell\nRun `$ shellfoundry install`  within \u003cshell name\u003e dir. Make sure Windows server is configured and reachable for this step\nLocal shell changes should be reflected in CloudShell now: \n    Click on inventory \n    Select `+ Add New`\n    The newly installed shell i.e. \u003cshell name\u003e should now be visible\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftelecominfraproject%2Fwlan-laas-quali","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftelecominfraproject%2Fwlan-laas-quali","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftelecominfraproject%2Fwlan-laas-quali/lists"}