class Fog::Proxmox::Compute::Interfaces
class Interfaces
Collection of nodes of cluster
Public Instance Methods
all()
click to toggle source
# File lib/fog/proxmox/compute/models/interfaces.rb, line 30 def all self end
get(id)
click to toggle source
# File lib/fog/proxmox/compute/models/interfaces.rb, line 34 def get(id) all.find { |interface| interface.identity === id } end
next_nicid()
click to toggle source
# File lib/fog/proxmox/compute/models/interfaces.rb, line 38 def next_nicid Fog::Proxmox::ControllerHelper.last_index(Fog::Proxmox::Compute::Interface::NAME, self) + 1 end