class Fog::Compute::Proxmox::Interfaces

class Interfaces Collection of nodes of cluster

Public Instance Methods

all() click to toggle source
# File lib/fog/compute/proxmox/models/interfaces.rb, line 29
def all
  self
end
get(id) click to toggle source
# File lib/fog/compute/proxmox/models/interfaces.rb, line 33
def get(id)
  all.find { |interface| interface.identity === id }
end
next_nicid() click to toggle source
# File lib/fog/compute/proxmox/models/interfaces.rb, line 37
def next_nicid
  Fog::Proxmox::ControllerHelper.last_index(Fog::Compute::Proxmox::Interface::NAME, self) + 1
end