From 01c30c5c47dc5c5e8c14998c3f5bcd7efe1d26f8 Mon Sep 17 00:00:00 2001 From: Greg Sutcliffe Date: Mon, 6 May 2013 12:55:33 +0200 Subject: [PATCH] Add :id attribute to libvirt nic model My cutting edge version of libvirt (1.0.4 Archlinux) seems to reply with :id for NICs, causing the nic model to break. --- lib/fog/libvirt/models/compute/nic.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/fog/libvirt/models/compute/nic.rb b/lib/fog/libvirt/models/compute/nic.rb index a9b278c20..225f914ff 100644 --- a/lib/fog/libvirt/models/compute/nic.rb +++ b/lib/fog/libvirt/models/compute/nic.rb @@ -7,6 +7,7 @@ module Fog class Nic < Fog::Model identity :mac + attribute :id attribute :type attribute :network attribute :bridge