class Fog::Proxmox::Compute::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::Proxmox::Compute::Interface::NAME, self) + 1 end