Commit 9a7d68db authored by Greg Williams's avatar Greg Williams
Browse files

More README updates. Added installation instructions for OpenSSL for both...

More README updates. Added installation instructions for OpenSSL for both Linux and OSX. Updated to new name of client utility (kinetic-c-client-utility).
parent 992dd52a
Loading
Loading
Loading
Loading
+17 −12
Original line number Diff line number Diff line
Kinetic-C Client Library
Kinetic C Client Library
========================
![](http://travis-ci.org/atomicobject/kinetic-c.png?branch=master)
![http://travis-ci.org/atomicobject/kinetic-c](http://travis-ci.org/atomicobject/kinetic-c.png?branch=master)

This repo contains code for producing C Kinetic clients which use the Seagate Kinetic protocol. Code examples/utilities that use the Kinetic C library are included for reference and usage during development.
This repo contains code for producing Kinetic C clients which use the Seagate Kinetic protocol. Code examples are included for reference as part of a utility (`kinetic-c-client-utility`) that builds and links against an installed Kinetic C static library.

The project Makefile can be used as a reference for developing a Makefile for building for a new custom Kinetic C client.

[Kinetic-C build status](http://travis-ci.org/atomicobject/kinetic-c) is provided via [Travis CI](http://travis-ci.org)

Prerequisites
-------------
* [Open SSL](https://www.openssl.org/) for security and encryption
    * Installation (if you don't already have OpenSSL installed)
        * Linux (using apt-get)
            * `> sudo apt-get install openssl`
        * OSX (using [Homebrew](http://brew.sh/))
            * `> brew install openssl`

Getting Started
---------------
@@ -36,28 +43,26 @@ Getting Started

API Documentation
=================
[Kinetic-C API](http://atomicobject.github.io/kinetic-c/kinetic__api_8h.html) (generated with Doxygen)
[Kinetic-C API](http://seagate.github.io/kinetic-c/kinetic__api_8h.html) (generated with Doxygen)

Examples
========

The following examples are provided for development reference and as utilities to aid development. In order to execute a given example, you must first do:

```
    > cd build/artifacts/release
```

You can then execute `kinetic-c` with a valid example name, optionally preceeded with any of the optional arguments.
You can then execute `kinetic-c-client-util` with a valid example name, optionally preceeded with any of the optional arguments.

**Options**
* `--host [HostName/IP]` or `-h [HostName/IP]` - Set the Kinetic Device host
* `--tls` - Use the TLS port to execute the specified operation(s)

**Operations**
* `kinetic-c-client [--hostname|-h hostname|123.253.253.23] noop put get`
    * `kinetic-c noop`
* `kinetic-c-client [--host|-h hostname|123.253.253.23] noop put get`
    * `kinetic-c-client-util noop`
        * Execute a NoOp (ping) operation to verify the Kinetic Device is ready
    * `kinetic-c put`
    * `kinetic-c-client-util put`
        * Execute a Put operation to store a key/value
    * `kinetic-c get`
    * `kinetic-c-client-util get`
        * Execute a Get operation to retrieve a key/value