Overview

Namespaces

  • None
  • PHP

Classes

  • Address
  • AddressGroup
  • AddressRuleContainer
  • AddressStore
  • AggregateEthernetIfStore
  • AggregateEthernetInterface
  • App
  • AppOverrideRule
  • AppRuleContainer
  • AppStore
  • AuthenticationRule
  • CaptivePortalRule
  • cidr
  • Container
  • CsvParser
  • CustomSecurityProfileURL
  • DecryptionProfile
  • DecryptionRule
  • DeviceCloud
  • DeviceGroup
  • DH
  • DoSRule
  • ErrorReporter
  • EthernetIfStore
  • EthernetInterface
  • ExpeditionTaskReporter
  • FawkesConf
  • FileTaskReporter
  • HipObjectsProfile
  • HipProfilesProfile
  • IkeCryptoProfil
  • IkeCryptoProfileStore
  • IKEGateway
  • IKEGatewayStore
  • InterfaceContainer
  • IP4Map
  • IPSecCryptoProfil
  • IPSecCryptoProfileStore
  • IPsecTunnel
  • IPsecTunnelStore
  • LoopbackIfStore
  • LoopbackInterface
  • ManagedDevice
  • ManagedDeviceStore
  • NatRule
  • NetworkPropertiesContainer
  • ObjRuleContainer
  • ObjStore
  • PanAPIConnector
  • PANConf
  • PanoramaConf
  • PbfRule
  • PH
  • PredefinedSecurityProfileURL
  • QoSRule
  • RQuery
  • Rule
  • RuleStore
  • RuleWithUserID
  • Schedule
  • ScheduleStore
  • SecurityProfile
  • SecurityProfileAntiSpyware
  • SecurityProfileAntiVirus
  • SecurityProfileDNSSecurity
  • SecurityProfileFileBlocking
  • SecurityProfileGroup
  • SecurityProfileGroupStore
  • SecurityProfileStore
  • SecurityProfileURL
  • SecurityProfileVirusAndWildfire
  • SecurityProfileVulnerability
  • SecurityProfileWildfire
  • SecurityRule
  • Service
  • ServiceDstPortMapping
  • ServiceGroup
  • ServiceRuleContainer
  • ServiceSrcPortMapping
  • ServiceStore
  • StaticRoute
  • Tag
  • TagRuleContainer
  • TagStore
  • Template
  • TemplateStack
  • TmpInterface
  • TmpInterfaceStore
  • TunnelIfStore
  • TunnelInterface
  • UrlCategoryRuleContainer
  • VirtualRouter
  • VirtualRouterContainer
  • VirtualRouterStore
  • VirtualSystem
  • VirtualWire
  • VirtualWireStore
  • VlanIfStore
  • VlanInterface
  • Zone
  • ZoneRuleContainer
  • ZoneStore

Interfaces

  • TaskReporter

Traits

  • AddressCommon
  • centralAddressStore
  • centralAddressStoreUser
  • centralServiceStore
  • centralServiceStoreUser
  • InterfaceType
  • NegatableRule
  • ObjectWithDescription
  • PanSubHelperTrait
  • PathableName
  • ReferenceableObject
  • RulewithLogging
  • ServiceCommon
  • XmlConvertible

Functions

  • __CmpObjMemID
  • __CmpObjName
  • array_diff_no_cast
  • array_to_devicequery
  • array_unique_no_cast
  • cloneArray
  • convert
  • derr
  • findConnector
  • findConnectorOrDie
  • getDirContents
  • insertAfter
  • lastIndex
  • mdeb
  • mwarning
  • my_shutdown
  • myAutoloader
  • myErrorHandler
  • printn
  • removeElement
  • sortArrayByStartValue
  • yesNoBool
  • Overview
  • Namespace
  • Class
  • Tree

Class IPsecTunnel

Class IPsecTunnel

