Hi Vish-<div><br></div><div>Thanks for the reply.</div><div><br></div><div>I need much more info on these. </div><div><br></div><div>[1] Where this Metadata comes into picture., while launching the instance, or after instance is launched ?</div>
<div>[2] In the Essex release, how can he see what metadata is being prepared and used ?</div><div>[3] What is the use of this metadata.</div><div>[4] In scenario of Nova+Quantum+OVS (Essex Release) at what places this metadata is used, How is it prepared, where it is parsed and understood, What data does it contain?</div>
<div><br></div><div>Though I have too many questions, I'm in need of these since, Want to understand the ROLE of metadata concept? </div><div><br></div><div>Kindly please help me understand the same.</div><div><br></div>
<div>--</div><div>TNS</div><div><br></div><div><br><div class="gmail_quote">On Fri, Aug 31, 2012 at 9:21 PM, Vishvananda Ishaya <span dir="ltr"><<a href="mailto:vishvananda@gmail.com" target="_blank">vishvananda@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Server Metadata: <a href="http://docs.openstack.org/api/openstack-compute/2/content/Server_Metadata-d1e2529.html" target="_blank">http://docs.openstack.org/api/openstack-compute/2/content/Server_Metadata-d1e2529.html</a><div>
<br></div><div>More Metadata Info: <a href="http://docs.openstack.org/api/openstack-compute/2/content/MetadataSection.html" target="_blank">http://docs.openstack.org/api/openstack-compute/2/content/MetadataSection.html</a><div>
<br></div><div>Personalities: <a href="http://docs.openstack.org/api/openstack-compute/2/content/Server_Personality-d1e2543.html" target="_blank">http://docs.openstack.org/api/openstack-compute/2/content/Server_Personality-d1e2543.html</a></div>
<div><br></div><div>Vish</div><div><br><div><div><div><div><div>On Aug 31, 2012, at 2:52 AM, Trinath Somanchi <<a href="mailto:trinath.somanchi@gmail.com" target="_blank">trinath.somanchi@gmail.com</a>> wrote:</div>
<br></div></div><blockquote type="cite"><div><div>Hi-<div><br></div><div>While going through the source code of the Nova API, i came across the following comments.</div><div><br></div><div><div>class CommonDeserializer(wsgi.MetadataXMLDeserializer):</div>
<div> """</div>
<div> Common deserializer to handle xml-formatted server create</div><div> requests.</div><div><br></div><div> Handles standard server attributes as well as optional metadata</div><div> and personality attributes</div>
<div> """</div><div><br></div><div> metadata_deserializer = common.MetadataXMLDeserializer()</div><div><br></div><div> def _extract_personality(self, server_node):</div><div> """Marshal the personality attribute of a parsed request"""</div>
<div> node = self.find_first_child_named(server_node, "personality")</div><div> if node is not None:</div><div> personality = []</div><div> for file_node in self.find_children_named(node, "file"):</div>
<div> item = {}</div><div> if file_node.hasAttribute("path"):</div><div> item["path"] = file_node.getAttribute("path")</div><div> item["contents"] = self.extract_text(file_node)</div>
<div> personality.append(item)</div><div> return personality</div><div> else:</div><div> return None</div><div><br></div><div><br></div><div>..............</div><div>.................</div>
<div><br></div><div>Just very interested to know, what kind of metadata is possible here and what doest this PERSONALITY attribute mean.</div><div><br></div><div>Can any me help understand the role of METADATA and its attributes with an example. Even When I brought up the instance, when I view the logs, haven't found any information regarding the metadata.</div>
<div><br></div><div>Please help me in this regard.</div><div><br></div><div>Thanking you all.</div><div><br></div>-- <br>Regards,<br>----------------------------------------------<br>Trinath Somanchi,<div><a href="tel:%2B91%209866%20235%20130" value="+919866235130" target="_blank">+91 9866 235 130</a></div>
<br>
</div></div></div>
_______________________________________________<br>OpenStack-dev mailing list<br><a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.org</a><br><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</blockquote></div><br></div></div></div></div><br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Regards,<br>----------------------------------------------<br>Trinath Somanchi,<div><a href="tel:%2B91%209866%20235%20130" value="+919866235130" target="_blank">+91 9866 235 130</a></div>
<br>
</div>