Commit Graph

115 Commits (5f8ee9be8448d92c269ad91fe84eacaebcaf275e)
 

Author SHA1 Message Date
LEdoian 18b695462d Remove a setter for a frozen dataclass
You cannot set that anyway.
1 year ago
LEdoian a47f3849dd Rename ExternalRouter to ExtraAreaRouter
That is what 'xrouter' in ospffile really means. IIRC OSPF does not
represent (AS-)external ptp links differently.
1 year ago
LEdoian a0ae4abfc7 Fix a few mistakes
thanks mypy
1 year ago
LEdoian d17c8c4585 Guard against bad edges being added to topology 1 year ago
LEdoian b6711dd32e Add a few clarifications
The clarifications sometimes are about change that will come in a future
commit, sorry for that. (But the order of commits on this branch is
broken anyway…)
1 year ago
LEdoian 6a912ec51d Fix a few typos in annotations/__init__.py
Found using mypy.
1 year ago
LEdoian 53098c4b41 Fix exception message 1 year ago
LEdoian e80a4e5424 Reimplement TopologyProvider core
At this moment it no actual providers are present, but the parsing of
ospffile is the bigger part of providing topologies.

Maybe this file is not the good place for that code.
1 year ago
LEdoian 460738b84f Implement the two types of costs in TopologyV3 1 year ago
LEdoian 2ae6c5a44b Reimplement annotators using classes 1 year ago
LEdoian 21dbc83ff5 Add a PoC of moving vertices in the visualisation
This implementation is really barebones, mostly-broken (each vertex can
only remember one line), but demonstrates that implementing moving is
going to be quite simple.
1 year ago
LEdoian 610198ea6b Add topology v3
This is a re-implemented topology, which should be more compatible with
OSPF's idea of a network system.
1 year ago
LEdoian ac3508727d Unify the two READMEs 1 year ago
LEdoian f9f6804f30 Merge remote-tracking branch 'gitea/docs' 1 year ago
LEdoian 765a1944c3 Merge remote-tracking branch 'gitea/toolchain_setup' 1 year ago
LEdoian 682a3e4be2 Reference: Nicer layout.
Layouting using random.random is not really great, unsurprisingly.
1 year ago
LEdoian ef39d1a9a5 Drop the symlink in snippets
Since the project can now be installed with pip editable install, it is
now in sys.path and therefore installable out-of-box
1 year ago
LEdoian b8fc724070 Add a readme with really basic info.
I do not expect the readme to contain much, it will mostly link to the
documentation, which should become really complete.
1 year ago
LEdoian 02b459ad55 Ensure, that sphinx works
This is a trivial intro message, just to make sure docs can be written
and built.

May serve as a reference commit on how to add new pages to
documentation.
1 year ago
LEdoian d62007c2c5 We will use autodoc
… one day, hopefully :-)
1 year ago
LEdoian be03b7fb51 Graphviz: Allow specifying layout engine on cmdline
It's better for demonstration purposes.
1 year ago
LEdoian e95ca088a5 ospfsock: Wait for the socket answer
The error handling is horrible though.
1 year ago
LEdoian cafdd3cd07 Merge branch 'socket_api' 1 year ago
LEdoian 159c122f67 Use the new TopoProvider in poor_mans_visualisation.py 1 year ago
LEdoian 333d415b6c Add a few types to make mypy happier 1 year ago
LEdoian 4b9276621d Fix a few typos 1 year ago
LEdoian e9ff79c57f Implement definitive (?) reading from BIRD socket 1 year ago
LEdoian 6e70500ded Ignore Python virtualenvs 2 years ago
LEdoian 1b0bc3e032 Init sphinx
Very basic, but hopefully workable. We mainly need something to put the
docs into, the exact solution does not matter much now.
2 years ago
LEdoian 52050338d6 More text in README 2 years ago
LEdoian 927bc8857d Initial version of packaging
This is only support "code", the real code has not been migrated yet.
Also, the README is quite lacking in content.
2 years ago
LEdoian 5cc5685ae3 [WIP] Early code for handling BIRD's control socket. 2 years ago
LEdoian 822fc1c507 Add note about supported OSPFv3 2 years ago
LEdoian 6f3286be4f Add tooltips to all nodes
When labels end up too close to each other, it is hard to read them,
this helps.
2 years ago
LEdoian fe5ff025f5 OSPF provider: quick ugly hack with various metrics
This does not really make sense. But I want this to run, fixes will
follow :-)
2 years ago
LEdoian 6c91be573e Fix positioning of qgritems 2 years ago
LEdoian 999f6988cb Poor man's visualisation: +x 2 years ago
LEdoian 6c75c7e1cd Poor man's visualisation: cope with no BIRD client. 2 years ago
LEdoian 58a33c5f19 Remove stray prints 2 years ago
LEdoian 561c39e052 Fix more bugs
Now it does something.
2 years ago
LEdoian a759cdfd93 Add PoC visualisation [WIP]
It almost works… meaning it manages to segfault.
2 years ago
LEdoian b49b6a7ad9 Fix several bugs 2 years ago
LEdoian 105f00705c Add basic / prototype annotators 2 years ago
LEdoian e60413bdf1 Add TopologyProviders for ospffile format 2 years ago
LEdoian c13192316b Move maps_new to a new folder
We are going to put TopologyProviders in maps_new.providers, so we need
to be able to import that.
2 years ago
LEdoian 279dea74e6 Add a silly quote to design_notes
… because why not and it felt appropriate. (And I am worried it will be
appropriate when somebody actually uses the code from
birdvisu/maps_new.py)
2 years ago
LEdoian 367bd82a08 Add an improved version of maps
Object oriented now, I hope it will be much simpler to use. Also fancy
design with annotators.

Keeping the old maps for now, since this is not tested at all. When the
snippet gets updated to use this, this will get renamed to maps.py
2 years ago
LEdoian c500a97fa6 A simple test of using QGraphicsScene
I use this mainly for reference, which Q-class is in which module.
2 years ago
LEdoian 2ddce6e089 Add list of known bugs 2 years ago
LEdoian dcb774f377 Add layout to the reference file 2 years ago