Class Node
In: lib/antfarm/node.rb
Parent: ActiveRecord::Base

Node class that wraps the nodes table in the ANTFARM database.

  • has many layer 2 interfaces
  • has many layer 3 interfaces through layer 2 interfaces


Public Class methods

Find and return the first node found with the given name.

Find and return all the nodes found that are the given type.

Public Instance methods