]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: Introduce virMACMap module
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 25 Nov 2016 06:30:30 +0000 (07:30 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 6 Dec 2016 12:33:18 +0000 (13:33 +0100)
commit86980bc75c2fa82c38220e56e2cc0a95ec2de35d
tree69ce4680acd8b1d81b3f7547763346afd5771446
parentb9b664c5a8fda38f1f4e36bb878daa78ddac6382
util: Introduce virMACMap module

This module will be used to track:

  <domain, mac address list>

pairs. It will be important to know these mappings without
libvirt connection (that is from a JSON file), because NSS
module will use those to provide better host name translation.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
12 files changed:
po/POTFILES.in
src/Makefile.am
src/libvirt_private.syms
src/util/virmacmap.c [new file with mode: 0644]
src/util/virmacmap.h [new file with mode: 0644]
tests/Makefile.am
tests/virmacmapmock.c [new file with mode: 0644]
tests/virmacmaptest.c [new file with mode: 0644]
tests/virmacmaptestdata/complex.json [new file with mode: 0644]
tests/virmacmaptestdata/empty.json [new file with mode: 0644]
tests/virmacmaptestdata/simple.json [new file with mode: 0644]
tests/virmacmaptestdata/simple2.json [new file with mode: 0644]