Composer
Overview
The composer is an extension for VSCode aiming at simplifying the creation and edition of OnSphere configuration.
Installation
The osp-composer.vsix is not available on the extensions store yet and needs to be sent on demand. Please ask your OnSphere provider to receive the installer.
Process
Launch vscode
In file/preferences/extensions
Click on the three dots
Add from .vsix
Reload
Recommended vscode extensions
Installation of additional third-party extensions is recommended to improve your user experience.
Lua language server
Lua is a programming language used to customize some modules behavior (e.g osp-snmp-trap, …). Using a language server saves you time as it will report typo and other language errors.
Warning
Knowledge of the existence of a LUA function is linked to the open tab(s). It means that if you have a function used by several scripts, keep it open in a tab to benefit from the auto-completion features.
DrawIO editor
DrawIO is a powerful schematics editor. Multiple extensions allow direct edition of DrawIO files inside VScode.
EDIT csv
The CSV files are used for auto-generated configuration see template playbook documentation.
The usage of an extension is recommended to edit this .csv files, without using excel or calc.