Skip to content

Commit

Permalink
default_config_db.json for DPB system test (sonic-net#79)
Browse files Browse the repository at this point in the history
* 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 <vapatil@linkedin.com>
  • Loading branch information
vasant17 and Vasant Patil authored Jun 26, 2020
1 parent b86b7ff commit 2a2705a
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 0 deletions.
1 change: 1 addition & 0 deletions platform/vs/docker-sonic-vs/Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ COPY ["files/configdb-load.sh", "/usr/bin/"]
COPY ["files/arp_update", "/usr/bin/"]
COPY ["files/buffers_config.j2", "files/qos_config.j2", "/usr/share/sonic/templates/"]
COPY ["files/sonic_version.yml", "/etc/sonic/"]
COPY ["port_breakout_config_db.json", "/etc/sonic/"]
COPY ["database_config.json", "/etc/default/sonic-db/"]
COPY ["platform.json", "/usr/share/sonic/device/x86_64-kvm_x86_64-r0/"]
COPY ["hwsku.json", "/usr/share/sonic/device/x86_64-kvm_x86_64-r0/Force10-S6000/"]
Expand Down
61 changes: 61 additions & 0 deletions platform/vs/docker-sonic-vs/port_breakout_config_db.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
{
"ACL_TABLE": {
"DPB_ACL_TBL_1": {
"policy_desc": "ACL table to test DPB/ACL dependency",
"ports": [
"Ethernet0",
"Ethernet1",
"Ethernet2",
"Ethernet3",
"Ethernet4",
"Ethernet5"
],
"type": "L3"
},
"DPB_ACL_TBL_2": {
"policy_desc": "ACL table to test DPB/ACL dependency",
"ports": [
"Ethernet0",
"Ethernet1",
"Ethernet2",
"Ethernet3",
"Ethernet6",
"Ethernet7"
],
"type": "L3"
}
},
"INTERFACE": {
"Ethernet8": {},
"Ethernet8|10.0.0.8/31": {
"family": "IPv4",
"scope": "global"
}
},
"VLAN_MEMBER": {
"Vlan100|Ethernet0": {
"tagging_mode": "untagged"
},
"Vlan100|Ethernet1": {
"tagging_mode": "untagged"
},
"Vlan100|Ethernet2": {
"tagging_mode": "untagged"
},
"Vlan100|Ethernet3": {
"tagging_mode": "untagged"
},
"Vlan100|Ethernet4": {
"tagging_mode": "untagged"
},
"Vlan100|Ethernet5": {
"tagging_mode": "untagged"
},
"Vlan101|Ethernet6": {
"tagging_mode": "tagged"
},
"Vlan101|Ethernet7": {
"tagging_mode": "tagged"
}
}
}

0 comments on commit 2a2705a

Please sign in to comment.