IPsecTunnel uses InterfaceType, XmlConvertible, PathableName, ReferenceableObject
Located at network-classes/IPsecTunnel.php
Methods summary
public
# __construct( string $name, IPsecTunnelStore $owner )

IPsecTunnel constructor.

IPsecTunnel constructor.

Parameters

$name
string
$name
$owner
IPsecTunnelStore
$owner
public
# load_from_domxml( DOMElement $xml )

Parameters

$xml
DOMElement
$xml
public string[][]
# proxyIdList( )

line structure: Array('local' => $local->nodeValue, 'remote' => $remote->nodeValue, 'xmlroot' => $proxyNode );

line structure: Array('local' => $local->nodeValue, 'remote' => $remote->nodeValue, 'xmlroot' => $proxyNode );

Returns

string[][]
public string[]|null
# searchProxyIdLine( string $local, string $remote )

Parameters

$local
string
$local
$remote
string
$remote

Returns

string[]|null
public boolean
# hasProxyId( string $local, string $remote )

Parameters

$local
string
$local
$remote
string
$remote

Returns

boolean
public string
# findAvailableProxyIdName( string $baseName )

Parameters

$baseName
string
$baseName

Returns

string
public boolean
# removeProxyId( string $local, string $remote )

Parameters

$local
string
$local
$remote
string
$remote

Returns

boolean
public boolean
# addProxyId( string $local, string $remote, null|string $name = null )

Parameters

$local
string
$local
$remote
string
$remote
$name
null|string
$name

Returns

boolean
public boolean
# setName( string $name )

return true if change was successful false if not (duplicate IPsectunnel name?)

return true if change was successful false if not (duplicate IPsectunnel name?)

Parameters

$name
string
$name new name for the IPsecTunnel

Returns

boolean
public
# setIKEGateway( mixed $gateway_name )
public
# setProposal( mixed $proposal )
public
# setInterface( mixed $interface )
public
# referencedObjectRenamed( mixed $h )
public
# rewriteInterface_XML( )
public
# getInterface( )
public
# setDisabled( mixed $bool )
public
# getDisabled( )
public
# isIPsecTunnelType( )
Methods used from InterfaceType
(), (), (), (), (), (), (), (), (), ()
Methods used from XmlConvertible
(), (), (), (), ()
Methods used from PathableName
(), (), ()
Methods used from ReferenceableObject
(), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), ()
Properties summary
public null|string[]|DOMElement $typeRoot null
#
public null|string[]|DOMElement $proxyIdRoot null
#
public null|string[]|DOMElement $proxyIdRootv6 null
#
public string $type 'notfound'
#
public null|string[]|DOMElement $gateway 'notfound'
#
public null|string[]|DOMElement $protocol 'notfound'
#
public null|string[]|DOMElement $protocol_local 'notfound'
#
public null|string[]|DOMElement $protocol_remote 'notfound'
#
public array $proxys array()
#
public mixed $proposal null
#
public mixed $interface null
#
public mixed $localIP null
#
public mixed $remoteIP null
#
public string $disabled "no"
#
public static string $templatexml '<entry name="**temporarynamechangeme**"> <auto-key> <ike-gateway> <entry name="**temporaryIKEGateway**"/> </ike-gateway> <ipsec-crypto-profile>default</ipsec-crypto-profile> <proxy-id></proxy-id> </auto-key> <tunnel-monitor> <enable>no</enable> </tunnel-monitor> <tunnel-interface></tunnel-interface> <anti-replay>yes</anti-replay> <copy-tos>no</copy-tos> <disabled>no</disabled> </entry>'
#
Properties used from InterfaceType
$importedByVSYS
Properties used from XmlConvertible
$xmlroot
Properties used from ReferenceableObject
$name, $refcomphash, $refrules
Magic properties summary
public IPsecTunnelStore $owner
#
Magic properties used from PathableName
$name
PAN-OS-PHP API documentation generated by ApiGen 2.8.0