Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VXLAN config and show utilities #870

Merged
merged 20 commits into from
Dec 19, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'master' into evpn_vxlan
srj102 authored Dec 16, 2020

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 86779ecb96b73551fd3915aa77f28a5b347afdfe
3 changes: 2 additions & 1 deletion scripts/fast-reboot
Original file line number Diff line number Diff line change
@@ -247,8 +247,9 @@ function backup_database()
for _, k in ipairs(redis.call('keys', '*')) do
if not string.match(k, 'FDB_TABLE|') and not string.match(k, 'WARM_RESTART_TABLE|') \
and not string.match(k, 'MIRROR_SESSION_TABLE|') \
and not string.match(k, 'WARM_RESTART_ENABLE_TABLE|') \
and not string.match(k, 'VXLAN_TUNNEL_TABLE|') \
and not string.match(k, 'WARM_RESTART_ENABLE_TABLE|') then
and not string.match(k, 'BUFFER_MAX_PARAM_TABLE|') then
redis.call('del', k)
end
end
46 changes: 46 additions & 0 deletions tests/mock_tables/config_db.json
Original file line number Diff line number Diff line change
@@ -1354,5 +1354,51 @@
"VXLAN_TUNNEL_MAP|vtep1|map_200_Vlan200": {
"vni" : "200",
"vlan": "Vlan200"
},
"BUFFER_POOL|egress_lossless_pool": {
"mode": "dynamic",
"size": "13945824",
"type": "egress"
},
"BUFFER_POOL|egress_lossy_pool": {
"mode": "dynamic",
"type": "egress"
},
"BUFFER_POOL|ingress_lossless_pool": {
"mode": "dynamic",
"type": "ingress"
},
"BUFFER_POOL|ingress_lossy_pool": {
"mode": "dynamic",
"type": "ingress"
},
"BUFFER_PROFILE|ingress_lossy_profile": {
"dynamic_th": "3",
"pool": "[BUFFER_POOL|ingress_lossy_pool]",
"size": "0"
},
"BUFFER_PROFILE|headroom_profile": {
"dynamic_th": "0",
"pool": "[BUFFER_POOL|ingress_lossless_pool]",
"xon": "18432",
"xoff": "32768",
"size": "51200"
},
"BUFFER_PROFILE|alpha_profile": {
"dynamic_th": "0",
"pool": "[BUFFER_POOL|ingress_lossless_pool]",
"headroom_type": "dynamic"
},
"BUFFER_PG|Ethernet0|3-4": {
"profile": "NULL"
},
"BUFFER_PG|Ethernet0|0": {
"profile": "[BUFFER_PROFILE|ingress_lossy_profile]"
},
"PORT_QOS_MAP|Ethernet0": {
"pfc_enable": "3,4"
},
"DEFAULT_LOSSLESS_BUFFER_PARAMETER|AZURE": {
"default_dynamic_th": "0"
}
}
32 changes: 32 additions & 0 deletions tests/mock_tables/state_db.json
Original file line number Diff line number Diff line change
@@ -345,5 +345,37 @@
"dst_ip": "25.25.25.27",
"tnl_src": "EVPN",
"operstatus": "down"
},
"BUFFER_POOL_TABLE|egress_lossless_pool": {
"mode": "dynamic",
"size": "13945824",
"type": "egress"
},
"BUFFER_POOL_TABLE|egress_lossy_pool": {
"mode": "dynamic",
"size": "4580864",
"type": "egress"
},
"BUFFER_POOL_TABLE|ingress_lossless_pool": {
"mode": "dynamic",
"size": "4580864",
"type": "ingress"
},
"BUFFER_POOL_TABLE|ingress_lossy_pool": {
"mode": "dynamic",
"size": "4580864",
"type": "ingress"
},
"BUFFER_PROFILE_TABLE|ingress_lossy_profile": {
"dynamic_th": "3",
"pool": "[BUFFER_POOL_TABLE|ingress_lossy_pool]",
"size": "0"
},
"BUFFER_PROFILE_TABLE|headroom_profile": {
"dynamic_th": "0",
"pool": "[BUFFER_POOL_TABLE|ingress_lossless_pool]",
"xon": "18432",
"xoff": "32768",
"size": "51200"
}
}
You are viewing a condensed version of this merge commit. You can view the full changes here.