From fd8b9e04946c4ffa04968793dd8e629a01d999a3 Mon Sep 17 00:00:00 2001 From: Yaroslav Nikonorov Date: Mon, 9 Sep 2019 15:20:37 +0300 Subject: [PATCH 1/6] Fixed space replacement in the driver name --- .../.coveragerc | 0 .../.gitignore | 0 .../.travis.yml | 0 .../INSTALL.txt | 0 .../README.md | 0 .../cloudshell_logo.png | Bin ...ecutter.project_slug}}_ResourceConfiguration.xml | 0 .../dev_instructions.txt | 0 .../driver_exe_template | Bin .../install_driver.bat | 2 +- .../main.py | 0 .../package_config.yml | 0 .../requirements.txt | 0 .../test_requiremets.txt | 0 .../tests/__init__.py | 0 .../tests/test_main.py | 0 .../tests/{{cookiecutter.project_slug}}/__init__.py | 0 .../test_driver_commands.py | 0 .../version.txt | 0 .../{{cookiecutter.project_slug}}.cpp | 0 .../{{cookiecutter.project_slug}}/__init__.py | 0 .../driver_commands.py | 0 ...{{cookiecutter.project_slug}}_runtime_config.yml | 0 23 files changed, 1 insertion(+), 1 deletion(-) rename {cloudshell-L1-{{cookiecutter.project_slug}} => cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}}/.coveragerc (100%) rename {cloudshell-L1-{{cookiecutter.project_slug}} => cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}}/.gitignore (100%) rename {cloudshell-L1-{{cookiecutter.project_slug}} => cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}}/.travis.yml (100%) rename {cloudshell-L1-{{cookiecutter.project_slug}} => cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}}/INSTALL.txt (100%) rename {cloudshell-L1-{{cookiecutter.project_slug}} => cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}}/README.md (100%) rename {cloudshell-L1-{{cookiecutter.project_slug}} => cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}}/cloudshell_logo.png (100%) rename {cloudshell-L1-{{cookiecutter.project_slug}} => cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}}/datamodel/{{cookiecutter.project_slug}}_ResourceConfiguration.xml (100%) rename {cloudshell-L1-{{cookiecutter.project_slug}} => cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}}/dev_instructions.txt (100%) rename {cloudshell-L1-{{cookiecutter.project_slug}} => cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}}/driver_exe_template (100%) rename {cloudshell-L1-{{cookiecutter.project_slug}} => cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}}/install_driver.bat (93%) rename {cloudshell-L1-{{cookiecutter.project_slug}} => cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}}/main.py (100%) rename {cloudshell-L1-{{cookiecutter.project_slug}} => cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}}/package_config.yml (100%) rename {cloudshell-L1-{{cookiecutter.project_slug}} => cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}}/requirements.txt (100%) rename {cloudshell-L1-{{cookiecutter.project_slug}} => cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}}/test_requiremets.txt (100%) rename {cloudshell-L1-{{cookiecutter.project_slug}} => cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}}/tests/__init__.py (100%) rename {cloudshell-L1-{{cookiecutter.project_slug}} => cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}}/tests/test_main.py (100%) rename {cloudshell-L1-{{cookiecutter.project_slug}} => cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}}/tests/{{cookiecutter.project_slug}}/__init__.py (100%) rename {cloudshell-L1-{{cookiecutter.project_slug}} => cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}}/tests/{{cookiecutter.project_slug}}/test_driver_commands.py (100%) rename {cloudshell-L1-{{cookiecutter.project_slug}} => cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}}/version.txt (100%) rename {cloudshell-L1-{{cookiecutter.project_slug}} => cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}}/{{cookiecutter.project_slug}}.cpp (100%) rename {cloudshell-L1-{{cookiecutter.project_slug}} => cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}}/{{cookiecutter.project_slug}}/__init__.py (100%) rename {cloudshell-L1-{{cookiecutter.project_slug}} => cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}}/{{cookiecutter.project_slug}}/driver_commands.py (100%) rename {cloudshell-L1-{{cookiecutter.project_slug}} => cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}}/{{cookiecutter.project_slug}}_runtime_config.yml (100%) diff --git a/cloudshell-L1-{{cookiecutter.project_slug}}/.coveragerc b/cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}/.coveragerc similarity index 100% rename from cloudshell-L1-{{cookiecutter.project_slug}}/.coveragerc rename to cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}/.coveragerc diff --git a/cloudshell-L1-{{cookiecutter.project_slug}}/.gitignore b/cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}/.gitignore similarity index 100% rename from cloudshell-L1-{{cookiecutter.project_slug}}/.gitignore rename to cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}/.gitignore diff --git a/cloudshell-L1-{{cookiecutter.project_slug}}/.travis.yml b/cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}/.travis.yml similarity index 100% rename from cloudshell-L1-{{cookiecutter.project_slug}}/.travis.yml rename to cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}/.travis.yml diff --git a/cloudshell-L1-{{cookiecutter.project_slug}}/INSTALL.txt b/cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}/INSTALL.txt similarity index 100% rename from cloudshell-L1-{{cookiecutter.project_slug}}/INSTALL.txt rename to cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}/INSTALL.txt diff --git a/cloudshell-L1-{{cookiecutter.project_slug}}/README.md b/cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}/README.md similarity index 100% rename from cloudshell-L1-{{cookiecutter.project_slug}}/README.md rename to cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}/README.md diff --git a/cloudshell-L1-{{cookiecutter.project_slug}}/cloudshell_logo.png b/cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}/cloudshell_logo.png similarity index 100% rename from cloudshell-L1-{{cookiecutter.project_slug}}/cloudshell_logo.png rename to cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}/cloudshell_logo.png diff --git a/cloudshell-L1-{{cookiecutter.project_slug}}/datamodel/{{cookiecutter.project_slug}}_ResourceConfiguration.xml b/cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}/datamodel/{{cookiecutter.project_slug}}_ResourceConfiguration.xml similarity index 100% rename from cloudshell-L1-{{cookiecutter.project_slug}}/datamodel/{{cookiecutter.project_slug}}_ResourceConfiguration.xml rename to cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}/datamodel/{{cookiecutter.project_slug}}_ResourceConfiguration.xml diff --git a/cloudshell-L1-{{cookiecutter.project_slug}}/dev_instructions.txt b/cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}/dev_instructions.txt similarity index 100% rename from cloudshell-L1-{{cookiecutter.project_slug}}/dev_instructions.txt rename to cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}/dev_instructions.txt diff --git a/cloudshell-L1-{{cookiecutter.project_slug}}/driver_exe_template b/cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}/driver_exe_template similarity index 100% rename from cloudshell-L1-{{cookiecutter.project_slug}}/driver_exe_template rename to cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}/driver_exe_template diff --git a/cloudshell-L1-{{cookiecutter.project_slug}}/install_driver.bat b/cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}/install_driver.bat similarity index 93% rename from cloudshell-L1-{{cookiecutter.project_slug}}/install_driver.bat rename to cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}/install_driver.bat index fc8d752..92c2c90 100644 --- a/cloudshell-L1-{{cookiecutter.project_slug}}/install_driver.bat +++ b/cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}/install_driver.bat @@ -1,7 +1,7 @@ @ECHO OFF setlocal set DRIVER_FOLDER=%~dp0 -set DRIVER_NAME="{{cookiecutter.project_slug}}" +set DRIVER_NAME="{{cookiecutter.project_name.replace(' ', '-')}}" set DRIVER_PYTHON="%DRIVER_FOLDER%\Scripts\python.exe" set PACKAGES="%DRIVER_FOLDER%\packages" set QS_PYTHON_PATH="%DRIVER_FOLDER%\..\..\python" diff --git a/cloudshell-L1-{{cookiecutter.project_slug}}/main.py b/cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}/main.py similarity index 100% rename from cloudshell-L1-{{cookiecutter.project_slug}}/main.py rename to cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}/main.py diff --git a/cloudshell-L1-{{cookiecutter.project_slug}}/package_config.yml b/cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}/package_config.yml similarity index 100% rename from cloudshell-L1-{{cookiecutter.project_slug}}/package_config.yml rename to cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}/package_config.yml diff --git a/cloudshell-L1-{{cookiecutter.project_slug}}/requirements.txt b/cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}/requirements.txt similarity index 100% rename from cloudshell-L1-{{cookiecutter.project_slug}}/requirements.txt rename to cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}/requirements.txt diff --git a/cloudshell-L1-{{cookiecutter.project_slug}}/test_requiremets.txt b/cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}/test_requiremets.txt similarity index 100% rename from cloudshell-L1-{{cookiecutter.project_slug}}/test_requiremets.txt rename to cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}/test_requiremets.txt diff --git a/cloudshell-L1-{{cookiecutter.project_slug}}/tests/__init__.py b/cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}/tests/__init__.py similarity index 100% rename from cloudshell-L1-{{cookiecutter.project_slug}}/tests/__init__.py rename to cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}/tests/__init__.py diff --git a/cloudshell-L1-{{cookiecutter.project_slug}}/tests/test_main.py b/cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}/tests/test_main.py similarity index 100% rename from cloudshell-L1-{{cookiecutter.project_slug}}/tests/test_main.py rename to cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}/tests/test_main.py diff --git a/cloudshell-L1-{{cookiecutter.project_slug}}/tests/{{cookiecutter.project_slug}}/__init__.py b/cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}/tests/{{cookiecutter.project_slug}}/__init__.py similarity index 100% rename from cloudshell-L1-{{cookiecutter.project_slug}}/tests/{{cookiecutter.project_slug}}/__init__.py rename to cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}/tests/{{cookiecutter.project_slug}}/__init__.py diff --git a/cloudshell-L1-{{cookiecutter.project_slug}}/tests/{{cookiecutter.project_slug}}/test_driver_commands.py b/cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}/tests/{{cookiecutter.project_slug}}/test_driver_commands.py similarity index 100% rename from cloudshell-L1-{{cookiecutter.project_slug}}/tests/{{cookiecutter.project_slug}}/test_driver_commands.py rename to cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}/tests/{{cookiecutter.project_slug}}/test_driver_commands.py diff --git a/cloudshell-L1-{{cookiecutter.project_slug}}/version.txt b/cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}/version.txt similarity index 100% rename from cloudshell-L1-{{cookiecutter.project_slug}}/version.txt rename to cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}/version.txt diff --git a/cloudshell-L1-{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}.cpp b/cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}/{{cookiecutter.project_slug}}.cpp similarity index 100% rename from cloudshell-L1-{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}.cpp rename to cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}/{{cookiecutter.project_slug}}.cpp diff --git a/cloudshell-L1-{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/__init__.py b/cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}/{{cookiecutter.project_slug}}/__init__.py similarity index 100% rename from cloudshell-L1-{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/__init__.py rename to cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}/{{cookiecutter.project_slug}}/__init__.py diff --git a/cloudshell-L1-{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/driver_commands.py b/cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}/{{cookiecutter.project_slug}}/driver_commands.py similarity index 100% rename from cloudshell-L1-{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/driver_commands.py rename to cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}/{{cookiecutter.project_slug}}/driver_commands.py diff --git a/cloudshell-L1-{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}_runtime_config.yml b/cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}/{{cookiecutter.project_slug}}_runtime_config.yml similarity index 100% rename from cloudshell-L1-{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}_runtime_config.yml rename to cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}/{{cookiecutter.project_slug}}_runtime_config.yml From a9cb8e8d4d8f3a11df8a7bcade536d60bd686082 Mon Sep 17 00:00:00 2001 From: Yaroslav Nikonorov Date: Thu, 17 Oct 2019 15:16:26 +0300 Subject: [PATCH 2/6] Fixed driver name --- .../{{cookiecutter.project_slug}}_ResourceConfiguration.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}/datamodel/{{cookiecutter.project_slug}}_ResourceConfiguration.xml b/cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}/datamodel/{{cookiecutter.project_slug}}_ResourceConfiguration.xml index a27e556..51a2a03 100644 --- a/cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}/datamodel/{{cookiecutter.project_slug}}_ResourceConfiguration.xml +++ b/cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}/datamodel/{{cookiecutter.project_slug}}_ResourceConfiguration.xml @@ -251,6 +251,6 @@ + CustomParams="{{cookiecutter.project_name.replace(' ', '-')}}.exe"/> From e0baf9dd3c18bb70c0c5f36b254134db318ac4cd Mon Sep 17 00:00:00 2001 From: Yaroslav Nikonorov Date: Mon, 2 Dec 2019 14:47:15 +0200 Subject: [PATCH 3/6] Fixed readme, removed manufacturer --- .../README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}/README.md b/cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}/README.md index f3a0fb5..fa08b2c 100644 --- a/cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}/README.md +++ b/cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}/README.md @@ -34,7 +34,7 @@ The {{cookiecutter.model_name}} L1 shell provides you with the capability to com The shell allows CloudShell users to interact with the device, for example, create and modify route mappings, get device information, and more. -For more information on the **{{cookiecutter.model_name}}**, see the official **[Device Manufacturer]** product documentation. +For more information on the **{{cookiecutter.model_name}}**, see the official product documentation. ### Standard version The {{cookiecutter.model_name}} L1 shell is based on the [**Layer 1 Switch Shell Standard**](https://github.com/QualiSystems/shell-L1-template). From dce9f674b71f163487d2e1bbba9e460c0127d9ba Mon Sep 17 00:00:00 2001 From: Yaroslav Nikonorov Date: Fri, 13 Dec 2019 14:34:27 +0200 Subject: [PATCH 4/6] Fixed Readme --- .../README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}/README.md b/cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}/README.md index f3a0fb5..fa08b2c 100644 --- a/cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}/README.md +++ b/cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}/README.md @@ -34,7 +34,7 @@ The {{cookiecutter.model_name}} L1 shell provides you with the capability to com The shell allows CloudShell users to interact with the device, for example, create and modify route mappings, get device information, and more. -For more information on the **{{cookiecutter.model_name}}**, see the official **[Device Manufacturer]** product documentation. +For more information on the **{{cookiecutter.model_name}}**, see the official product documentation. ### Standard version The {{cookiecutter.model_name}} L1 shell is based on the [**Layer 1 Switch Shell Standard**](https://github.com/QualiSystems/shell-L1-template). From 2bfdd633c7d89ed6e4a42f6ca799dad5d20bee10 Mon Sep 17 00:00:00 2001 From: Yaroslav Nikonorov Date: Thu, 8 Apr 2021 10:45:36 +0300 Subject: [PATCH 5/6] Add unblock driver to Readme --- .../README.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}/README.md b/cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}/README.md index fa08b2c..54f192e 100644 --- a/cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}/README.md +++ b/cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}/README.md @@ -135,25 +135,29 @@ This section describes how to import the L1 shell and configure and modify the s *C:\Program Files (x86)\QualiSystems\CloudShell\Server\Drivers* 3. Run the *C:\Program Files (x86)\QualiSystems\CloudShell\Server\Drivers\cloudshell-L1-{{cookiecutter.project_slug}}\install_driver.bat* file. - - 4. Import the new data model. + + 4. Make sure the *C:\Program Files (x86)\QualiSystems\CloudShell\Server\Drivers\{{cookiecutter.project_slug}}.exe* file is unblocked. + 1. Right-click the file and select **Properties**. + 2. If you see an **Unblock** option, select it and click **OK**. + + 5. Import the new data model. 1. In **Resource Manager Client>Admin**, right-click **Resource Families** and select **Import**. 2. Select the *C:\Program Files (x86)\QualiSystems\CloudShell\Server\Drivers\cloudshell-L1-{{cookiecutter.project_slug}}\datamodel\{{cookiecutter.project_slug}}_ResourceConfiguration.xml* file. 3. Click **Open**. - 5. Create an L1 resource. + 6. Create an L1 resource. 1. In **Resource Explorer**, right-click **Root** and select **New>Resource**. 2. Enter the **Name** and **Address**. 3. Select the **L1 Switch** family. 4. Ensure that the correct **Model** {{cookiecutter.model_name}} Chassis and **Driver** {{cookiecutter.model_name.upper()}} are selected. 5. Click **OK**. - 6. Auto Load the new resource. + 7. Auto Load the new resource. 1. In **Resource Explorer**, right-click the new resource and select **Configuration**. 2. In the **Internal Resources** pane, right-click the switch and select **Exclude**. 3. Click the **Auto Load** button at the bottom of the **Configuration** tab. - 7. Define the resource connections on the L1 switch. + 8. Define the resource connections on the L1 switch. 1. Right-click the resource and select **Configuration>Connections**. 2. Connect a resource's port to a different port in the switch resource by clicking each port's **Connected To** button, selecting the resource's **Family** and **Resource**, and selecting the port to connect. 3. Click **OK** in the **Resource connection** dialog box. From 2fcc6b22da4d92ce096e0fdeb93709b61f5fea79 Mon Sep 17 00:00:00 2001 From: Yaroslav Nikonorov Date: Wed, 21 Apr 2021 12:39:31 +0300 Subject: [PATCH 6/6] fix drive name in README --- .../README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}/README.md b/cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}/README.md index 54f192e..d9b2489 100644 --- a/cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}/README.md +++ b/cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}/README.md @@ -118,7 +118,7 @@ The shell comprises: |File name|Description| |:---|:---| -|cloudshell-L1-{{cookiecutter.project_slug}}-x.x.x.zip|{{cookiecutter.model_name}} L1 shell package| +|cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}-x.x.x.zip|{{cookiecutter.model_name}} L1 shell package| |install_driver.bat|{{cookiecutter.model_name}} L1 shell installation script| |{{cookiecutter.project_slug}}_runtime_config.yml|{{cookiecutter.model_name}} L1 shell configuration file| |{{cookiecutter.project_slug}}_ResourceConfiguration.xml|XML file containing the resource structure, attributes and capabilities of the L1 switches of the same vendor| @@ -134,15 +134,15 @@ This section describes how to import the L1 shell and configure and modify the s 2. Extract the *{{cookiecutter.model_name}} L1 shell zip* package to the following location on the Quali Server machine: *C:\Program Files (x86)\QualiSystems\CloudShell\Server\Drivers* - 3. Run the *C:\Program Files (x86)\QualiSystems\CloudShell\Server\Drivers\cloudshell-L1-{{cookiecutter.project_slug}}\install_driver.bat* file. + 3. Run the *C:\Program Files (x86)\QualiSystems\CloudShell\Server\Drivers\cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}\install_driver.bat* file. - 4. Make sure the *C:\Program Files (x86)\QualiSystems\CloudShell\Server\Drivers\{{cookiecutter.project_slug}}.exe* file is unblocked. + 4. Make sure the *C:\Program Files (x86)\QualiSystems\CloudShell\Server\Drivers\{{cookiecutter.project_name.replace(' ', '-')}}.exe* file is unblocked. 1. Right-click the file and select **Properties**. 2. If you see an **Unblock** option, select it and click **OK**. 5. Import the new data model. 1. In **Resource Manager Client>Admin**, right-click **Resource Families** and select **Import**. - 2. Select the *C:\Program Files (x86)\QualiSystems\CloudShell\Server\Drivers\cloudshell-L1-{{cookiecutter.project_slug}}\datamodel\{{cookiecutter.project_slug}}_ResourceConfiguration.xml* file. + 2. Select the *C:\Program Files (x86)\QualiSystems\CloudShell\Server\Drivers\cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}\datamodel\{{cookiecutter.project_slug}}_ResourceConfiguration.xml* file. 3. Click **Open**. 6. Create an L1 resource. @@ -167,7 +167,7 @@ This section describes how to import the L1 shell and configure and modify the s ### Offline installation of a shell Shell installation installs the required dependencies from the shell's zip package. -The *install_driver.bat* script creates a virtual environment on the Quali Server machine under *C:\Program Files (x86)\QualiSystems\CloudShell\Server\Drivers\cloudshell-L1-{{cookiecutter.project_slug}}* and installs the required dependencies in this virtual environment from the extracted L1 shell folder (under *~cloudshell-L1-{{cookiecutter.project_slug}}\packages*). +The *install_driver.bat* script creates a virtual environment on the Quali Server machine under *C:\Program Files (x86)\QualiSystems\CloudShell\Server\Drivers\cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}* and installs the required dependencies in this virtual environment from the extracted L1 shell folder (under *~cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}\packages*). # 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. @@ -189,7 +189,7 @@ L1 shells do not have separate Python dependencies files. All dependencies are i 5. Copy the upgraded shell's datamodel file from: - *C:\Program Files (x86)\QualiSystems\CloudShell\Server\Drivers\cloudshell-L1-{{cookiecutter.project_slug}}\datamodel\{{cookiecutter.project_slug}}_ResourceConfiguration.xml* + *C:\Program Files (x86)\QualiSystems\CloudShell\Server\Drivers\cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}\datamodel\{{cookiecutter.project_slug}}_ResourceConfiguration.xml* to: @@ -215,4 +215,4 @@ To connect with Quali users and experts from around the world, ask questions and ### What's New -For release updates, see the shell's [GitHub releases page](https://github.com/QualiSystems/cloudshell-L1-{{cookiecutter.project_slug}}/releases). +For release updates, see the shell's [GitHub releases page](https://github.com/QualiSystems/cloudshell-L1-{{cookiecutter.project_name.replace(' ', '-')}}/releases).