Content deleted Content added
how to add |
m →How to add information: actually, that should be a tab, not four spaces |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 5:
== How to add information ==
<syntaxhighlight lang="lua">
{
name = 'Entity name', -- required
id = 'entityid', -- required, must be unique
description = 'a description of the entity', -- required
reason = 'political', -- "political" or "technical" -- optional (default "political")
ipv4Ranges = { -- One or more IPv4 CIDR ranges -- optional
'1.2.3.0/24',
'4.5.6.0/24',
},
ipv6Ranges = { -- One or more IPv6 CIDR ranges -- optional
'2001:db8::ff00:0:0/96',
'2001:db8::ff05:0:0/96',
},
notes = 'Notes about the entity or the IP ranges', -- optional
},
</syntaxhighlight>
== Validation errors ==
|