Skip to main content

CLI Tools for Amdocs ConnectX

Project description

ConnectX Logo

Introduction

The ctxcli package provides Command Line Interface (CLI) tools for Amdocs ConnectX. These tools allow authorized ConnectX users to perform various operations on the system.

Installation

Before installing ctxcli, ensure that Python and pip are installed on your system.

To install ctxcli from PyPI, use the following command:

pip install ctxcli

Authentication

Before running any command, you need to authenticate by running the ‘auth’ command. Use the following command to authenticate:

ctxcli auth

You will be prompted to enter your tenant, environment (dev, ppe, prod), username, and password.

Auth Screenshot

Commands

The ctxcli commands are divided into the following categories: Users, Tenant, and Migration.

Users

To list all the users in the system, use the following command:

ctxcli user list

Here’s an example of the output:

Users Screenshot

Tenant

To list all the sub-tenants in the system, use the following command:

ctxcli tenant list

Here’s an example of the output:

Tenants Screenshot

Migration

To list all the migration files in the system, use the following command:

ctxcli migration file list

Here’s an example of the output:

Migration Files Screenshot

Business Units

To list all the sub-tenants in the system, use the following command:

ctxcli business-unit list

Here’s an example of the output:

Migration Files Screenshot

To add users to business units, use the following command:

ctxcli business-unit add-users --file input\filename.csv

This command requires a CSV file that contains the necessary user information. The file can be placed in the “input” folder. You can specify the path to this CSV file using the –file argument followed by the path to your file. The CSV file should include two columns with headers:

business_unit_id: The internal ID of the Business Unit to which you want to add users. username: The username of the user you want to add to the Business Unit.

The command will read each line of the CSV file and attempt to add the specified user to the corresponding Business Unit.

License

Copyright 2024 Amdocs

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ctxcli-0.1.3.tar.gz (9.4 kB view details)

Uploaded Source

File details

Details for the file ctxcli-0.1.3.tar.gz.

File metadata

  • Download URL: ctxcli-0.1.3.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.9.12

File hashes

Hashes for ctxcli-0.1.3.tar.gz
Algorithm Hash digest
SHA256 d5acce50b2653556b7297bd04d8dc4b25f86249daed0294d287eb25cb2f33450
MD5 320f152b9bae81e4f4faaace473c33f6
BLAKE2b-256 ca93b4f256c36570ffcacc773bb6f6eab24f52fc3e2bdae4fad835505d26a01d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page