Introducing port_breakout_config_db.json, which will be used when you breakout port with -l option (#6034)

Signed-off-by: Vasant <vapatil@linkedin.com>
This commit is contained in:
Vasant Patil 2020-11-25 12:47:50 -08:00 committed by GitHub
parent 7f4ab8fbd8
commit 8f0452d011
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 62 additions and 0 deletions

View File

@ -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/"]

View File

@ -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"
}
}
}