diff options
author | 2023-03-09 13:01:12 +0000 | |
---|---|---|
committer | 2023-03-09 13:01:12 +0000 | |
commit | a4127d6ac902bb430ef11b7844ba3a328bfb1d5b (patch) | |
tree | 6aa1a6d921a9990aaf07cdace506f42d14830e9b /integration-test/src/test/resources/data/bookstore/bookstore.yang | |
parent | f8c4cb6e3be9af6d6395b03bfae4056b5af89a9d (diff) | |
parent | 0133eb03c09c6142b4a98047d00b0145a934dd45 (diff) |
Merge "Create Base and Sample Performance Integration Tests"
Diffstat (limited to 'integration-test/src/test/resources/data/bookstore/bookstore.yang')
-rw-r--r-- | integration-test/src/test/resources/data/bookstore/bookstore.yang | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/integration-test/src/test/resources/data/bookstore/bookstore.yang b/integration-test/src/test/resources/data/bookstore/bookstore.yang new file mode 100644 index 000000000..2179fb93d --- /dev/null +++ b/integration-test/src/test/resources/data/bookstore/bookstore.yang @@ -0,0 +1,57 @@ +module stores { + yang-version 1.1; + namespace "org:onap:ccsdk:sample"; + + prefix book-store; + + revision "2020-09-15" { + description + "Sample Model"; + } + + typedef year { + type uint16 { + range "1000..9999"; + } + } + + container bookstore { + + leaf bookstore-name { + type string; + } + + list categories { + + key "code"; + + leaf code { + type string; + } + + leaf name { + type string; + } + + list books { + key title; + + leaf title { + type string; + } + leaf lang { + type string; + } + leaf-list authors { + type string; + } + leaf pub_year { + type year; + } + leaf price { + type uint64; + } + } + } + } +} |