Create a top-level namespace (ie 'test1') causes the
following namespace to be created: test1/test1
You can create this namespace with owmofc -c or with
owcreatenamespace
both of these will create the namespace as a two-level
namespace (both first and second level of same name)
Logged In: YES
user_id=1284051
owdelnamespace also performs similarly - for 'owdelnamespace
-n test1' it tries to delete namespace test1/test1
Logged In: YES
user_id=210388
This problem was caused by having CIM_Namespace present in
the Interop schema, but not CIM_NamespaceInManager. Because
CIM_NamespaceInManager was not present, it fell back to the
old __Namespace class. In the createInstance() method
within OW_NameSpace.cpp, we find this for some reason:
newName = newName.substring(newName.indexOf('=') + 1);
String newNameSpace = ns;
newNameSpace += "/";
newNameSpace += newName;
By adding CIM_NamespaceInManager to the Interop schema, the
problem goes away, but I'm not sure what the code above was
ever supposed to do.
The code still exists, but is now in src/providers/cpp/instance/OW_NameSpace/OW_NameSpaceProvider.cpp.
And I'm not sure what it was supposed to do either or if it safe to remove.