summaryrefslogtreecommitdiff
path: root/roles/uvok_bird/templates
diff options
context:
space:
mode:
authoruvok cheetah2024-04-21 17:15:49 +0200
committeruvok cheetah2024-04-21 17:15:49 +0200
commitc02e624bfee6279241317da3dd863815d49a5506 (patch)
treeb737b06432c5d5312bf34a690412a82186a43314 /roles/uvok_bird/templates
parented76c7f9e2508d9d9bacd159fe008b623e3499b8 (diff)
bgp: Add clearnet defines
Diffstat (limited to 'roles/uvok_bird/templates')
-rw-r--r--roles/uvok_bird/templates/clear_defines.conf.j226
1 files changed, 26 insertions, 0 deletions
diff --git a/roles/uvok_bird/templates/clear_defines.conf.j2 b/roles/uvok_bird/templates/clear_defines.conf.j2
new file mode 100644
index 0000000..40b6bca
--- /dev/null
+++ b/roles/uvok_bird/templates/clear_defines.conf.j2
@@ -0,0 +1,26 @@
+# {{ ansible_managed }}
+
+define CLEARNET_ASN = {{ uvok_bird_opts.clear_as }};
+
+# community values
+define INFO_PEER = 100;
+define INFO_IXP_RS = 101;
+define INFO_TRANSIT = 102;
+
+define KIND_DIRECT = 1;
+define KIND_TUNNEL = 2;
+
+define LC_IXP_ID = 1;
+define LC_PEER_ASN = 2;
+define LC_INFO = 3;
+# connection kind
+define LC_KIND = 4;
+# filter kind
+define LC_FILTERED = 5;
+
+define FILTER_BOGON_ASN = 200;
+define FILTER_BOGON_PREFIX = 201;
+define FILTER_PROBLEM_PREFIX = 202;
+define FILTER_LONG_ASPATH = 203;
+define FILTER_SMALL_V6_PREFIX = 204;
+define FILTER_ROA_RPKI = 205;