HP BL680c XenServer Software Development Kit Guide 4.1.0 - Page 36

Hiding objects from XenCenter, XenServer API extensions

Page 36 highlights

XenServer API extensions • local-storage • xenserver-tools Additionally, other_config["i18n-original-value-"] gives the value of that field when the SR was created. If XenCenter sees a record where SR.name_label equals other_config["i18n-original-value-name_label"] (that is, the record has not changed since it was created during XenServer installation), then internationalization will be applied. In other words, XenCenter will disregard the current contents of that field, and instead use a value appropriate to the user's own language. If you change SR.name_label for your own purpose, then it no longer is the same as other_config["i18n-original-value-name_label"]. Therefore, XenCenter does not apply internationalization, and instead preserves your given name. 5.7. Hiding objects from XenCenter Networks, PIFs, and VMs can be hidden from XenCenter by adding the key HideFromXenCenter set to true to the other_config parameter for the object. This capability is intended for ISVs who know what they are doing, not general use by everyday users. For example, you might want to hide certain VMs because they are cloned VMs that shouldn't be used directly by general users in your environment. In XenCenter, hidden Networks, PIFs, and VMs can be made visible, using the View menu. 30

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37

XenServer API extensions
30
local-storage
xenserver-tools
Additionally,
other_config["i18n-original-value-<field name>"]
gives the value of that
field when the SR was created. If XenCenter sees a record where
SR.name_label
equals
other_config["i18n-original-value-name_label"]
(that is, the record has not changed since
it was created during XenServer installation), then internationalization will be applied. In other words, Xen-
Center will disregard the current contents of that field, and instead use a value appropriate to the user's
own language.
If you change
SR.name_label
for your own purpose, then it no longer is the same as
other_config["i18n-original-value-name_label"]
. Therefore, XenCenter does not apply inter-
nationalization, and instead preserves your given name.
5.7. Hiding objects from XenCenter
Networks, PIFs, and VMs can be hidden from XenCenter by adding the key
HideFromXenCenter
set
to
true
to the
other_config
parameter for the object. This capability is intended for ISVs who know
what they are doing, not general use by everyday users. For example, you might want to hide certain VMs
because they are cloned VMs that shouldn't be used directly by general users in your environment.
In XenCenter, hidden Networks, PIFs, and VMs can be made visible, using the View menu.