Ejemplo n.º 1
0
 public function PanoramaConf()
 {
     $this->tagStore = new TagStore($this);
     $this->tagStore->setName('tagStore');
     $this->zoneStore = new ZoneStore($this);
     $this->zoneStore->setName('zoneStore');
     $this->appStore = AppStore::getPredefinedStore();
     $this->serviceStore = new ServiceStore($this);
     $this->serviceStore->name = 'services';
     $this->addressStore = new AddressStore($this);
     $this->addressStore->name = 'addresses';
     $this->securityRules = new RuleStore($this, 'SecurityRule', true);
     $this->natRules = new RuleStore($this, 'NatRule', true);
     $this->decryptionRules = new RuleStore($this, 'DecryptionRule', true);
     $this->appOverrideRules = new RuleStore($this, 'AppOverrideRule', true);
 }
 public function VirtualSystem(PANConf $owner)
 {
     $this->owner = $owner;
     $this->version =& $owner->version;
     $this->tagStore = new TagStore($this);
     $this->tagStore->name = 'tags';
     $this->importedInterfaces = new InterfaceContainer($this, $owner->network);
     $this->appStore = $owner->appStore;
     $this->zoneStore = new ZoneStore($this);
     $this->zoneStore->setName('zoneStore');
     $this->serviceStore = new ServiceStore($this);
     $this->serviceStore->name = 'services';
     $this->addressStore = new AddressStore($this);
     $this->addressStore->name = 'addresses';
     $this->securityRules = new RuleStore($this, 'SecurityRule');
     $this->securityRules->name = 'Security';
     $this->natRules = new RuleStore($this, 'NatRule');
     $this->natRules->name = 'NAT';
     $this->decryptionRules = new RuleStore($this, 'DecryptionRule');
     $this->decryptionRules->name = 'Decryption';
     $this->appOverrideRules = new RuleStore($this, 'AppOverrideRule');
     $this->appOverrideRules->name = 'AppOverride';
 }