Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Tue Jan 21, 2014 5:51 pm 
Offline
Linode Staff

Joined: Tue Oct 22, 2013 11:44 am
Posts: 31
Linode CLI (Developer Release #13)

The Linode CLI is the command line tool for interacting with your Linode services.

This is our 13th early developer release of our command line tool. We're working toward a tool that will eventually allow you to interact with all Linode services.

Please help us make Linode CLI even more awesome by sending us your feedback and ideas. It is our goal to shape the tool to meet your needs.

What's New in This Release?
  • NodeBalancer support (create, rename, throttle, list, show, and delete).
  • NodeBalancer port/config support (config-create, config-update, config-delete, config-list, config-show).
  • NodeBalancer node support (node-create, node-update, node-delete, node-list, node-show).
  • More robust configuration helper
  • SSH key support when creating a Linode
  • Support listing IP addresses on Linodes
  • Fix a bug with listing multiple objects
Repository: https://github.com/linode/cli

New Examples
Create a NodeBalancer in your datacenter of choice.
Code:
$ linode nodebalancer create mynodebalancer dallas

Set the NodeBalancer up to handle traffic on a port (configuration).
Code:
$ linode nodebalancer config-create mynodebalancer 80

Create NodeBlanacer Nodes, balancing the incoming traffic between your Linodes.
Code:
$ linode nodebalancer node-create mynodebalancer 80 mylinode1 xx.xx.xx.1:80
$ linode nodebalancer node-create mynodebalancer 80 mylinode2 xx.xx.xx.2:80
$ linode nodebalancer node-create mynodebalancer 80 mylinode3 xx.xx.xx.3:80

Displaying NodeBalancers.
Code:
$ linode nodebalancer list

Displaying the Nodes, which will list the Linodes handing traffic on the port requested.
Code:
$ linode nodebalancer node-list mynodebalancer 80


How to Get the Source
Linode CLI is hosted on GitHub and is open source, dual-licensed under the GPLv2 and the Perl Artistic License. This is a developer release, so for now, depending on your system, you may need to install dependencies manually as described in the README.

https://github.com/linode/cli <-- download options on the right-hand side

Enjoy!
-Linode


Top
   
PostPosted: Sat Mar 22, 2014 8:55 am 
Offline
Newbie

Joined: Tue Jan 07, 2014 2:04 pm
Posts: 2
Hi,

This is awesome! Will it also show the ACTIVE nodes, when I list the nodebalancers? This is a big deal for me as I would like to restart nodes, that have been taken out of rotation.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group