Skip to content

Commit

Permalink
Introducing port_breakout_config_db.json, which will be used when you…
Browse files Browse the repository at this point in the history
… breakout port with -l option (#6034)

Signed-off-by: Vasant <vapatil@linkedin.com>
  • Loading branch information
vasant17 authored Nov 25, 2020
1 parent 7f4ab8f commit 8f0452d
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 @@ -153,6 +153,7 @@ COPY ["files/configdb-load.sh", "/usr/bin/"]
COPY ["files/arp_update", "/usr/bin/"]
COPY ["files/buffers_config.j2", "files/qos_config.j2", "files/arp_update_vars.j2", "files/copp_cfg.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 ["hostname.j2", "/usr/share/sonic/templates/"]
COPY ["default_chassis_cfg.json", "/etc/default/sonic-db/"]
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 8f0452d

Please sign in to comment.