Hi,<br><br>Thanks for the help. It worked for me.<br><br>Regards,<br>Vaibhav<br><br><blockquote><br>---------- Original message ----------<br>From:"Julie Pichon"< jpichon@redhat.com ><br>Date: 28 Mar 13 16:15:33<br>Subject: Re: [rhos-list] Add user field in the instance panel of dashboard<br>To: Kumar Vaibhav <vaibhav.k.agarwal@in.com><br>Cc: rhos-list <rhos-list@redhat.com><br><br>Hi,<br><br>"Kumar Vaibhav" <vaibhav.k.agarwal@in.com> wrote:<br>> Hi,As a admin I find it difficult to know instanceuser mapping.I want<br>> to add the userid information to be added for the Dashboard on the<br>> instance page. Is it possible to do this? How I can augment the<br>> dashboard to add this feature?Regards,Vaibhav<br><br>It should be possible to do this.<br><br>There is some documentation on how to modify an existing panel:<br><br>http://docs.openstack.org/developer/horizon/topics/customizing.html#modifying-existing-dashboards-and-panels<br><br>I have
 n't tried this but I think your best bet would be to create a new customised panel that extends the existing one, in which you modify the Table to include the additional field. Then you would unregister the existing Instances panel using the previous docs, and register yours to replace it.<br><br>You can see the existing Table at <a href="https://github.com/openstack/horizon/blob/stable/folsom/horizon/dashboards/syspanel/instances/tables.py#L44" target="_blank">https://github.com/openstack/horizon/blob/stable/folsom/horizon/dashboards/syspanel/instances/tables.py#L44</a> . Looking at that code, it looks like there already used to be a user_id (line 64) but it's commented out due to scalability concerns when expanding it into a name. If you only care about the user_id, this is the line you should add to your customised Table.<br><br>Hope this helps,<br><br>Julie<br></blockquote><br><br><div style="border-top:1px dashed #ccc; border-bottom:1px dashed #ccc; padding:
 5px;"><a href="http://www3.in.com/sso/commonregister.php?ref=IN&utm_source=invite&utm_medium=outgoing" style="font:13px arial; color:#1E56A1; text-decoration:none;">Get Yourself a cool, short <b>@in.com</b> Email ID now!</a></div>