HP BL680c XenServer Software Development Kit Guide 4.1.0 - Page 35

Miscellaneous settings, 5.6. Internationalization for SR names

Page 35 highlights

XenServer API extensions For example, to enable TX checksumming on a virtual NIC via the xe CLI: xe vif-param-set uuid= other-config:ethtool-tx="on" or: xe vif-param-set uuid= other-config:ethtool-tx="true" To set the duplex setting on a physical NIC to half duplex via the xe CLI: xe vif-param-set uuid= other-config:ethtool-duplex="half" 5.5.2. Miscellaneous settings You can also set a VIF or PIF to enable promiscuous mode via the promiscuous key. For example, to enable promiscuous mode on a physical NIC via the xe CLI: xe pif-param-set uuid= other-config:promiscuous="on" or: xe pif-param-set uuid= other-config:promiscuous="true" The VIF and PIF objects have a MTU parameter that is read-only and provide the current setting of the maximum transmission unit for the interface. You can override the default maximum transmission unit of a physical or virtual NIC with the mtu key via the other-config map parameter. For example, to reset the MTU on a virtual NIC to use jumbo frames via the xe CLI: xe vif-param-set uuid= other-config:mtu=9000 Note that changing the MTU of underlying interfaces is an advanced and experimental feature, and may lead to unexpected side-effects if you have varying MTUs across NICs in a single resource pool. 5.6. Internationalization for SR names The SRs created at install time now have an other_config key indicating how their names may be internationalized. other_config["i18n-key"] may be one of • local-hotplug-cd • local-hotplug-disk 29

  • 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
29
For example, to enable TX checksumming on a virtual NIC via the xe CLI:
xe vif-param-set uuid=<VIF UUID> other-config:ethtool-tx="on"
or:
xe vif-param-set uuid=<VIF UUID> other-config:ethtool-tx="true"
To set the duplex setting on a physical NIC to half duplex via the xe CLI:
xe vif-param-set uuid=<VIF UUID> other-config:ethtool-duplex="half"
5.5.2. Miscellaneous settings
You can also set a VIF or PIF to enable promiscuous mode via the
promiscuous
key. For example, to
enable promiscuous mode on a physical NIC via the xe CLI:
xe pif-param-set uuid=<PIF UUID> other-config:promiscuous="on"
or:
xe pif-param-set uuid=<PIF UUID> other-config:promiscuous="true"
The VIF and PIF objects have a
MTU
parameter that is read-only and provide the current setting of the
maximum transmission unit for the interface. You can override the default maximum transmission unit of a
physical or virtual NIC with the
mtu
key via the
other-config
map parameter. For example, to reset the
MTU on a virtual NIC to use jumbo frames via the xe CLI:
xe vif-param-set uuid=<VIF UUID> other-config:mtu=9000
Note that changing the MTU of underlying interfaces is an advanced and experimental feature, and may
lead to unexpected side-effects if you have varying MTUs across NICs in a single resource pool.
5.6. Internationalization for SR names
The SRs created at install time now have an
other_config
key indicating how their names may be in-
ternationalized.
other_config["i18n-key"]
may be one of
local-hotplug-cd
local-hotplug-disk