Giter Site home page Giter Site logo

flight-cloud-client's People

Contributors

atoghill avatar colonelpanicks avatar williammccumstie avatar

Watchers

 avatar  avatar

flight-cloud-client's Issues

Add the listing and modify commands

The following commands need to be added to the CLI:

cloud list  # => Return a new line separated list of nodes (+ domain)
cloud list --group # => filter the above list by group
cloud list-groups # => Return all the available groups (space separated)

It also needs a modify command that implements the following CLI:

> flight modify
  NAME:

    modify
	
  SYNOPSIS:
  
    modify NODE_IDENTIFIER [OPTIONS]
	
  DESCRIPTION:

    Tool for modifying basic node configuration.
	
	If no OPTIONS are provided then an interactive prompt will appear for each possible option.
	
  OPTIONS: 
  
   	-g, --group
        Switch NODE_IDENTIFIER to be GROUP_IDENTIFIER, this will modify all nodes in the group at once
	
	--instance-type TYPE
		Modify the instance type of the node

> flight modify node01 --instance-type=c5.large
Changing instance type of node01 to c5.large

Output power commands in a pretty format

ATM the CLI dumps the raw JSON response to standard out. Instead it should be more like:


> flight power node01 off
node01: Powering off

> flight power -g nodes status
node01: off
node02: on
node03: on

There should be no translation of the state returned from the server. Therefore if the server returns "pending" then it should print node01: pending

Support multiple clusters

Between here and the cloud server, allow for multiple clusters to be managed.

Perhaps something like a cluster flag that's configured for the client, sent to server, and validated on server end?

Security-wise, this could be vulnerable but see #11 for initial thoughts on that.

Improve security

Some form of authentication/key that the client needs to be able to successfully send requests to the server. Perhaps the key is on a per-cluster basis on the server.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.