TCA API script
search cancel

TCA API script

book

Article ID: 433157

calendar_today

Updated On:

Products

VMware Telco Cloud Platform VMware Telco Cloud Automation

Issue/Introduction

Gathers authentication token and allows for:

  • Get system details
  • Get cluster details
  • Get CNFs (Library)
  • Get CNF IDs

Environment

TCA: 3.2

TCP:  5.0

Resolution

  • Run from TCA-CP using admin user

TCA API client usage

tca_api.py -h
tca_api.py [-h] -H HOSTNAME -u USERNAME [-p PASSWORD] (-s | -c | -l | -i)


options:
  -h, --help            show this help message and exit
  -H, --hostname HOSTNAME
                        TCA-Manager server hostname or IP (default: localhost)
  -u, --username USERNAME
                        Username (default: [email protected])
  -p, --password PASSWORD
                        Password for user
  -s, --systemdetails   Get system details
  -c, --clusters        Get cluster details
  -l, --listcnfs        Get CNFs (Library)
  -i, --listcnfids      Get CNF IDs

Attachments

tca_api.py get_app