PaloAltoNetworks / xsoar-panos-upgrade-automation

XSOAR Content for managing the PAN-OS Upgrade process.
ISC License
2 stars 3 forks source link

When Comparing Routes in Snapshots, Route Age Causes Failure #19

Open GrantGabbert opened 4 months ago

GrantGabbert commented 4 months ago

Describe the bug

For non-static routes, the age will change between snapshots. So the snapshot comparison will always fail.

Expected behavior

Route age shouldn't be a factor for snapshot comparison.

Current behavior

Route age is used in snapshot comparison.

Possible solution

Exclude route age in snapshot comparison.

Steps to reproduce

  1. Run 'Upgrade Assurance Testing' on a firewall with dynamic routing configured.
  2. The snapshot check will fail with all routes listed as different due to the route age.

Context

I had to tweak the integration to exclude the route age to continue testing.

Your Environment