Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Ciena: Blue Planet RANew to Visual Studio Code? Get it now.

Ciena: Blue Planet RA

Blue Planet

|
47 installs
| (1) | Free
Ciena: Tools for RA Development for Blue planet systems
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Blue Planet RA Extension for Visual Studio Code

Also, check out the Blue Planet Extension Pack!

Note

It is recommended to use Python 3.8 or a lower version.

Features

  • RA Activity bar shows commands, devices, endpoints and tasks in a tree view.
  • Documentation feature for translators
    • Shows the translator documentation content by hovering over the translator.
  • IntelliSense for Translators, Endpoints, Runners and Components in the Commands on click of ctrl + space.
    • Provides suggestions for selected runners and components.
    • Provides suggestions for selected endpoints parameters.
    • Provides auto-completion suggestions of translators along with the translator documentation.
    • Provides the suggestions for selected translator parameters.
    • Adds the support of bpprov and rpsdk libraries for translator suggestions.
    • Shows diagnostics for invalid values in the commands file.

Activity bar

Blueplanet RA extension provides the following activity bar features.

RA Commands

Blueplanet RA extension lets you view RA commands and edit them.

RA Commands

Screenshot


Devices

Blueplanet RA extension lets you view the devices defined in devices.json.

Devices

Screenshot


Endpoints

Blueplanet RA extension lets you view the endpoints defined in endpoints.json.

Endpoints

Screenshot


Tools

Create a new RA using the paster command.

Creating a new RA

Screenshot


Tasks

Blueplanet RA extension lets you execute the virtual environment tasks for RA.

Tasks

Screenshot

Available Task Commands

Name Description
prepare-venv install requirements and self into virtualenv
fresh-venv prepare a virtualenv without locked requirements
min-venv install the latest dtk-invoke
min-fresh-venv install the latest dtk-invoke
clean-venv deletes the existing virtualenv

Runners suggestions and diagnostics in the commands file

Screenshot


Endpoint parameters suggestions in the commands file

Screenshot


Translators suggestions in the commands file

shows auto-completion suggestions of translators along with the translator documentation.

shows the documentation content of the translator on hover over it and displays the suggestions for the selected translator parameters on click of ctrl + space

Screenshot


Contributing & Development

We welcome contributions! If you are interested in contributing, please email devexchange@blueplanet.com.

If you are new to VS Code Extension development review the VSC Extension Quickstart and the BP Git Workflow & Contribution Guidelines

  1. Install npm i
  2. Run npm run build
  3. Open Debug Panel and Run "Client + Server"
  • BP Git Workflow & Contribution Guidelines
  • Extension Documentation

Development Notes

  • The language client & server logs to the "BP tosca" item in the dropdown in the output window

Manual Packaging

  1. Install vsce (should be already done with npm i)
  2. run npm run package:bp-ext -- --baseContentUrl=https://developer.blueplanet.com/assets/ra-vscode/extension/ --baseImagesUrl=https://developer.blueplanet.com/ra-assets/vscode/extension/

Manual Install

  1. Open Extension sidebar
  2. Select the three dots in the top right of the sidebar
  3. Select Install from VSIX...
Screenshot

Screenshot

Feedback

Please provide feedback in the Blue Planet Q&A Forums on the myCiena Portal

Release Notes

Refer to the CHANGELOG.md

License

Apache-2.0 - See LICENSE for more info

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft