You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PanOS 10 changed the configuration of the email server slightly, now requiring the "protocol" attribute. This renders the panos_email_server.py module broken when dealing with PanOS 10+ devices.
Expected behavior
panos_email_server.py should properly configure an email server and allow it to commit without error or ignoring errors
Current behavior
Commit fails since the protocol attribute is missing.
PLAY [all] ****************************************************************************************************************************
TASK [Gathering Facts] ****************************************************************************************************************
ok: [fw1]
TASK [Get facts] **********************************************************************************************************************
ok: [fw1]
TASK [Print facts] ********************************************************************************************************************
ok: [fw1] => {
"panos_facts.ansible_facts.ansible_net_version": "10.0.0"
}
TASK [Create email profile] ***********************************************************************************************************
changed: [fw1]
TASK [Create email server in an email profile] ****************************************************************************************
changed: [fw1]
TASK [Commit the changes] *************************************************************************************************************
fatal: [fw1]: FAILED! => {"changed": false, "msg": "Partial changes to commit: changes to configuration by all administrators | Changes to shared configuration | Validation Error: | log-settings -> email -> default -> server -> default is missing 'protocol' | log-settings -> email -> default -> server is invalid"}
PLAY RECAP ****************************************************************************************************************************
fw1 : ok=5 changed=2 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
Possible solution
Add support for the protocol attribute to pan-os-python - PR 348
Add support for the protocol attribute to pan-os-ansible
Describe the bug
PanOS 10 changed the configuration of the email server slightly, now requiring the "protocol" attribute. This renders the
panos_email_server.py
module broken when dealing with PanOS 10+ devices.Expected behavior
panos_email_server.py
should properly configure an email server and allow it to commit without error or ignoring errorsCurrent behavior
Commit fails since the
protocol
attribute is missing.Possible solution
protocol
attribute topan-os-python
- PR 348protocol
attribute topan-os-ansible
Steps to reproduce
Screenshots
See current behavior section ^^
Context
Since upgrading to PanOS 10
Your Environment
The text was updated successfully, but these errors were encountered: