Skip to content
Snippets Groups Projects
Commit 97a86d84 authored by Dawid Zamirski's avatar Dawid Zamirski Committed by Michal Privoznik
Browse files

Add binding for virDomainInterfaceAddresses.


A straight-forward 1:1 mapping to the C API. Returns array in the
following format:

array (
  0 =>
  array (
    'name' => 'vnet0',
    'hwaddr' => '52:54:00:3a:cd:94',
    'naddrs' => 1,
    'addrs' =>
    array (
      'addr' => '192.168.254.224',
      'prefix' => 24,
      'type' => 0,
    ),
  ),
)

Signed-off-by: default avatarDawid Zamirski <dzamirski@datto.com>
Reviewed-by: default avatarMichal Privoznik <mprivozn@redhat.com>
parent 587235c5
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment