Skip to main content

CLI client for interfacing with a MASH server.

Project description

Build Status

mash-client

overview

mash-client provides a command line utilty to interface with the MASH server REST API.

Installation

To install the package use the following commands as root:

$ zypper ar http://download.opensuse.org/repositories/Cloud:/Tools/<distribution>
$ zypper refresh
$ zypper in mash-client

Requirements

  • Click
  • requests
  • PyYaml

Usage

The client has the following endpoints:

mash job add [OPTIONS] DOCUMENT

Send add job request to mash server based on provided json document.

mash job delete [OPTIONS] JOB_ID

Delete a job given the UUID.

mash account add ec2 [OPTIONS] ACCOUNT_NAME PARTITION REQUESTING_USER ACCESS_KEY_ID SECRET_ACCESS_KEY

Add EC2 account given the provided args.

mash account add azure [OPTIONS] ACCOUNT_NAME CONTAINER_NAME REGION REQUESTING_USER RESOURCE_GROUP STORAGE_ACCOUNT CREDENTIALS_PATH

Add Azure account given the provided args.

mash account delete [OPTIONS] ACCOUNT_NAME PROVIDER REQUESTING_USER

Delete account given the provided args.

Issues/Enhancements

Please submit issues and requests to Github.

Contributing

Contributions to mash-client are welcome and encouraged. See CONTRIBUTING for info on getting started.

License

Copyright (c) 2018 SUSE LLC.

Distributed under the terms of GPL-3.0+ license, see LICENSE for details.

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

mash-client-0.0.2.tar.gz (21.9 kB view hashes)

Uploaded Source

Supported by

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