diff options
author | Kota Tsuyuzaki <bloodeagle40234@gmail.com> | 2015-02-27 15:16:58 +0900 |
---|---|---|
committer | Kota Tsuyuzaki <bloodeagle40234@gmail.com> | 2015-03-04 20:18:10 +0900 |
commit | 298826e0a9e85327100aa0a8eccd740bfc955baa (patch) | |
tree | 4d2b67d3fc8ea18efd92c24221ee41bd307f0eff /pyeclib | |
parent | e10d5aa330898bce4f1ac8d29059e374a12954c4 (diff) | |
download | pyeclib-298826e0a9e85327100aa0a8eccd740bfc955baa.tar.gz |
Add shss and its unit tests
Diffstat (limited to 'pyeclib')
-rw-r--r-- | pyeclib/ec_iface.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pyeclib/ec_iface.py b/pyeclib/ec_iface.py index 1a31277..0665058 100644 --- a/pyeclib/ec_iface.py +++ b/pyeclib/ec_iface.py @@ -45,7 +45,8 @@ VALID_EC_TYPES = ['jerasure_rs_vand', 'jerasure_rs_cauchy', 'flat_xor_hd_3', 'flat_xor_hd_4', - 'isa_l_rs_vand'] + 'isa_l_rs_vand', + 'shss'] @unique @@ -92,6 +93,7 @@ class PyECLib_EC_Types(PyECLibEnum): jerasure_rs_cauchy = 2 flat_xor_hd = 3 isa_l_rs_vand = 4 + shss = 5 # Output of Erasure (en)Coding process are data "fragments". Fragment data |