Enhance Docker setup and scripts by adding default environment variables for BGP configuration, improving the update process with safe and quick update options, and implementing testing capabilities in the prefix loader script. Update start.sh to include permission checks and network connectivity validation during ExaBGP startup.
Build and Push Docker Image / build (push) Successful in 3m18s

This commit is contained in:
2025-07-11 17:20:30 +07:00
parent d795a9ec7d
commit 699cb4b5ba
5 changed files with 184 additions and 3 deletions
+7
View File
@@ -123,6 +123,13 @@ def withdraw_prefixes(prefixes: Set[str]):
def main():
"""Основная функция"""
# Проверка тестового режима
if len(sys.argv) > 1 and sys.argv[1] == '--test':
print("Testing prefix loader...")
prefixes = load_all_prefixes()
print(f"Found {len(prefixes)} prefixes: {list(prefixes)}")
return
log_message("Starting prefix loader...")
# Создание директории для логов