diff options
author | Maros Marsalek <mmarsale@cisco.com> | 2016-04-12 10:13:31 +0200 |
---|---|---|
committer | Maros Marsalek <mmarsale@cisco.com> | 2016-04-12 10:13:31 +0200 |
commit | 695eead109ef26d26277675210275a423a5dad50 (patch) | |
tree | 80c8567917026154a3b6f199bc0544267adf3bbe /v3po/translate-api/src | |
parent | 5f82161cddaf35acbb6197139deaf604cdc4aca0 (diff) |
HONEYCOMB-9: Add configuration and wiring for readers and writers
Remove config module
Wrap vpp-japi in a config module
Change-Id: Iee1e0c653309bd3c1019323ce689dacf3ed995cd
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Diffstat (limited to 'v3po/translate-api/src')
-rw-r--r-- | v3po/translate-api/src/main/yang/translate-api.yang | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/v3po/translate-api/src/main/yang/translate-api.yang b/v3po/translate-api/src/main/yang/translate-api.yang new file mode 100644 index 000000000..28d969378 --- /dev/null +++ b/v3po/translate-api/src/main/yang/translate-api.yang @@ -0,0 +1,37 @@ +module translate-api { + yang-version 1; + namespace "urn:honeycomb:params:xml:ns:yang:translate:api"; + prefix "tapi"; + + import config { prefix config; revision-date 2013-04-05; } + + description + "This module contains the base YANG definitions for + readers/writers plugged into a honeycomb"; + + revision "2016-04-06" { + description + "Initial revision."; + } + + identity honeycomb-reader { + base "config:service-type"; + config:java-class io.fd.honeycomb.v3po.translate.read.Reader; + } + + identity honeycomb-reader-registry { + base "config:service-type"; + config:java-class io.fd.honeycomb.v3po.translate.read.ReaderRegistry; + } + + identity honeycomb-writer { + base "config:service-type"; + config:java-class io.fd.honeycomb.v3po.translate.write.Writer; + } + + identity honeycomb-writer-registry { + base "config:service-type"; + config:java-class io.fd.honeycomb.v3po.translate.write.WriterRegistry; + } + +}
\ No newline at end of file |