aboutsummaryrefslogtreecommitdiff
path: root/po
diff options
context:
space:
mode:
authorOsier Yang <jyang@redhat.com>2012-02-10 12:51:47 +0800
committerOsier Yang <jyang@redhat.com>2012-02-10 12:53:25 +0800
commit7c90026db953705d7e30cd87cda01a8504227c5c (patch)
tree9a27bdf5362b326e2dfe70b5f5cf31054195ca11 /po
parentRemove single quotes from audit records (diff)
downloadlibvirt-7c90026db953705d7e30cd87cda01a8504227c5c.tar.gz
libvirt-7c90026db953705d7e30cd87cda01a8504227c5c.tar.bz2
libvirt-7c90026db953705d7e30cd87cda01a8504227c5c.zip
npiv: Auto-generate WWN if it's not specified
The auto-generated WWN comply with the new addressing schema of WWN: <quote> the first nibble is either hex 5 or 6 followed by a 3-byte vendor identifier and 36 bits for a vendor-specified serial number. </quote> We choose hex 5 for the first nibble. And for the 3-bytes vendor ID, we uses the OUI according to underlying hypervisor type, (invoking virConnectGetType to get the virt type). e.g. If virConnectGetType returns "QEMU", we use Qumranet's OUI (00:1A:4A), if returns ESX|VMWARE, we use VMWARE's OUI (00:05:69). Currently it only supports qemu|xen|libxl|xenapi|hyperv|esx|vmware drivers. The last 36 bits are auto-generated.
Diffstat (limited to 'po')
-rw-r--r--po/POTFILES.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 5a7ecae75..35ddf83a3 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -134,6 +134,7 @@ src/util/virnetdevvportprofile.c
src/util/virnetlink.c
src/util/virnodesuspend.c
src/util/virpidfile.c
+src/util/virrandom.c
src/util/virsocketaddr.c
src/util/virterror.c
src/util/virtime.c