    # File lib/fog/ovirt/models/compute/interfaces.rb, line 14
            def all(filters = {})
              requires :vm
              if vm.is_a? Fog::Compute::Ovirt::Server
                load connection.list_vm_interfaces(vm.id)
              elsif vm.is_a? Fog::Compute::Ovirt::Template
                load connection.list_template_interfaces(vm.id)
              else
                raise 'interfaces should have vm or template'
              end
            end