IBM / lmctl

Cloud Pak for Network Automation (CP4NA) (previously ALM/TNCO) command line tool
Apache License 2.0
4 stars 19 forks source link
cp4na

License Build Status PyPI version

LMCTL

:computer: LMCTL is a command-line client that provides commands for interacting with IBM Cloud Pak for Network Automation (CP4NA) orchestration environments (previously known as TNCO/ALM).

In addition it includes an opinionated pattern for managing xNF/Network Service designs during the CICD lifecycle, as file based projects, to produce packages suitable for production release.

Quick Install

Assumes you already have Python3.6+ and have decided if LMCTL should be installed in a virtual environment (recommended) or globallly.

:rocket: Install the latest from Pypi:

python3 -m pip install lmctl

:roller_coaster: Want bleeding edge? Install from source code:

git clone git@github.com:IBM/lmctl.git
cd ./lmctl
git checkout develop

# Virtual env recommended 
python3 -m virtualenv env
source env/bin/activate

python3 -m pip install .

Verify LMCTL is ready to use:

lmctl --version

Login to an environment:

lmctl login cp4na-o-ishtar.example.com --auth-address cp4na-o-nimrod.example.com --username almadmin --save-creds

For more complete install and login instructions, check out the getting started guide

Latest release

:newspaper: See what's new in the latest release

User Guide

:notebook: To get started, read the User Guide

Development Docs

:clipboard: For documentation related to developing LMCTL please see the development docs