You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+44-29Lines changed: 44 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,19 @@ Then run
11
11
sonic-confidb-utils generate
12
12
```
13
13
14
+
Following files and directories are expected to be in place:
15
+
16
+
1. The `/usr/share/sonic/device` directory holds all device specific information. `sonic-configdb-utils` needs to read `usr/share/sonic/device/<platform-identifier>/platform.json` to set and validate the ports' breakout configurations.
17
+
2. To retrieve the platform identifier and HWSKU the `/etc/sonic/sonic-environment` file is read which looks like this:
18
+
19
+
```bash
20
+
SONIC_VERSION=sonic-123
21
+
PLATFORM=x86_64-accton_as7726_32x-r0
22
+
HWSKU=Accton-AS7726-32X
23
+
DEVICE_TYPE=LeafRouter
24
+
ASIC_TYPE=broadcom
25
+
```
26
+
14
27
## Configuration Parameters
15
28
16
29
### bgp_ports
@@ -65,31 +78,6 @@ Result:
65
78
66
79
For each breakout also the correspondig ports entries are added.
67
80
68
-
### device_metadata
69
-
70
-
Example:
71
-
72
-
```yaml
73
-
device_metadata:
74
-
hwsku: Accton-AS7726-32X
75
-
mac: aa:aa:aa:aa:aa:aa
76
-
platform: x86_64-accton_as7726_32x-r0
77
-
```
78
-
79
-
Result:
80
-
81
-
```json
82
-
{
83
-
"DEVICE_METADATA": {
84
-
"localhost": {
85
-
"hwsku": "Accton-AS7726-32X",
86
-
"mac": "aa:aa:aa:aa:aa:aa",
87
-
"platform": "x86_64-accton_as7726_32x-r0"
88
-
}
89
-
}
90
-
}
91
-
```
92
-
93
81
### docker_routing_config_mode
94
82
95
83
Can be one of `separated`, `split`, `split-unified`, `unified`.
@@ -630,16 +618,17 @@ Result:
630
618
}
631
619
```
632
620
633
-
### vteps
621
+
### vtep
634
622
635
623
Example:
636
624
637
625
```yaml
638
626
loopback_address: 10.7.7.7
639
627
640
-
vteps:
641
-
- vni: 103999
642
-
vlan: Vlan3999
628
+
vtep:
629
+
vxlan_tunnel_maps:
630
+
- vni: 103999
631
+
vlan: Vlan3999
643
632
```
644
633
645
634
Result:
@@ -664,3 +653,29 @@ Result:
664
653
}
665
654
}
666
655
```
656
+
657
+
If only `VXLAN_EVPN_NVO` and `VXLAN_TUNNEL` are needed with no tunnel maps:
0 commit comments