Graham Paasch commited on
Commit
902f1f7
·
1 Parent(s): 9d156d8

Fix naming in network_model for validation

Browse files
Files changed (1) hide show
  1. infra/network_model.yaml +117 -48
infra/network_model.yaml CHANGED
@@ -1,20 +1,93 @@
1
- devices: []
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  intent:
3
- budget: null
4
  business_requirements:
5
- - High availability
6
- - Scalability
7
- constraints:
8
- - Budget conscious
9
- - Easy to maintain
10
- description: I need a network for a small retail store with guest WiFi, employee
11
- WiFi, POS systems, and security cameras. Budget is $5000.
12
- timeline: null
13
- name: network_I_need_a_network_for
14
  routing:
15
  areas:
16
- - Area 0
17
- protocol: OSPF
 
18
  services:
19
  - DHCP
20
  - DNS
@@ -22,43 +95,39 @@ services:
22
  subnets:
23
  - gateway: 10.0.10.1
24
  network: 10.0.10.0/24
25
- purpose: Management network
26
  vlan: 10
27
- - gateway: 10.0.20.1
28
- network: 10.0.20.0/24
29
- purpose: Employee WiFi network
30
- vlan: 20
31
- - gateway: 10.0.30.1
32
- network: 10.0.30.0/24
33
- purpose: Guest WiFi network
34
- vlan: 30
35
- - gateway: 10.0.40.1
36
- network: 10.0.40.0/24
37
- purpose: POS systems network
38
- vlan: 40
39
- - gateway: 10.0.50.1
40
- network: 10.0.50.0/24
41
- purpose: Security cameras network
42
- vlan: 50
 
 
 
 
 
 
 
 
 
 
 
 
43
  version: 1.0.0
44
  vlans:
45
  - id: 10
46
- name: Management
47
- purpose: Network management
48
  subnet: 10.0.10.0/24
49
- - id: 20
50
- name: Employee
51
- purpose: Employee WiFi
52
- subnet: 10.0.20.0/24
53
- - id: 30
54
- name: Guest
55
- purpose: Guest WiFi
56
- subnet: 10.0.30.0/24
57
- - id: 40
58
- name: POS
59
- purpose: Point of Sale systems
60
- subnet: 10.0.40.0/24
61
- - id: 50
62
- name: CCTV
63
- purpose: Security cameras
64
- subnet: 10.0.50.0/24
 
1
+ devices:
2
+ - configs: null
3
+ interfaces: []
4
+ location: HQ
5
+ mgmt_ip: 10.0.10.10
6
+ model: Cisco Catalyst 9300
7
+ name: core-sw-01
8
+ role: core
9
+ vendor: other
10
+ - configs: null
11
+ interfaces: []
12
+ location: HQ
13
+ mgmt_ip: 10.0.10.11
14
+ model: Cisco Catalyst 9300
15
+ name: core-sw-02
16
+ role: core
17
+ vendor: other
18
+ - configs: null
19
+ interfaces: []
20
+ location: Site1
21
+ mgmt_ip: 10.10.11.50
22
+ model: Cisco ISR 1100
23
+ name: site1-edge-wan
24
+ role: edge
25
+ vendor: cisco
26
+ - configs: null
27
+ interfaces: []
28
+ location: Site2
29
+ mgmt_ip: 10.10.12.50
30
+ model: Cisco ISR 1100
31
+ name: site2-edge-wan
32
+ role: edge
33
+ vendor: cisco
34
+ - configs: null
35
+ interfaces: []
36
+ location: Site3
37
+ mgmt_ip: 10.10.13.50
38
+ model: Cisco ISR 1100
39
+ name: site3-edge-wan
40
+ role: edge
41
+ vendor: cisco
42
+ - configs: null
43
+ interfaces: []
44
+ location: Site4
45
+ mgmt_ip: 10.10.14.50
46
+ model: Cisco ISR 1100
47
+ name: site4-edge-wan
48
+ role: edge
49
+ vendor: cisco
50
+ - configs: null
51
+ interfaces: []
52
+ location: Site5
53
+ mgmt_ip: 10.10.15.50
54
+ model: Cisco ISR 1100
55
+ name: site5-edge-wan
56
+ role: edge
57
+ vendor: cisco
58
+ - configs: null
59
+ interfaces: []
60
+ location: Site6
61
+ mgmt_ip: 10.10.16.50
62
+ model: Cisco ISR 1100
63
+ name: site6-edge-wan
64
+ role: edge
65
+ vendor: cisco
66
+ - configs: null
67
+ interfaces: []
68
+ location: Site7
69
+ mgmt_ip: 10.10.17.50
70
+ model: Cisco ISR 1100
71
+ name: site7-edge-wan
72
+ role: edge
73
+ vendor: cisco
74
  intent:
75
+ budget: Not specified
76
  business_requirements:
77
+ - Guest WiFi
78
+ - POS
79
+ - Cameras
80
+ - VPN to HQ
81
+ constraints: []
82
+ description: Design a 7-site retail network with guest WiFi, POS VLANs, cameras,
83
+ and secure VPN to HQ.
84
+ timeline: ASAP
85
+ name: network_Design_a_7-site_reta
86
  routing:
87
  areas:
88
+ - 0.0.0.0
89
+ process_id: 1
90
+ protocol: ospf
91
  services:
92
  - DHCP
93
  - DNS
 
95
  subnets:
96
  - gateway: 10.0.10.1
97
  network: 10.0.10.0/24
98
+ purpose: management
99
  vlan: 10
100
+ - gateway: 10.71.0.1
101
+ network: 10.71.0.0/24
102
+ purpose: site1-lan
103
+ vlan: 301
104
+ - gateway: 10.72.0.1
105
+ network: 10.72.0.0/24
106
+ purpose: site2-lan
107
+ vlan: 302
108
+ - gateway: 10.73.0.1
109
+ network: 10.73.0.0/24
110
+ purpose: site3-lan
111
+ vlan: 303
112
+ - gateway: 10.74.0.1
113
+ network: 10.74.0.0/24
114
+ purpose: site4-lan
115
+ vlan: 304
116
+ - gateway: 10.75.0.1
117
+ network: 10.75.0.0/24
118
+ purpose: site5-lan
119
+ vlan: 305
120
+ - gateway: 10.76.0.1
121
+ network: 10.76.0.0/24
122
+ purpose: site6-lan
123
+ vlan: 306
124
+ - gateway: 10.77.0.1
125
+ network: 10.77.0.0/24
126
+ purpose: site7-lan
127
+ vlan: 307
128
  version: 1.0.0
129
  vlans:
130
  - id: 10
131
+ name: management
132
+ purpose: management
133
  subnet: 10.0.10.0/24