Hi
I'm running a ESXi server for some years now.
Recently i deployed a old HP server for some testing and because why not.
I noticed that the Model and Manufacturer information had the information filled in.
Now i have a white box server and now i wanted there also that information filled in.
Nice project, kept me busy for 2 days (errors, wrong info,...)
Now there is 1 thing i want to do and that is to show a logo in vcenter web client.
This in the vCenter Web Client 6, you see the logo from HP.
Now i want that for my white box to, if it can be done offcourse.
I search the files on the vcenter appliances but could not find any logo's anywhere.
I know from this screenshot i found online there is a dell logo to.
https://notesfrommwhite.files.wordpress.com/2016/03/host15.jpg
Anyone that can lead me in the right direction?
It must be on the vcenter server because that is the only place where you see the logo from the oem manufacturer.
You don't see it in the host client ui and not in the vsphere client.
Googling doesn't give me any information, complete nothing.
A list off all the files on the vcenter server and searching for "img", "oem" and "images" wasn't successful.
Downloading a bunch of files from the vcenter server and search for images got me no manufacturer logo's
It's not a big deal if it can't be done. Just something to keep me busy ![]()
Thanks for any help in advance.
Greetz Tiniduske
Hi,
After many hours i found where the logo get called.
And i don't think i can make any changes to it.
It's in the file HostModule.swf where i found some information.
Located in the appliance:
/usr/lib/vmware-vsphere-client/server/work/deployer/s/global/80/0/host-ui-war.war/
Windows server:
"location off installation"\vCenter Server\WebClient\server\work\deployer\s\global\93\0\host-ui-war.war\
I cut away some code, you get the idea from the first part ![]()
internal function _HostSummaryView_Image1_i():mx.controls.Image
{
var loc1:*=new mx.controls.Image();
loc1.id = "dellBadge";
if (!loc1.document)
{
loc1.document = this;
}
this.dellBadge = loc1;
mx.binding.BindingManager.executeBindings(this, "dellBadge", this.dellBadge);
return loc1;
}
mx.binding.BindingManager.executeBindings(this, "ibmBadge", this.ibmBadge);
mx.binding.BindingManager.executeBindings(this, "hpBadge", this.hpBadge);
mx.binding.BindingManager.executeBindings(this, "fujitsuBadge", this.fujitsuBadge);
mx.binding.BindingManager.executeBindings(this, "ftBadge", this.ftBadge);
mx.binding.BindingManager.executeBindings(this, "vmotionBadge", this.vmotionBadge);
mx.binding.BindingManager.executeBindings(this, "evcBadge", this.evcBadge);
mx.binding.BindingManager.executeBindings(this, "evcBadge", this.evcBadge);
and
public static function getHostVendor(arg1:String):int
{
if (arg1 == null)
{
return -1;
}
if (arg1.indexOf(VENDOR_PATTERN_DELL) >= 0)
{
return VENDOR_DELL;
}
if (arg1.indexOf(VENDOR_PATTERN_IBM) >= 0)
{
return VENDOR_IBM;
}
if (arg1.indexOf(VENDOR_PATTERN_HP) >= 0)
{
return VENDOR_HP;
}
if (arg1.indexOf(VENDOR_PATTERN_FUJITSU) >= 0)
{
return VENDOR_FUJITSU;
}
return -1;
}
and some other bits, i'm not going to show all off it. You know where to search now. ![]()
i used a few swf decomposer but they gave me all errors about the file. i don't get to see any image whatsoever in this file.
In a few other file i can see images but not those i do want.
Butt now i (and who reads this) know that you only gonna see a logo from either: Dell,HP, IBM and Fujitsu and a badge for vMotion, evc and ft.
Not a lot if you ask me. I'm missing supermicro, cisco, intel, lenovo? To name only the big boys i think.
But sadly i can't do anything about it. It was fun to search, but here ends my knowledge. Maybe the HTML5 web client will bring joy.
For those who don't know.
https://labs.vmware.com/flings/vsphere-html5-web-client
I came across it while i was searching for all this web client logo thing.
Already deployed but does not connect, something to do and test ![]()
Greetz Tiniduske
Hi,
After many hours i found where the logo get called.
And i don't think i can make any changes to it.
It's in the file HostModule.swf where i found some information.
Located in the appliance:
/usr/lib/vmware-vsphere-client/server/work/deployer/s/global/80/0/host-ui-war.war/
Windows server:
"location off installation"\vCenter Server\WebClient\server\work\deployer\s\global\93\0\host-ui-war.war\
I cut away some code, you get the idea from the first part ![]()
internal function _HostSummaryView_Image1_i():mx.controls.Image
{
var loc1:*=new mx.controls.Image();
loc1.id = "dellBadge";
if (!loc1.document)
{
loc1.document = this;
}
this.dellBadge = loc1;
mx.binding.BindingManager.executeBindings(this, "dellBadge", this.dellBadge);
return loc1;
}
mx.binding.BindingManager.executeBindings(this, "ibmBadge", this.ibmBadge);
mx.binding.BindingManager.executeBindings(this, "hpBadge", this.hpBadge);
mx.binding.BindingManager.executeBindings(this, "fujitsuBadge", this.fujitsuBadge);
mx.binding.BindingManager.executeBindings(this, "ftBadge", this.ftBadge);
mx.binding.BindingManager.executeBindings(this, "vmotionBadge", this.vmotionBadge);
mx.binding.BindingManager.executeBindings(this, "evcBadge", this.evcBadge);
mx.binding.BindingManager.executeBindings(this, "evcBadge", this.evcBadge);
and
public static function getHostVendor(arg1:String):int
{
if (arg1 == null)
{
return -1;
}
if (arg1.indexOf(VENDOR_PATTERN_DELL) >= 0)
{
return VENDOR_DELL;
}
if (arg1.indexOf(VENDOR_PATTERN_IBM) >= 0)
{
return VENDOR_IBM;
}
if (arg1.indexOf(VENDOR_PATTERN_HP) >= 0)
{
return VENDOR_HP;
}
if (arg1.indexOf(VENDOR_PATTERN_FUJITSU) >= 0)
{
return VENDOR_FUJITSU;
}
return -1;
}
and some other bits, i'm not going to show all off it. You know where to search now. ![]()
i used a few swf decomposer but they gave me all errors about the file. i don't get to see any image whatsoever in this file.
In a few other file i can see images but not those i do want.
Butt now i (and who reads this) know that you only gonna see a logo from either: Dell,HP, IBM and Fujitsu and a badge for vMotion, evc and ft.
Not a lot if you ask me. I'm missing supermicro, cisco, intel, lenovo? To name only the big boys i think.
But sadly i can't do anything about it. It was fun to search, but here ends my knowledge. Maybe the HTML5 web client will bring joy.
For those who don't know.
https://labs.vmware.com/flings/vsphere-html5-web-client
I came across it while i was searching for all this web client logo thing.
Already deployed but does not connect, something to do and test ![]()
Greetz Tiniduske
