diff options
author | DylanB95EST <dylan.byrne@est.tech> | 2022-02-11 12:46:27 +0000 |
---|---|---|
committer | Dylan Byrne <dylan.byrne@est.tech> | 2022-02-15 14:49:57 +0000 |
commit | c76392f0491e357b444b3458cc26649f7dc1e7fb (patch) | |
tree | d4253a441edfe3e1e46a417c36a29e26566d0666 /csit/plans | |
parent | f7cb11a5d53d4964c236a6ecb2e2f4264f2437fd (diff) |
Fragment handling decreasing performance for large number of cmHandles
- allow fragmentEntity to set parent id (needed for optimization)
- updated addListAlement and addChildDataNode to use new common optimized metghod to add to exsiting children
- ensure methods are transactional
- Refactored test around adding list elements to clearly define test
checking the presence of grandchild element
Issue-ID: CPS-886
Change-Id: Ic4381f0f7170ebd666d5bc8aa6ef2c4548d81766
Signed-off-by: DylanB95EST <dylan.byrne@est.tech>
Diffstat (limited to 'csit/plans')
-rw-r--r-- | csit/plans/cps/pnfsim/netconf-config/stores.yang | 126 |
1 files changed, 63 insertions, 63 deletions
diff --git a/csit/plans/cps/pnfsim/netconf-config/stores.yang b/csit/plans/cps/pnfsim/netconf-config/stores.yang index b24ac0e1ac..59051f2a28 100644 --- a/csit/plans/cps/pnfsim/netconf-config/stores.yang +++ b/csit/plans/cps/pnfsim/netconf-config/stores.yang @@ -1,63 +1,63 @@ -module stores {
-
- yang-version 1.1;
-
- namespace "org:onap:ccsdk:sample";
-
- prefix book-store;
-
- import ietf-yang-types { prefix yang; }
- import ietf-inet-types { prefix inet; }
-
- 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;
- }
- }
- }
- }
-}
-
+module stores { + + yang-version 1.1; + + namespace "org:onap:ccsdk:sample"; + + prefix book-store; + + import ietf-yang-types { prefix yang; } + import ietf-inet-types { prefix inet; } + + 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; + } + } + } + } +} + |