# ./sample.py
/root/./sample.py:13: FutureWarning: Passing a negative integer is deprecated in version 1.0 and will not be supported in future version. Instead, use None to not limit the column width.
pandas.set_option('display.max_colwidth', -1)
status: TRYINGTOASSIGN
.... no task information
status: CHECKINGSTATUS
.... no task information
status: TERMINATEDNORMALLY
.... 2021-08-28 16:06:12.908000+00:00 Deserializing objects of type 'org.batfish.datamodel.Configuration' from files 3 / 3.
Default snapshot is now set to mynetwork1_snapshot
status: TRYINGTOASSIGN
.... no task information
status: ASSIGNED
.... 2021-08-28 16:06:13.180000+00:00 Parse environment BGP tables.
status: TERMINATEDNORMALLY
.... 2021-08-28 16:06:13.180000+00:00 Parse environment BGP tables.
Successfully loaded 67 questions from remote
Successfully loaded 67 questions from remote
status: TRYINGTOASSIGN
.... no task information
status: TERMINATEDNORMALLY
.... 2021-08-28 16:06:13.603000+00:00 Begin job.
Node VRF Interface IP Mask Active
1 r1 default GigabitEthernet0/0 10.0.12.1 24 True
2 r1 default Loopback0 10.0.99.1 32 True
3 r2 default GigabitEthernet0/0 10.0.23.2 24 True
4 r2 default GigabitEthernet0/1 10.0.12.2 24 True
0 r2 default Loopback0 10.0.99.2 32 True
6 r3 default GigabitEthernet0/1 10.0.23.3 24 True
5 r3 default Loopback0 10.0.99.3 32 True
参考
今回利用したネットワーク機器のコンフィグは以下です。
R1.cfg
hostname R1
!
interface Loopback0
ip address 10.0.99.1 255.255.255.255
ip ospf network point-to-point
ip ospf 65000 area 0.0.0.0
!
interface GigabitEthernet0/0
ip address 10.0.12.1 255.255.255.0
ip ospf network broadcast
ip ospf 65000 area 0.0.0.0
no shutdown
!
router ospf 65000
router-id 10.0.99.1
!
end
R2.cfg
hostname R2
!
interface Loopback0
ip address 10.0.99.2 255.255.255.255
ip ospf network point-to-point
ip ospf 65000 area 0.0.0.0
!
interface GigabitEthernet0/0
ip address 10.0.23.2 255.255.255.0
ip ospf network broadcast
ip ospf 65000 area 0.0.0.0
no shutdown
!
interface GigabitEthernet0/1
ip address 10.0.12.2 255.255.255.0
ip ospf network broadcast
ip ospf 65000 area 0.0.0.0
no shutdown
!
router ospf 65000
router-id 10.0.99.2
!
end
R3.cfg
hostname R3
!
interface Loopback0
ip address 10.0.99.3 255.255.255.255
ip ospf network point-to-point
ip ospf 65000 area 0.0.0.0
!
interface GigabitEthernet0/1
ip address 10.0.23.3 255.255.255.0
ip ospf network broadcast
ip ospf 65000 area 0.0.0.0
no shutdown
!
router ospf 65000
router-id 10.0.99.3
!
end
コメント