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

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
vapps-1.1.9.tar.gz 7.3 kB Details

Built distribution (wheel)

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

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

Release history Release notifications | RSS feed

This release

1.1.9 This release

2 release files

1.1.8

2 release files

1.1.7

2 release files

1.1.6

2 release files

1.1.5

2 release files

1.1.4

2 release files

1.1.2

1 release file

1.1.1

1 release file

1.1.0

1 release file

1.0.9

1 release file

1.0.8

1 release file

1.0.7

1 release file

1.0.6

1 release file

1.0.5

1 release file

1.0.4

1 release file

1.0.3

1 release file

1.0.2

1 release file

1.0.1

1 release file

1.0.0

2 release files

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