14 Commits

Author SHA1 Message Date
Wataru Ishida
a6c4360efd add log callback function
Signed-off-by: Wataru Ishida <ishida@nel-america.com>
2019-09-19 17:03:54 -07:00
Wataru Ishida
f5eeadeb74 Fix wrong description about license in each files and add NOTICE file
TAI is licensed under BSD 3-Clause License. Fix the description in each
files which were taken from SAI.
Also mention about SAI license (Apache License, Version 2.0).

related: #4

Signed-off-by: Wataru Ishida <ishida@nel-america.com>
2019-06-04 16:51:51 -07:00
Wataru Ishida
5bea26d46b stub: enhance overall functionality to enable more testing
stub library was just a reference example for TAI library implementers.
This patch adds more functionality to be able to test other TAI
components like taish using stub library.

Major updates are

- add storage to store attributes which are set
- call module_presence callback
- use meta library instead of switch statements to automatically support
  newly added attributes

Signed-off-by: Wataru Ishida <ishida@nel-america.com>
2019-02-06 17:03:14 -08:00
Sami Saab
f9ec377c91 Inverting TAI_NETWORK_INTERFACE_ATTR_TX_ENABLE to TAI_NETWORK_INTERFACE_ATTR_TX_DIS 2019-01-23 21:37:17 -08:00
Sami Saab
d0cf2a05f1 Adding channel/grid spacing support with just frequency support. 2019-01-03 15:20:47 -08:00
Wataru Ishida
aa5d14e4a3 netif: add PRBS attribute
Signed-off-by: Wataru Ishida <ishida@nel-america.com>
2018-11-12 11:54:26 -08:00
Wataru Ishida
7bb78f291f netif/hostif: add loopback attribute
closes #18

Signed-off-by: Wataru Ishida <ishida@nel-america.com>
2018-11-05 12:45:32 -08:00
Wataru Ishida
85af48f174 align enum value names with the type name
Signed-off-by: Wataru Ishida <ishida@nel-america.com>
2018-11-02 17:20:09 -07:00
Wataru Ishida
339b6a7813 change module notifications to attributes
align with SAI

Signed-off-by: Wataru Ishida <ishida@nel-america.com>
2018-10-22 12:59:15 -07:00
Wataru Ishida
a15f1051ec hostif: add client FEC attribute
Signed-off-by: Wataru Ishida <ishida@nel-america.com>
2018-07-10 12:20:10 -07:00
Wataru Ishida
7cc3a42974 module: add admin state and set oper state read only
Signed-off-by: Wataru Ishida <ishida@nel-america.com>
2018-07-10 12:19:54 -07:00
Wataru Ishida
f15037d98b module/netif: move frequency related attribtues from module to netif
close #13

Signed-off-by: Wataru Ishida <ishida@nel-america.com>
2018-07-02 16:22:24 -07:00
Scott Emery
0f4255945a TAI Stub Code
This patch modifies the stub/stub_tai.c file to operate with the new TAI
enhancements submitted in the previous pull request.

Signed-off-by: Scott Emery <scotte@cumulusnetworks.com>
2018-04-26 13:47:19 -07:00
Wataru Ishida
43ac95387e copy files from original repo
Signed-off-by: Wataru Ishida <ishida.wataru@lab.ntt.co.jp>
2018-03-06 10:43:09 +09:00