Skip to content

Refactoring of osmclient commands in different modules

Proposers

  • Gerardo García (Telefónica)

Description

Currently all the commands of osmclient are located in a single Python file osmclient/scripts/osm.py, which complicates the maintenance of the different commands.

This feature will split all the commands into different modules under a common folder cli_commands, grouping together the related commands, e.g., pdu-xxxxx, vim-xxxxx, k8scluster-xxxxx, etc. Those commands will be referenced/incorporated into the parent osm command which will stay in osmclient/scripts/osm.py

Demo or definition of done

The functionality of osmclient should remain identical after the changes.

Edited by garciadeblas