class Fog::Compute::Proxmox::Interfaces

class Interfaces Collection of nodes of cluster

Public Instance Methods

all(_options = {}) click to toggle source
# File lib/fog/compute/proxmox/models/interfaces.rb, line 30
def all(_options = {})
  self
end
get(id) click to toggle source
# File lib/fog/compute/proxmox/models/interfaces.rb, line 34
def get(id)
  cached_interface = find { |interface| interface.id == id }
  return cached_interface if cached_interface
end
next_nicid() click to toggle source
# File lib/fog/compute/proxmox/models/interfaces.rb, line 39
def next_nicid
  Fog::Proxmox::ControllerHelper.last_index(Fog::Compute::Proxmox::Interface::NAME, self) + 1
end