Skip to content

Commit 2a2705a

Browse files
vasant17Vasant Patil
andauthored
default_config_db.json for DPB system test (sonic-net#79)
* default_config_db.json for DPB system test * Change name of default config file to be loaded after port breakout * Removing VLAN_INTERAFCE and VLAN tables from port_breakout_config_db.json Co-authored-by: Vasant Patil <[email protected]>
1 parent b86b7ff commit 2a2705a

2 files changed

Lines changed: 62 additions & 0 deletions

File tree

platform/vs/docker-sonic-vs/Dockerfile.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ COPY ["files/configdb-load.sh", "/usr/bin/"]
130130
COPY ["files/arp_update", "/usr/bin/"]
131131
COPY ["files/buffers_config.j2", "files/qos_config.j2", "/usr/share/sonic/templates/"]
132132
COPY ["files/sonic_version.yml", "/etc/sonic/"]
133+
COPY ["port_breakout_config_db.json", "/etc/sonic/"]
133134
COPY ["database_config.json", "/etc/default/sonic-db/"]
134135
COPY ["platform.json", "/usr/share/sonic/device/x86_64-kvm_x86_64-r0/"]
135136
COPY ["hwsku.json", "/usr/share/sonic/device/x86_64-kvm_x86_64-r0/Force10-S6000/"]
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
{
2+
"ACL_TABLE": {
3+
"DPB_ACL_TBL_1": {
4+
"policy_desc": "ACL table to test DPB/ACL dependency",
5+
"ports": [
6+
"Ethernet0",
7+
"Ethernet1",
8+
"Ethernet2",
9+
"Ethernet3",
10+
"Ethernet4",
11+
"Ethernet5"
12+
],
13+
"type": "L3"
14+
},
15+
"DPB_ACL_TBL_2": {
16+
"policy_desc": "ACL table to test DPB/ACL dependency",
17+
"ports": [
18+
"Ethernet0",
19+
"Ethernet1",
20+
"Ethernet2",
21+
"Ethernet3",
22+
"Ethernet6",
23+
"Ethernet7"
24+
],
25+
"type": "L3"
26+
}
27+
},
28+
"INTERFACE": {
29+
"Ethernet8": {},
30+
"Ethernet8|10.0.0.8/31": {
31+
"family": "IPv4",
32+
"scope": "global"
33+
}
34+
},
35+
"VLAN_MEMBER": {
36+
"Vlan100|Ethernet0": {
37+
"tagging_mode": "untagged"
38+
},
39+
"Vlan100|Ethernet1": {
40+
"tagging_mode": "untagged"
41+
},
42+
"Vlan100|Ethernet2": {
43+
"tagging_mode": "untagged"
44+
},
45+
"Vlan100|Ethernet3": {
46+
"tagging_mode": "untagged"
47+
},
48+
"Vlan100|Ethernet4": {
49+
"tagging_mode": "untagged"
50+
},
51+
"Vlan100|Ethernet5": {
52+
"tagging_mode": "untagged"
53+
},
54+
"Vlan101|Ethernet6": {
55+
"tagging_mode": "tagged"
56+
},
57+
"Vlan101|Ethernet7": {
58+
"tagging_mode": "tagged"
59+
}
60+
}
61+
}

0 commit comments

Comments
 (0)