Commit b73cd424 authored by Ignacio Corderi's avatar Ignacio Corderi
Browse files

Updated library to support protocol 2.0.3

parents d372da2f ae50a31b
Loading
Loading
Loading
Loading

.gitmodules

0 → 100644
+4 −0
Original line number Diff line number Diff line
[submodule "kinetic-protocol"]
	path = kinetic-protocol
	url = https://github.com/Seagate/kinetic-protocol.git
	branch = 2.0.3
+16 −2
Original line number Diff line number Diff line
Changes since 0.6.0.2
=====================
Changes since 0.7.0
===================
This section will document changes to the library since the last release

Changes from 0.6.0.2 to 0.7.0
=============================

## Important
Kinetic Protocol version updated to 2.0.3

## New features
- Added Flush command (Requires protocol 2.0.3)
- Added Limits section on GetLog (Requires protocol 2.0.3)
- Added protocol_version field on kinetic module
- Added version field on kinetic module

## Breaking changes
- Renamed Synchronization.ASYNC to Synchronization.WRITETHROUGH
- Renamed Synchronization.SYNC to Synchronization.WRITEBACK

## Bug Fixes
- Fixed issue with asynchronous clients leaving the socket open after _close_ was called (ASOKVAD-263).
+5 −3
Original line number Diff line number Diff line
Introduction
========
============
This repository hosts the preliminary phase of the Kinetic Python Client source code. Improvements of this repo will be added in the near future to provide examples and documentation.

Initial Setup
=============

    git clone https://github.com/Seagate/kinetic-py.git
    git submodule init
    git submodule update

Running Tests
=============
+1 −4
Original line number Diff line number Diff line
#!/bin/sh

BASE_DIR=$(cd "$(dirname "$0")"; pwd)
PROTO_DIR=/tmp/kinetic-protocol
PROTO=https://raw.githubusercontent.com/Seagate/kinetic-protocol/9c6b4a180a70f8488c5d8ec8e8a6464c4ff63f84/kinetic.proto
PROTO_DIR=$BASE_DIR/kinetic-protocol

mkdir $PROTO_DIR
wget $PROTO -O $PROTO_DIR/kinetic.proto
protoc -I $PROTO_DIR --python_out=$BASE_DIR/kinetic $PROTO_DIR/kinetic.proto
Original line number Diff line number Diff line
Subproject commit 389e63f814cc0b5d699104c08854b5b9c1abab38
Loading