1
0
Fork 1
mirror of https://github.com/thatmattlove/hyperglass.git synced 2026-04-17 13:28:27 +00:00

Update huawei.py

This commit is contained in:
Carlos Santos 2025-09-13 02:35:17 -03:00 committed by GitHub
parent 0b1f7f2a5e
commit 840e916216
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -177,13 +177,13 @@ HuaweiBGPRouteTable = BuiltinDirective(
command="",
),
# Regra DENY ASN PREFIXO
RuleWithIPv4(
condition="{ASN_IPv4}",
ge="${mask_IPv4}",
le="32",
action="deny",
command="",
),
#RuleWithIPv4(
# condition="x.x.x.x/xx",
# ge="xx",
# le="32",
# action="deny",
# command="",
#),
RuleWithIPv4(
condition="0.0.0.0/0",
@ -233,13 +233,13 @@ HuaweiBGPRouteTable = BuiltinDirective(
command="",
),
# REGRA DENY ASN PREFIXO
RuleWithIPv6(
condition="${ASN_IPv6}",
ge="${mask_IPv6}",
le="128",
action="deny",
command="",
),
#RuleWithIPv6(
# condition="x.x.x.x/xx",
# ge="XX",
# le="128",
# action="deny",
# command="",
#),
RuleWithIPv6(
condition="::/0",
ge="10",