Skip to content

mgrzybek/ows-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Open Workload Scheduler - Command Line Interface

Usage

$ ./ows-cli -h
Allowed options:
  -h [ --help ]            produce help
  -v [ --verbose ]         set verbosity on
  - [ --non-interactive ]  read stdin as input
  --output arg             the output format (plain or json)
  --domain arg             the domain to use
  --hostname arg           the endpoint
$

Architecture

This program is based on both [libcli] 3 and [OWS] 1.

Buidling

List of includes

  • algorithm
  • boost/algorithm/string.hpp
  • boost/foreach.hpp
  • boost/lexical_cast.hpp
  • boost/multi_index/member.hpp
  • boost/multi_index/ordered_index.hpp
  • boost/multi_index_container.hpp
  • boost/regex.hpp
  • boost/thread.hpp
  • boost/thread/mutex.hpp
  • boost/thread/thread.hpp
  • csignal
  • cstdlib
  • cstring
  • ctype.h
  • errno.h
  • fstream
  • iostream
  • libcli.h
  • limits
  • malloc.h
  • map
  • memory.h
  • mysql.h
  • netdb.h
  • netinet/in.h
  • protocol/TBinaryProtocol.h
  • readline/history.h
  • readline/readline.h
  • regex.h
  • resolv.h
  • server/TSimpleServer.h
  • sqlite3.h
  • stdarg.h
  • stdint.h
  • stdio.h
  • stdlib.h
  • string.h
  • string
  • sys/socket.h
  • sys/time.h
  • sys/types.h
  • thrift/TApplicationException.h
  • thrift/TDispatchProcessor.h
  • thrift/Thrift.h
  • thrift/protocol/TBinaryProtocol.h
  • thrift/protocol/TProtocol.h
  • thrift/server/TSimpleServer.h
  • thrift/transport/TBufferTransports.h
  • thrift/transport/TServerSocket.h
  • thrift/transport/TTransport.h
  • time.h
  • transport/TBufferTransports.h
  • transport/TServerSocket.h
  • transport/TSocket.h
  • unistd.h
  • vector

Commands

  • Install boost
  • Install readline
  • Install thrift
  • Install QMake
  • Download [open-workload-scheduler] 1
$ git clone git://github.com/mgrzybek/open-workload-scheduler.git
  • Generate the Thrift's source code
$ cd open-workload-scheduler/src
$ thrift --gen cpp model.thrift 
  • Patch the generated sources
$ cd ..
$ patch -p1 < patch/platform.path
  • Download [ows-cli] 2
$ cd ..
$ git clone  git://github.com/mgrzybek/ows-cli.git
  • Create the Makefile according to the binary you want to build
$ cd ows-cli
$ qmake
  • Run make
$ make

About

A shell to interact with Open Workload Scheduler

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors