7 Commits

Author SHA1 Message Date
Wataru Ishida
f3f5480d15 tests: use taish.AsycnClient
Signed-off-by: Wataru Ishida <wataru.ishid@gmail.com>

    squash 7d6fff6 tests
2022-02-16 17:50:35 +09:00
Wataru Ishida
7595139b74 add meta APIs to TAI
Unlike SAI, TAI needs to handle different kinds of devices
simultaneously. In order to support this, we have tai-mux library
which multiplexes multiple TAI libraries and provide a single TAI interface
to upper application.

However, there was no multiplex or aggregation layer for TAI *metadata*.
TAI metadata is used to know each TAI attributes characteristic and provides
utility functionality like string serialization.

Because of this lack of multiplex layer, application developers have to
create a TAI meta library by manually aggregating all TAI attributes of
TAI libraries which are planned to be used.

This is tedious, error prone works and makes it difficult to support
new TAI library dynamically.

In order to solve this issue, this commits adds meta APIs to TAI APIs.
By doing so, TAI *metadata* can be multiplexed by tai-mux just like
other APIs.

This commit also enhances TAI library framework to automatically support
the new meta APIs.

TAI library which is based on the framework will get the meta API
functionally automatically by recompiling it.

Signed-off-by: Wataru Ishida <wataru.ishid@gmail.com>
2021-04-26 15:44:28 +09:00
Wataru Ishida
e7b2a766ae tests: support testing remote taish-server
Signed-off-by: Wataru Ishida <ishida@nel-america.com>
2020-01-13 17:32:41 -08:00
Wataru Ishida
b036b12136 tests: support changing module location to test
Signed-off-by: Wataru Ishida <ishida@nel-america.com>
2020-01-08 16:34:43 -08:00
Wataru Ishida
750b681182 tests: build meta library if not exists
Signed-off-by: Wataru Ishida <ishida@nel-america.com>
2020-01-04 11:11:19 -08:00
Wataru Ishida
5d75bb7471 taish/client: support create/remove objects
Signed-off-by: Wataru Ishida <ishida@nel-america.com>
2020-01-03 17:31:56 -08:00
Wataru Ishida
dcb137c611 tests: add python test
Signed-off-by: Wataru Ishida <ishida@nel-america.com>
2020-01-03 09:06:15 -08:00