1
0
mirror of https://github.com/nttgin/BGPalerter.git synced 2024-05-19 06:50:08 +00:00

added argument p and pf to generate complete prefix list from simple prefix list (#43)

* added argument p and pf to generate complete prefix list from simple prefix list
* updated documentation with -p and -pf arguments
This commit is contained in:
Massimo Candela
2019-10-27 13:39:54 +01:00
committed by GitHub
parent 4c196cb5c3
commit f33bd4b4e6
4 changed files with 51 additions and 15 deletions

View File

@@ -14,10 +14,12 @@ Below the list of possible parameters. **Remember to prepend them with a `--` in
| Parameter | Description | Expected format | Example | Required |
|---|---|---|---|---|
| -a | The AS number(s) you want to generate the list for | A comma-separated list of integers | 2914,3333 | Yes |
| -o | The YAML output file | A string ending in ".yml" | prefixes.yml | Yes
| -o | The YAML output file | A string ending in ".yml" | prefixes.yml | Yes |
| -a | The AS number(s) you want to generate the list for | A comma-separated list of integers | 2914,3333 | No (one among -a, -p, -pf is required) |
| -e | Prefixes to exclude from the list | A comma-separated list of prefixes | 165.254.255.0/24,192.147.168.0/24 | No |
| -i | Avoid monitoring delegated prefixes. If a more specific prefix is found and it results announced by an AS different from the one declared in -a, then set `ignore: true` and `ignoreMorespecifics: true` | Nothing | | No
| -p | Prefixes for which the list will be generated | A comma-separated list of prefixes | 165.254.255.0/24,192.147.168.0/24 | No (one among -a, -p, -pf is required) |
| -pf | A file containing the prefixes for which the list will be generated | A text file having a prefix for each line | prefixes.txt | No (one among -a, -p, -pf is required) |
## <a name="prefixes-fields"></a>Prefixes list fields