This commit is contained in:
2026-05-25 01:47:25 +03:00
parent d10d6d1352
commit 2661ef1437
11 changed files with 144 additions and 169 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 69 KiB

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 78 KiB

After

Width:  |  Height:  |  Size: 64 KiB

+6 -5
View File
@@ -1,8 +1,9 @@
сетевая топология -- "табличное представление (.csv)": ручное задание
"табличное представление (.csv)" -- внутренняя модель (Python) : преобразование кодом
внутренняя модель (Python) -- "диаграмма (.svg)" : преобразование кодом (py-d2)
внутренняя модель (Python) -- "описание для Netloom (.yaml)" : преобразование кодом
"описание для Netloom (.yaml)" -- средство развёртывания сетевой топологии (Netloom) {
сетевая топология --> "табличное представление (.csv)": ручное задание
"табличное представление (.csv)" --> внутренняя модель (Python) : разбор
внутренняя модель (Python) --> "описание диаграммы (.d2)" : визуализация
"описание диаграммы (.d2)" --> "диаграмма (.svg)" : использование D2
внутренняя модель (Python) --> "описание для Netloom (.yaml)" : экспорт
"описание для Netloom (.yaml)" --> средство развёртывания сетевой топологии (Netloom) {
style.stroke-dash: 5
}
средство развёртывания сетевой топологии (Netloom).style.stroke-dash: 5
Binary file not shown.

Before

Width:  |  Height:  |  Size: 60 KiB

After

Width:  |  Height:  |  Size: 62 KiB

+87 -86
View File
File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 24 KiB

+7 -59
View File
@@ -2,77 +2,25 @@ meta:
id: topology.yaml
name: topology.yaml
networks:
- name: NA
- name: NB
- name: NC
- name: A
nodes:
- role: host
name: H1
name: PC1
interfaces:
eth1:
ip: null
network: NA
gateway: null
index: 1
eth2:
ip: null
network: NB
gateway: null
index: 2
bridges: []
vlans: []
- role: host
name: H2
interfaces:
eth1:
ip: null
network: NA
ip: 10.0.0.1/24
network: A
gateway: null
index: 1
bridges: []
vlans: []
- role: host
name: H3
name: PC2
interfaces:
eth1:
ip: null
network: NA
ip: 10.0.0.2/24
network: A
gateway: null
index: 1
bridges: []
vlans: []
- role: host
name: H4
interfaces:
eth1:
ip: null
network: NB
gateway: null
index: 1
bridges: []
vlans: []
- role: host
name: H5
interfaces:
eth1:
ip: null
network: NC
gateway: null
index: 1
bridges: []
vlans: []
- role: host
name: H6
interfaces:
eth1:
ip: null
network: null
gateway: null
index: 1
eth2:
ip: null
network: NC
gateway: null
index: 2
bridges: []
vlans: []