<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font color="#000000">Hi all,<br>
<br>
</font><font color="#000000" size="3">as we all know the current
params.py was not completely by the generateSD.py, </font><font
color="#000000"><font size="3">there are parts that have to be
updated manually.</font><br>
<br>
now I have post a </font><font color="#000000" size="3">primary</font><font
color="#000000"> patch to improve it.
<a class="moz-txt-link-freetext" href="http://gerrit.ovirt.org/#/c/4880/">http://gerrit.ovirt.org/#/c/4880/</a><br>
<br>
it can generate some codes, but still two parts codes can not be
generated.<br>
<br>
they are</font><font color="#000000" size="3"> two dictionaries:
_rootClassMap and _elementToClassMap</font><font color="#000000">.<br>
<br>
However, for I do get any clue to know these </font><font
color="#000000" size="3"> two dictionaries</font><font
color="#000000"> from the </font><font color="#000000" size="3">
params.py</font><font color="#000000">.<br>
<br>
there are some questions:<br>
1.<br>
And the </font><font color="#000000" size="3"> __all__ list which
include all the classes of _rootClassMap and _elementToClassMap</font><font
color="#000000">. <br>
And there some classes both in </font><font color="#000000"
size="3"> _rootClassMap and _elementToClassMap</font><font
color="#000000">. <br>
<br>
2.<br>
</font><font color="#000000">And some of class in </font><font
color="#000000" size="3">_rootClassMap inherit GeneratedsSuper
class, some </font><font color="#000000" size="3">inherit
BaseResource class</font><font color="#000000"> , and two classes
inherit Link class.<br>
And it is the same with </font><font color="#000000" size="3">_elementToClassMap.<br>
<br>
so what is the difference between </font><font color="#000000"
size="3">_rootClassMap and _elementToClassMap.<br>
What rule to generate these two </font><font color="#000000"
size="3">dictionaries</font><font color="#000000">.<br>
<br>
3. <br>
</font><font color="#000000" size="3">And also, how to generate the
keys in </font><font color="#000000" size="3">_rootClassMap and
_elementToClassMap.</font><font color="#000000">Any rule to
generate them?<br>
<br>
there are some items in these two </font><font color="#000000"
size="3">dictionaries</font><font color="#000000"><br>
<br>
"access_control_list" :
AccessControlList, # "_" among the word in key<br>
"api" :
API, <br>
"body" :
Body, <br>
"iscsi" :
IscsiDetails, # key "</font><font color="#000000">iscsi</font><font
color="#000000">" is one part of value "</font><font
color="#000000">IscsiDetails"</font><br>
<font color="#000000">
"storage_domain" : StorageDomain,<br>
"topology" :
CpuTopology, </font><br>
<font color="#000000">
"creation_status" : Status, </font><font
color="#000000"># key has a more word "</font><font
color="#000000">creation</font><font color="#000000">" than the
value.</font><br>
<font color="#000000">
"parent" : TagParent<br>
<br>
<br>
<br>
</font><br>
<br>
<span style="color: rgb(51, 51, 51); font-family: arial, sans-serif;
font-size: 24px; font-style: normal; font-variant: normal;
font-weight: normal; letter-spacing: normal; line-height: normal;
orphans: 2; text-align: -webkit-auto; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; background-color: rgb(245, 245,
245); display: inline !important; float: none; "></span> <br>
</body>
</html>