pan-os-python
pan-os-python copied to clipboard
The PAN-OS SDK for Python is a package to help interact with Palo Alto Networks devices (including physical and virtualized Next-generation Firewalls and Panorama). The pan-os-python SDK is object ori...
Hello We have Panorama and multiple HA Palo Alto Firewalls. We manage all the firewall through Panorama and just wondering if you can guide me how to use the pandevice...
The ID types - peer_id_type - local_id_type in network.py / class IKEGateway can also be of value 'None'. That shall be updated.
I have a test firewall to try pandevice without any valid SSL certificate. In order to work with XML APIs of Palo Alto, I use curl -k -X . I...
```python def config_comment(fw_obj): x = ['ethernet1/1'] try: EthernetInterface.refreshall(fw_obj) AggregateInterface.refreshall(fw_obj) except PanDeviceError as e: print(e.message) for interface_name in x: if 'ae' in interface_name: try: target_int = fw_obj.find(interface_name, AggregateInterface) except PanDeviceError as...
update = updater.ContentUpdater(fw_1) update.download_install(sync_to_peer=False) Also tried it like this update.download_install() ERROR update.download_install() self.download(version, sync_to_peer=sync_to_peer, sync=True) typeError: download() got multiple values for keyword argument 'sync_to_peer' Looks like it is calling the...
Please add support for importing config files.
I'm using version 0.6.6 and Python3 Is it normal that when you are pulling the security rule rulebase = pandevice.policies.Rulebase() fw.add(rulebase) current_security_rules = pandevice.policies.SecurityRule.refreshall( rulebase) You are performing modification on...
**Synopsis:** Setting address object failed on PA-3260 (v8.1.4.H2) while succeeded on PA-3000 (v8.1.2) **Exception:** vsys1 -> address has unexpected text. **Python package:** pan-python=0.13.0 pandevice=0.6.6 **Code snippet (sample):** ``` fw =...
Clone()
Hi is it possible to add clone() as move() in base.PanObject as defined in pan.xapi: clone(xpath=None, xpath_from=None, newname=None) The clone() method performs the action=clone device configuration API request with the...
Getting below since 2 days, my Panorama is 7.1.9 and firewall 7.1.7: ``` python pandevice.pano.commit_all.py Traceback (most recent call last): File "pandevice.pano.commit_all.py", line 18, in id=pano.commit_all(cmd="yes") File "/usr/lib/python2.7/site-packages/pandevice/panorama.py", line 186,...