Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Failing snapshots of FWs with no BGP peers #167

Merged
merged 5 commits into from
Apr 15, 2024

Conversation

acelebanski
Copy link
Contributor

@acelebanski acelebanski commented Apr 12, 2024

Description

Release v0.3.4 introduced BGP peers information to snapshots. Function didn't handle well a situation where the firewalls didn't have any BGP peers. Added additional if statement to handle that.

Motivation and Context

As above.

How Has This Been Tested?

Tested with examples present in the repo.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes if appropriate.
  • All new and existing tests passed.

Copy link

github-actions bot commented Apr 12, 2024

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  panos_upgrade_assurance
  firewall_proxy.py
Project Total  

This report was generated by python-coverage-comment-action

Copy link

A Preview PR in PanDev repo has been created. You can view it here.

@alperenkose alperenkose merged commit 035aa99 into main Apr 15, 2024
7 checks passed
@alperenkose alperenkose deleted the fix_bgp_peers_snapshot branch April 15, 2024 09:15
github-actions bot pushed a commit that referenced this pull request Apr 17, 2024
## [0.3.6](v0.3.5...v0.3.6) (2024-04-17)

### Bug Fixes

* Failing snapshots of FWs with no BGP peers ([#167](#167)) ([035aa99](035aa99))
@horiagunica
Copy link
Collaborator

🎉 This PR is included in version 0.3.6 🎉

The release is available on PyPI and GitHub release

Posted by semantic-release bot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants