diff options
author | 2016-05-18 15:05:51 +0200 | |
---|---|---|
committer | 2016-05-24 08:36:34 +0000 | |
commit | f9b2551eae7b4410b6910a05f19413b9b83137d4 (patch) | |
tree | 476f11bd2fdf611083ffe5e6363620046f37eca8 /v3po/translate-utils/src/test/resources | |
parent | d421438681e97ef7213a5cb925c49755cd9fb4b6 (diff) |
HONEYCOMB-61: Restore configuration and context from persisted files
Change-Id: I6edce127f8895f5d65998b4be71a0a111ca2e8bb
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Diffstat (limited to 'v3po/translate-utils/src/test/resources')
-rw-r--r-- | v3po/translate-utils/src/test/resources/expected-persisted-output.txt | 8 | ||||
-rw-r--r-- | v3po/translate-utils/src/test/resources/test-persistence.yang | 22 |
2 files changed, 30 insertions, 0 deletions
diff --git a/v3po/translate-utils/src/test/resources/expected-persisted-output.txt b/v3po/translate-utils/src/test/resources/expected-persisted-output.txt new file mode 100644 index 000000000..f0f5902e2 --- /dev/null +++ b/v3po/translate-utils/src/test/resources/expected-persisted-output.txt @@ -0,0 +1,8 @@ +{ + "test-persistence:top-container": { + "string": "testing" + }, + "test-persistence:top-container2": { + "string": "testing" + } +}
\ No newline at end of file diff --git a/v3po/translate-utils/src/test/resources/test-persistence.yang b/v3po/translate-utils/src/test/resources/test-persistence.yang new file mode 100644 index 000000000..6dca9f2d5 --- /dev/null +++ b/v3po/translate-utils/src/test/resources/test-persistence.yang @@ -0,0 +1,22 @@ +module test-persistence { + yang-version 1; + namespace "urn:opendaylight:params:xml:ns:yang:test:persistence"; + prefix "tp"; + + revision "2015-01-05" { + description "Initial revision"; + } + + container top-container { + leaf string { + type string; + } + } + + container top-container2 { + leaf string { + type string; + } + } + +} |