golang/xenlight: add DeviceNicAdd/Remove wrappers
authorNick Rosbrook <rosbrookn@gmail.com>
Sun, 12 Apr 2020 22:02:40 +0000 (18:02 -0400)
committerGeorge Dunlap <george.dunlap@citrix.com>
Thu, 23 Apr 2020 10:30:54 +0000 (11:30 +0100)
commit0f140aa92029516858cc986837dc902b88bd1675
tree65f8544f6d3421415b4b5b834f9b721b07ea6d53
parentbb215898d46395080b911c15e5c3a7fff0c150cb
golang/xenlight: add DeviceNicAdd/Remove wrappers

Add DeviceNicAdd and DeviceNicRemove as wrappers for
libxl_device_nic_add and libxl_device_nic_remove.

Signed-off-by: Nick Rosbrook <rosbrookn@ainfosec.com>
Reviewed-by: George Dunlap <george.dunlap@citrix.com>
tools/golang/xenlight/xenlight.go