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
* [`CheckStatus.FAIL`](/panos/docs/panos-upgrade-assurance/api/utils#class-checkstatus) when CPU utilization is equal to or above the threshold.
671
671
* [`CheckStatus.ERROR`](/panos/docs/panos-upgrade-assurance/api/utils#class-checkstatus) when the data cannot be retrieved.
672
672
673
-
### `CheckFirewall.get_content_db_version`
673
+
### `CheckFirewall.get_nics_snapshot`
674
674
675
675
```python
676
-
defget_content_db_version() ->Dict[str, str]
676
+
defget_nics_snapshot() ->SnapResult
677
677
```
678
678
679
-
Get Content DB version.
679
+
Get NICs information as a snapshot.
680
680
681
681
__Returns__
682
682
683
683
684
-
`dict(str)`: To keep the standard of all`get` methods returning a dictionary this value is also returned as a dictionary in the following format:
684
+
`SnapResult`: Object of [`SnapResult`](/panos/docs/panos-upgrade-assurance/api/utils#class-snapresult) class representing the result of the NICs snapshot operation.
685
+
686
+
### `CheckFirewall.get_routes_snapshot`
687
+
688
+
```python
689
+
def get_routes_snapshot() -> SnapResult
690
+
```
691
+
692
+
Get routes information for Legacy Routing Engine as a snapshot.
693
+
694
+
__Returns__
695
+
696
+
697
+
`SnapResult`: Object of [`SnapResult`](/panos/docs/panos-upgrade-assurance/api/utils#class-snapresult) class representing the result of the routes snapshot operation.
698
+
699
+
### `CheckFirewall.get_bgp_peers_snapshot`
700
+
701
+
```python
702
+
def get_bgp_peers_snapshot() -> SnapResult
703
+
```
704
+
705
+
Get BGP peers information for Legacy Routing Engine as a snapshot.
706
+
707
+
__Returns__
708
+
709
+
710
+
`SnapResult`: Object of [`SnapResult`](/panos/docs/panos-upgrade-assurance/api/utils#class-snapresult) class representing the result of the BGP peers snapshot operation.
711
+
712
+
### `CheckFirewall.get_license_snapshot`
713
+
714
+
```python
715
+
def get_license_snapshot() -> SnapResult
716
+
```
717
+
718
+
Get license information as a snapshot.
719
+
720
+
__Returns__
721
+
722
+
723
+
`SnapResult`: Object of [`SnapResult`](/panos/docs/panos-upgrade-assurance/api/utils#class-snapresult) class representing the result of the license snapshot operation.
724
+
725
+
### `CheckFirewall.get_arp_table_snapshot`
726
+
727
+
```python
728
+
def get_arp_table_snapshot() -> SnapResult
729
+
```
730
+
731
+
Get ARP table information as a snapshot.
732
+
733
+
__Returns__
734
+
735
+
736
+
`SnapResult`: Object of [`SnapResult`](/panos/docs/panos-upgrade-assurance/api/utils#class-snapresult) class representing the result of the ARP table snapshot operation.
To keep the standard of all snapshots represented as a dictionary, content version is also returned as a dictionary in the following format:
685
747
686
748
```python showLineNumbers
687
749
{
688
750
'version': 'xxxx-yyyy'
689
751
}
690
752
```
691
753
692
-
### `CheckFirewall.get_ip_sec_tunnels`
754
+
__Returns__
755
+
756
+
757
+
`SnapResult`: Object of [`SnapResult`](/panos/docs/panos-upgrade-assurance/api/utils#class-snapresult) class representing the result of the content DB version snapshot operation.
758
+
759
+
### `CheckFirewall.get_session_stats_snapshot`
693
760
694
761
```python
695
-
defget_ip_sec_tunnels() ->Dict[str, dict]
762
+
defget_session_stats_snapshot() ->SnapResult
696
763
```
697
764
698
-
Extract information about IPSEC tunnels fromall tunnel data retrieved from a device.
765
+
Get session statistics as a snapshot.
699
766
700
767
__Returns__
701
768
702
769
703
-
`dict`: Currently configured IPSEC tunnels. The returned value is similar to the example below. It can differ though depending on the version of PanOS:
770
+
`SnapResult`: Object of [`SnapResult`](/panos/docs/panos-upgrade-assurance/api/utils#class-snapresult) class representing the result of the session statistics snapshot operation.
771
+
772
+
### `CheckFirewall.get_ip_sec_tunnels_snapshot`
773
+
774
+
```python
775
+
def get_ip_sec_tunnels_snapshot() -> SnapResult
776
+
```
777
+
778
+
Get IPSec tunnels information as a snapshot.
779
+
780
+
Currently configured IPSEC tunnels. The returned snapshot value is similar to the example below. It can differ though depending on the version of PanOS:
704
781
705
782
```python showLineNumbers title="Example"
706
783
{
@@ -719,25 +796,90 @@ __Returns__
719
796
}
720
797
```
721
798
722
-
### `CheckFirewall.get_global_jumbo_frame`
799
+
__Returns__
800
+
801
+
802
+
`SnapResult`: Object of [`SnapResult`](/panos/docs/panos-upgrade-assurance/api/utils#class-snapresult) class representing the result of the IPSec tunnels snapshot operation.
803
+
804
+
### `CheckFirewall.get_fib_snapshot`
723
805
724
806
```python
725
-
defget_global_jumbo_frame() ->Dict[str, bool]
807
+
defget_fib_snapshot() ->SnapResult
726
808
```
727
809
728
-
Get whether global jumbo frame configuration issetornot.
810
+
Get FIB routes information for Legacy Routing Engine as a snapshot.
729
811
730
812
__Returns__
731
813
732
814
733
-
`dict`: The global jumbo frame configuration.
815
+
`SnapResult`: Object of [`SnapResult`](/panos/docs/panos-upgrade-assurance/api/utils#class-snapresult) class representing the result of the FIB routes snapshot operation.
Get global jumbo frame configuration as a snapshot.
824
+
825
+
The global jumbo frame configuration. The returned snapshot value is similar to the example below.
734
826
735
827
```python showLineNumbers title="Example"
736
828
{
737
829
'mode': True
738
830
}
739
831
```
740
832
833
+
__Returns__
834
+
835
+
836
+
`SnapResult`: Object of [`SnapResult`](/panos/docs/panos-upgrade-assurance/api/utils#class-snapresult) class representing the result of the global jumbo frame snapshot operation.
837
+
838
+
### `CheckFirewall.get_interfaces_mtu_snapshot`
839
+
840
+
```python
841
+
def get_interfaces_mtu_snapshot(
842
+
include_subinterfaces: bool=False) -> SnapResult
843
+
```
844
+
845
+
Get interfaces MTU information as a snapshot.
846
+
847
+
__Parameters__
848
+
849
+
850
+
- __include_subinterfaces__ (`bool, optional`): (defaults to False) Whether to include sub-interfaces in the snapshot.
851
+
852
+
__Returns__
853
+
854
+
855
+
`SnapResult`: Object of [`SnapResult`](/panos/docs/panos-upgrade-assurance/api/utils#class-snapresult) class representing the result of the interfaces MTU snapshot operation.
856
+
857
+
### `CheckFirewall.get_are_routes_snapshot`
858
+
859
+
```python
860
+
def get_are_routes_snapshot() -> SnapResult
861
+
```
862
+
863
+
Get ARE routes information as a snapshot.
864
+
865
+
__Returns__
866
+
867
+
868
+
`SnapResult`: Object of [`SnapResult`](/panos/docs/panos-upgrade-assurance/api/utils#class-snapresult) class representing the result of the ARE routes snapshot operation.
869
+
870
+
### `CheckFirewall.get_are_fib_snapshot`
871
+
872
+
```python
873
+
def get_are_fib_snapshot() -> SnapResult
874
+
```
875
+
876
+
Get AREFIB routes information as a snapshot.
877
+
878
+
__Returns__
879
+
880
+
881
+
`SnapResult`: Object of [`SnapResult`](/panos/docs/panos-upgrade-assurance/api/utils#class-snapresult) class representing the result of the ARE FIB routes snapshot operation.
882
+
741
883
### `CheckFirewall.run_readiness_checks`
742
884
743
885
```python
@@ -794,7 +936,7 @@ __Raises__
794
936
__Returns__
795
937
796
938
797
-
`dict`: The results of the executed snapshots.
939
+
`dict`: The results of the executed snapshots, including status, reason, and snapshot data as dictionary values.
0 commit comments