add Chapter4

This commit is contained in:
2026-05-24 15:38:09 +03:00
parent 9e6f52bbca
commit 905b00af02
10 changed files with 297 additions and 145 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

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

Before

Width:  |  Height:  |  Size: 51 KiB

After

Width:  |  Height:  |  Size: 60 KiB

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

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 22 KiB

+78
View File
@@ -0,0 +1,78 @@
meta:
id: topology.yaml
name: topology.yaml
networks:
- name: NA
- name: NB
- name: NC
nodes:
- role: host
name: H1
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
gateway: null
index: 1
bridges: []
vlans: []
- role: host
name: H3
interfaces:
eth1:
ip: null
network: NA
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: []