Open andy-maier opened 2 years ago
We need to review the proposal and decide whether we go with it.
Comments/DISCUSSION:I think that it should be more general to include:
What about building the CIMObjectManager class and instance since it is a requirement for building the interop provider? Should that be a separate method or part of this method?
We discussed Karl's idea in one of the last meetings, and concluded it should be followed.
Update: The original version of this proposal has been replaced with a better one.
This could be done by adding an
add_interop_namespace()
method to FakedWBEMConnection, with the appropriate parameters, see below.Here is the code in a current mock script (simple_interop_mock_script.py) for creating and registering the Interop namespace:
A function definition:
and code from the main routine:
With the proposed function, all of the above would be reduced to the following code in the main routine: