|
|
|
@ -2,12 +2,15 @@
|
|
|
|
|
|
|
|
|
|
from birdvisu.annotations import AnnotatedTopology, AnnotatorID
|
|
|
|
|
from birdvisu.annotations.analysis import TopologyDifference, ShortestPathTree
|
|
|
|
|
from birdvisu.ospfsock import BirdSocketConnection
|
|
|
|
|
from birdvisu.providers import BirdSocketTopologyProvider, OspfFileTopologyProvider, OspfFileParseError
|
|
|
|
|
from birdvisu.topo_v3 import TopologyV3, VertexID
|
|
|
|
|
|
|
|
|
|
from PySide6 import QtCore, QtGui, QtWidgets
|
|
|
|
|
from collections import defaultdict
|
|
|
|
|
from enum import Enum, auto
|
|
|
|
|
from ipaddress import IPv4Address
|
|
|
|
|
from PySide6 import QtCore, QtGui, QtWidgets
|
|
|
|
|
from PySide6.QtCore import Slot
|
|
|
|
|
from random import randint
|
|
|
|
|
import sys
|
|
|
|
|
|
|
|
|
@ -33,10 +36,6 @@ class MyGraphicsRectItem(QtWidgets.QGraphicsRectItem):
|
|
|
|
|
self.shapes[e].setLine(qlinef)
|
|
|
|
|
return super().mouseMoveEvent(evt)
|
|
|
|
|
|
|
|
|
|
from enum import Enum, auto
|
|
|
|
|
from PySide6.QtCore import Slot
|
|
|
|
|
from birdvisu.ospfsock import BirdSocketConnection
|
|
|
|
|
|
|
|
|
|
class BirdTopologyLoader(QtWidgets.QDialog):
|
|
|
|
|
def __init__(self, *a, **kwa):
|
|
|
|
|
super().__init__(*a, **kwa)
|
|
|
|
|