summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorsarthurdev <965089+sarthurdev@users.noreply.github.com>2025-11-28 15:43:07 +0100
committersarthurdev <965089+sarthurdev@users.noreply.github.com>2026-06-04 16:18:29 +0200
commitdffcc04dc143202b412a96ba60867d8509c57e1c (patch)
treecbff28ab76967fe436e9b0632fdd0b11b2e3cda3 /interface-definitions
parent88dfc8cd43521ae489900fb9746c56545140df54 (diff)
downloadvyos-1x-dffcc04dc143202b412a96ba60867d8509c57e1c.tar.gz
vyos-1x-dffcc04dc143202b412a96ba60867d8509c57e1c.zip
geoip: T5746: Add GeoIP ASN support
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/include/firewall/geoip.xml.i13
1 files changed, 13 insertions, 0 deletions
diff --git a/interface-definitions/include/firewall/geoip.xml.i b/interface-definitions/include/firewall/geoip.xml.i
index 09b2da663..55765e6c5 100644
--- a/interface-definitions/include/firewall/geoip.xml.i
+++ b/interface-definitions/include/firewall/geoip.xml.i
@@ -4,6 +4,19 @@
<help>GeoIP options - Data provided by DB-IP.com</help>
</properties>
<children>
+ <leafNode name="asn">
+ <properties>
+ <help>Autonomous system number</help>
+ <valueHelp>
+ <format>u32:1-4294967294</format>
+ <description>Autonomous system number</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-4294967294"/>
+ </constraint>
+ <multi />
+ </properties>
+ </leafNode>
<leafNode name="country-code">
<properties>
<help>GeoIP country code</help>