search for: networkseg

Displaying 3 results from an estimated 3 matches for "networkseg".

Did you mean: networksec
2006 Mar 30
2
Functional test confusion
...ing about testing in RoR for what seems like hours now in search of the answer to what is probably a simple problem. Where is the best place to test the second action explained below? I have a controller (NetworkingController) with a method (create_network_segment) that makes use of two models (NetworkSegment and NetworkIpaddress). This particular method does two actions: 1. Create a new NetworkSegment from the submitted form data 2. Create one NetworkIpaddress for each value of a range class NetworkingController < ApplicationController def create_network_segment # Example attributes = s...
2006 Mar 30
0
Specify callbacks before associations
...heritance to work for the callback queues, you must specify the callbacks before specifying the associations. Otherwise, you might trigger the loading of a child before the parent has registered the callbacks and they won?t be inherited." Does this mean a model should be defined as: class NetworkSegment < ActiveRecord::Base after_create :create_network_ipaddresses after_update :update_network_ipaddresses has_many :network_ipaddresses, :order => octet4 #... end or class NetworkSegment < ActiveRecord::Base has_many :network_ipaddresses, :order => octet4 after_create...
2010 Jan 21
6
Shorewall 4.4.6 and Multiple ISP with 2 routed subnets
Hello, I have 2 ISP uplinks (zones: inet1 and inet2), each with a fixed IP on the outside and a routed subnet (/25 and /26) on the inside. So, behind the firewall i have 2 networksegments (lan1 and lan2) with public IP-addresses. The segments are completely isolated from eachother: hosts in zone "lan1" connect only to "inet1" and hosts in zone "lan2" only connect to "inet2". Because the segements don''t have to switch ISP, loa...