Class Layer3Network
In: lib/antfarm/layer3_network.rb
Parent: ActiveRecord::Base

Layer3Network class that wraps the layer3_networks table in the ANTFARM database.

  • has many layer 3 interfaces
  • has one IP network

Methods

Public Class methods

Take the given network and merge with it any sub_networks of the given network.

Find the Layer3Network with the given address.

Find the network the given network is a sub_network of, if one exists.

Find any Layer3Networks that are sub_networks of the given network.

[Validate]