summaryrefslogtreecommitdiffstats
path: root/tools/templates
diff options
context:
space:
mode:
Diffstat (limited to 'tools/templates')
-rw-r--r--tools/templates/csv3
-rw-r--r--tools/templates/csvwithheader4
-rw-r--r--tools/templates/default3
-rw-r--r--tools/templates/json10
4 files changed, 20 insertions, 0 deletions
diff --git a/tools/templates/csv b/tools/templates/csv
new file mode 100644
index 0000000..3b08945
--- /dev/null
+++ b/tools/templates/csv
@@ -0,0 +1,3 @@
+{{#roas}}
+{{prefix}}, {{length}}, {{maxlen}}, {{origin}}
+{{/roas}}
diff --git a/tools/templates/csvwithheader b/tools/templates/csvwithheader
new file mode 100644
index 0000000..01a92bc
--- /dev/null
+++ b/tools/templates/csvwithheader
@@ -0,0 +1,4 @@
+prefix, minlen, maxlen, asn
+{{#roas}}
+{{prefix}}, {{length}}, {{maxlen}}, {{origin}}
+{{/roas}}
diff --git a/tools/templates/default b/tools/templates/default
new file mode 100644
index 0000000..6fa86df
--- /dev/null
+++ b/tools/templates/default
@@ -0,0 +1,3 @@
+{{#roas}}
+{{prefix}}/{{length}}-{{maxlen}} AS {{origin}}
+{{/roas}}
diff --git a/tools/templates/json b/tools/templates/json
new file mode 100644
index 0000000..8b7adb9
--- /dev/null
+++ b/tools/templates/json
@@ -0,0 +1,10 @@
+[
+{{#roas}}
+ {
+ "prefix": "{{prefix}}",
+ "length": "{{length}}",
+ "maxlen": "{{maxlen}}",
+ "origin": "{{origin}}"
+ }{{^last}},{{/last}}
+{{/roas}}
+]