Skip to main content

Vapps CLI

This product allows users to use the command line to call VA master API functions by using simple commands.

Installation

` pip install vapps `

Usage

The first time you use the command, it will prompt you for a username, password and the URL of Your VA master.

# vapps providers list
Could not find a va_master configuration - either the --load-conf path is incorrect, or a configuration has not been generated yet. Please answer the following prompts :
Enter the va_master username : admin
Enter the va_master password : admin
Enter the VA master url. Include the http:// and the port, example : https://127.0.0.1:443
VA master url : https://127.0.0.1:443

[   {   'driver_name': u'vmware',
        'location': u'va_master',
        'provider_name': u'va-vmware'}]

After this, a config file is generated which will use the entered credentials.

# vapps apps list available

[   {   u'location': u'va_master',
        u'provider_name': u'va-vmware',
        u'provider_usage': {   u'used_cpus': 95.0,
                               u'used_disk': 134.41,
                               u'used_ram': 0.01,
                               u'used_servers': 9},
        u'servers': [   {   u'hostname': u'server_hostname',
                            u'icon': u'fa-server',
                            u'ip': None,
                            u'provider': u'va-vmware',
                            u'size': u'va-small',
                            ...
                        }
                    ]
    }
]

Available Commands

providers

list - Prints a list of all providers and their name, location and driver name.

apps
list

available - Prints a list of all apps. running - Prints a list of all running apps. #Not yet implemented, also returns all apps.

directory #Not yet implemented

services
list - Prints all consul services

ok - Prints all services which returned with status “passing” critical - Prints all services which returned with status “critical”

vpn

list - Lists all VPN users status - Returns the status of VPN users add - Creates a new VPN user. With –username, the user will be created with this username. Example vapps vpn add --username new_vpn_user get-cert - Prints the VPN certificate for the user. With –username, the user for which the certificate is retrieved. Example vapps vpn get-cert --username some_vpn_user

Metadata

Release files for vapps 1.1.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vapps 1.1.9
File Size Uploaded Provenance Actions
vapps-1.1.9.tar.gz 7.3 kB Without provenance Details for vapps-1.1.9.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for vapps 1.1.9
File Interpreter ABI Platform Actions
vapps-1.1.9-py2-none-any.whl Python 2 none any Details for vapps-1.1.9-py2-none-any.whl

Total release size: 17.0 kB

Release files / vapps-1.1.9.tar.gz

Download URL vapps-1.1.9.tar.gz
Size 7.3 kB
Tags Source
SHA-256 checksum
How to use checksums
3c8472e1110fe5c88ae53a79b9aa416822ed8a436480896071a3ab1044819901
BLAKE2b-256 checksum
How to use checksums
d3a4b6c268d3ef10a963949ecbcefbed8f00e88e25023445fb38bdd16a8af952
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / vapps-1.1.9-py2-none-any.whl

Download URL vapps-1.1.9-py2-none-any.whl
Size 9.7 kB
Tags Python 2
SHA-256 checksum
How to use checksums
48621afa7d9bd312aeeeabb18248cb23509da37316e3c00b8714e7e1adbd0ab1
BLAKE2b-256 checksum
How to use checksums
55be82031f8702a90de57d38a88cda1ec3ec531749bcfb94b7c1baa24c724395
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for vapps 1.1.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page