Union

Gateways(); } $this->TargetNodes = implode(',',$this->Nodes); $this->TargetSubnets = implode(',',$this->VlanSubnets); //need to add a function to query for duplicate allotment if(!$this->validateIPAddresses()){ $this->InputError = true; $this->Errors[] = 'IP address duplication has been detected. Please address the errors in this form and try again.'; return false; } $this->reporter->notify(2,$this->MakeDefaultLabel."\n".implode(',',$this->reporter->Messages)); return true; } return false; } function validateIPAddresses(){ $ip = new IPM(); $ip->loadSubnets(); $ip->parseSubnetDetermineTypes(); $ip->removeExcludedSubnets(); //r1000 $ip->removeExcludedAddresses(); //r1010 foreach($this->VlanSubnets as $subnet){ $subnetid = substr($subnet,0,strpos($subnet,' ')); $name = substr($subnet,strpos($subnet,' ')); $range = new Range($subnetid); if(!$ip->validateRange($range)){ $this->InputError = true; $this->Errors[] = "The subnet range ($subnet) was not properly validated."; return false; } if(!$ip->findOverlap($range)){ $this->InputError = true; $this->Errors[] = "The subnet range ($subnet) was already assigned to $subnet->Name."; return false; } } foreach($this->VlanGateways as $subnetid=>$currentGateway){ if(!$ip->validateIPAddress($subnetid,$currentGateway)){ $this->InputError = true; $this->Errors[] = "The gateway IP address $subnetid same network interface is not a valid IP address for this subnet.";

How it works
  • Submit an enquiry to a product.
  • Wait for a call from nearest supplier from your area.
  • Get quote and product details.
  • Choose best from them.
Recently Added Suppliers