From c76392f0491e357b444b3458cc26649f7dc1e7fb Mon Sep 17 00:00:00 2001 From: DylanB95EST Date: Fri, 11 Feb 2022 12:46:27 +0000 Subject: 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 --- csit/plans/cps/pnfsim/netconf-config/stores.yang | 126 +++++++++++------------ 1 file changed, 63 insertions(+), 63 deletions(-) (limited to 'csit/plans') diff --git a/csit/plans/cps/pnfsim/netconf-config/stores.yang b/csit/plans/cps/pnfsim/netconf-config/stores.yang index b24ac0e1a..59051f2a2 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; + } + } + } + } +} + -- cgit 1.2.3-korg