Skip to content

Instantly share code, notes, and snippets.

View piotrsuchy's full-sized avatar
🌍

Piotr Suchy piotrsuchy

🌍
View GitHub Profile
#!/bin/bash
#
#
# This script monitors for rmac bridge entries that are
# missing a 'dst' entry of a vtep. When this occurs, traffic
# will not be forwarded to the correct VTEP and will be dropped.
# By default it look vxlan devices matching vxlan3 or vpc pattern
# matches. It can also take a specific device as an argument.
# There is also --fix-it and --delete-stale options to attempt
# to fix the missing entries by adding and removing dummy vteps