summaryrefslogtreecommitdiff
path: root/roles/uvok_bird/templates
diff options
context:
space:
mode:
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;