osaf/services/saf/immsv/immloadd/imm_loader.cc |  28 ++++++++++++++++++++++++-
 1 files changed, 26 insertions(+), 2 deletions(-)


diff --git a/osaf/services/saf/immsv/immloadd/imm_loader.cc 
b/osaf/services/saf/immsv/immloadd/imm_loader.cc
--- a/osaf/services/saf/immsv/immloadd/imm_loader.cc
+++ b/osaf/services/saf/immsv/immloadd/imm_loader.cc
@@ -293,12 +293,16 @@ void opensafClassCreate(SaImmHandleT imm
 {
     SaAisErrorT err = SA_AIS_OK;
     int retries=0;
-    SaImmAttrDefinitionT_2 d1, d2, d3, d4, d5, d6, d7, d8, d9;
+    SaImmAttrDefinitionT_2 d1, d2, d3, d4, d5, d6, d7, d8, d9, d10, d11, d12, 
d13;
     SaUint32T nost_flags_default = 0;
     SaUint32T batch_size_default = IMMSV_DEFAULT_MAX_SYNC_BATCH_SIZE;
     SaUint32T extended_names_enabled_default = 0;
     SaUint32T access_control_mode_default = IMM_ACCESS_CONTROL_MODE;
     SaUint32T absent_scs_allowed_default = 0;
+    SaUint32T max_classes_default = 1000;
+    SaUint32T max_implementers_default = 3000;
+    SaUint32T max_adminOwners_default = 2000;
+    SaUint32T max_ccbs_default = 10000;
 
     d1.attrName = (char *) OPENSAF_IMM_ATTR_RDN;
     d1.attrValueType = SA_IMM_ATTR_SANAMET;
@@ -346,8 +350,28 @@ void opensafClassCreate(SaImmHandleT imm
     d9.attrFlags = SA_IMM_ATTR_RUNTIME | SA_IMM_ATTR_CACHED | 
SA_IMM_ATTR_PERSISTENT;
     d9.attrDefaultValue = &absent_scs_allowed_default;
 
+    d10.attrName = (char *) OPENSAF_IMMSV_MAX_CLASSES;
+    d10.attrValueType = SA_IMM_ATTR_SAUINT32T;
+    d10.attrFlags = SA_IMM_ATTR_CONFIG | SA_IMM_ATTR_WRITABLE;
+    d10.attrDefaultValue = &max_classes_default;
+
+    d11.attrName = (char *) OPENSAF_IMMSV_MAX_IMPLEMENTERS;
+    d11.attrValueType = SA_IMM_ATTR_SAUINT32T;
+    d11.attrFlags = SA_IMM_ATTR_CONFIG | SA_IMM_ATTR_WRITABLE;
+    d11.attrDefaultValue = &max_implementers_default;
+
+    d12.attrName = (char *) OPENSAF_IMMSV_MAX_ADMINOWNERS;
+    d12.attrValueType = SA_IMM_ATTR_SAUINT32T;
+    d12.attrFlags = SA_IMM_ATTR_CONFIG | SA_IMM_ATTR_WRITABLE;
+    d12.attrDefaultValue = &max_adminOwners_default;
+
+    d13.attrName = (char *) OPENSAF_IMMSV_MAX_CCBS;
+    d13.attrValueType = SA_IMM_ATTR_SAUINT32T;
+    d13.attrFlags = SA_IMM_ATTR_CONFIG | SA_IMM_ATTR_WRITABLE;
+    d13.attrDefaultValue = &max_ccbs_default;
+
     const SaImmAttrDefinitionT_2* attrDefs[] =
-           {&d1, &d2, &d3, &d4, &d5, &d6, &d7, &d8, &d9, 0};
+           {&d1, &d2, &d3, &d4, &d5, &d6, &d7, &d8, &d9, &d10, &d11, &d12, 
&d13, 0};
 
 
     do {/* Create the class */

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
_______________________________________________
Opensaf-devel mailing list
Opensaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to