version 1.15, 2009/08/03 08:31:00
|
version 1.16, 2013/02/07 15:32:42
|
|
|
CIMRepository::NameSpaceAttributes attributes; | CIMRepository::NameSpaceAttributes attributes; |
| |
// Set shareable attribute to "false" if property is not present | // Set shareable attribute to "false" if property is not present |
Boolean shareable = false; |
|
if (getPropertyValue(namespaceInstance, | if (getPropertyValue(namespaceInstance, |
PG_NAMESPACE_PROPERTY_ISSHAREABLE, false)) | PG_NAMESPACE_PROPERTY_ISSHAREABLE, false)) |
{ | { |
|
|
} | } |
| |
// Set updatesAllowed attribute to "false" if property is not present | // Set updatesAllowed attribute to "false" if property is not present |
Boolean updatesAllowed = false; |
|
if (getPropertyValue(namespaceInstance, | if (getPropertyValue(namespaceInstance, |
PG_NAMESPACE_PROPERTY_SCHEMAUPDATESALLOWED, false)) | PG_NAMESPACE_PROPERTY_SCHEMAUPDATESALLOWED, false)) |
{ | { |
|
|
PEG_TRACE(( | PEG_TRACE(( |
TRC_CONTROLPROVIDER, | TRC_CONTROLPROVIDER, |
Tracer::LEVEL4, | Tracer::LEVEL4, |
"Namespace %s: Shareable = %s, Updates allowed: %s, Parent: %s" |
"Namespace %s: Parent: %s" |
" successfully created.", | " successfully created.", |
(const char*) newNamespaceName.getString().getCString(), | (const char*) newNamespaceName.getString().getCString(), |
shareable? "true" : "false", |
|
updatesAllowed? "true" : "false", |
|
(const char*) parent.getCString())); | (const char*) parent.getCString())); |
| |
return newInstanceReference; | return newInstanceReference; |