forked from INSRapperswil/CloudInf_restconf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
configuration.yaml
58 lines (52 loc) · 1.35 KB
/
configuration.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
devices:
- devicename: RT-4
ip_address: "10.3.255.104"
username: python
password: cisco
configuration:
- section: interface
leaf_url: interface
loopbacks:
- name: 1
ip: "192.168.4.1"
mask: "255.255.255.0"
- name: 2
ip: "4.4.4.4"
mask: "255.255.255.255"
- section: ip
leaf_url: ip
routes:
# ip-route-interface-forwarding-list
- prefix: "0.0.0.0"
mask: "0.0.0.0"
forward_list:
- fwd: "10.3.255.1"
- section: bgp
leaf_url: router/bgp=4 # required to specify own BGP ASN
id: 4
neighbors:
- id: "20.20.20.20"
remote_as: 20
ebgp_multihop:
max_hop: 2
update_source:
loopback: 2
networks:
- number: "192.168.4.0"
mask: "255.255.255.0"
- section: ospf
leaf_url: router/ospf=1 # required to specify own OSPF PID
id: 1
router_id: "4.4.4.4"
networks:
- ip: "4.4.4.4"
mask: "0.0.0.0"
area: 0
- ip: "10.3.255.0"
mask: "0.0.0.255"
area: 0
# - devicename: RT-X
# ip_address: "10.3.255.10X"
# username: python
# password: cisco
# configuration: ...