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); }
/** * @param PanoramaConf|null $withPanorama * @param string|null $serial * @param Template|null $fromTemplate */ public function PANConf($withPanorama = null, $serial = null, $fromTemplate = null) { if (!is_null($withPanorama)) { $this->panorama = $withPanorama; } if (!is_null($serial)) { $this->serial = $serial; } $this->owner = $fromTemplate; $this->tagStore = new TagStore($this); $this->tagStore->setName('tagStore'); $this->appStore = AppStore::getPredefinedStore(); $this->serviceStore = new ServiceStore($this); $this->serviceStore->name = 'services'; if (!is_null($withPanorama)) { $this->serviceStore->panoramaShared = $this->panorama->serviceStore; } $this->addressStore = new AddressStore($this); $this->addressStore->name = 'addresses'; if (!is_null($withPanorama)) { $this->addressStore->panoramaShared = $this->panorama->addressStore; } $this->network = new NetworkPropertiesContainer($this); }