3 Commits

Author SHA1 Message Date
Wataru Ishida
ab15336db9 taish: support file based configuration
You can pass a configuration file to configure TAI objects

$ cat config.json
{
    "2": {
        "attrs": {
            "admin-status": "down"
        },
        "netif": {
            "0": {
                "attrs": {
                    "modulation-format": "dp-qpsk"
                }
            }
        },
        "hostif": {
            "0": {
                "attrs": {
                    "loopback-type": "shallow"
                }
            }
        }
    }
}
$ taish_server -f ./config.json

Signed-off-by: Wataru Ishida <ishida@nel-america.com>
2019-06-04 21:07:53 -07:00
Wataru Ishida
8e1d0a33dd meta: support deserialing list type attributes in json format
Signed-off-by: Wataru Ishida <ishida@nel-america.com>
2019-06-04 21:07:53 -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