|
|
@ -1,21 +1,17 @@
|
|
|
|
#!/usr/bin/env python3
|
|
|
|
#!/usr/bin/env python3
|
|
|
|
|
|
|
|
|
|
|
|
import sys
|
|
|
|
|
|
|
|
from birdvisu.providers import BirdSocketTopologyProvider, OspfFileTopologyProvider, OspfFileParseError
|
|
|
|
|
|
|
|
ref_topo_file = 'reference.ospf'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
from birdvisu.topo_v3 import TopologyV3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
from birdvisu.topo_v3 import VertexID
|
|
|
|
|
|
|
|
from birdvisu.annotations import AnnotatedTopology, AnnotatorID
|
|
|
|
from birdvisu.annotations import AnnotatedTopology, AnnotatorID
|
|
|
|
from birdvisu.annotations.analysis import TopologyDifference, ShortestPathTree
|
|
|
|
from birdvisu.annotations.analysis import TopologyDifference, ShortestPathTree
|
|
|
|
from ipaddress import IPv4Address
|
|
|
|
from birdvisu.providers import BirdSocketTopologyProvider, OspfFileTopologyProvider, OspfFileParseError
|
|
|
|
|
|
|
|
from birdvisu.topo_v3 import TopologyV3, VertexID
|
|
|
|
|
|
|
|
|
|
|
|
from PySide6 import QtCore, QtGui, QtWidgets
|
|
|
|
from PySide6 import QtCore, QtGui, QtWidgets
|
|
|
|
app = QtWidgets.QApplication([])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
from random import randint
|
|
|
|
|
|
|
|
from collections import defaultdict
|
|
|
|
from collections import defaultdict
|
|
|
|
|
|
|
|
from ipaddress import IPv4Address
|
|
|
|
|
|
|
|
from random import randint
|
|
|
|
|
|
|
|
import sys
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app = QtWidgets.QApplication([])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class MyGraphicsRectItem(QtWidgets.QGraphicsRectItem):
|
|
|
|
class MyGraphicsRectItem(QtWidgets.QGraphicsRectItem):
|
|
|
|