From 888274bcdbac213e2bd6cf632a0ac7fb5ee30792 Mon Sep 17 00:00:00 2001 From: Brett Bender Date: Thu, 28 Nov 2024 12:01:47 -0600 Subject: [PATCH] chore: Format repo --- data/as-block/AS1-AS4294967294 | 2 +- data/as-block/AS4266030000-AS4266033999 | 2 +- data/inet6num/::_0 | 26 ++++++++++++------------- data/inet6num/fd00::_8 | 20 +++++++++---------- data/inetnum/0.0.0.0_0 | 2 +- data/inetnum/172.24.0.0_14 | 2 +- data/inetnum/172.24.0.0_16 | 2 +- data/inetnum/172.24.0.0_18 | 2 +- data/inetnum/172.24.0.0_24 | 2 +- data/inetnum/172.24.64.0_18 | 2 +- data/inetnum/172.25.0.0_16 | 2 +- data/inetnum/172.25.0.0_24 | 2 +- data/inetnum/172.26.0.0_16 | 2 +- data/inetnum/172.26.0.0_24 | 2 +- data/inetnum/172.27.0.0_16 | 2 +- data/inetnum/172.27.0.0_24 | 2 +- data/mntner/NX3-MNT | 2 +- data/registry/NX3 | 8 ++++---- data/schema/AS-BLOCK-SCHEMA | 2 +- data/schema/AS-SET-SCHEMA | 2 +- data/schema/AUT-NUM-SCHEMA | 2 +- data/schema/DNS-SCHEMA | 2 +- data/schema/INET6NUM-SCHEMA | 2 +- data/schema/INETNUM-SCHEMA | 2 +- data/schema/KEY-CERT-SCHEMA | 2 +- data/schema/MNTNER-SCHEMA | 2 +- data/schema/ORGANISATION-SCHEMA | 2 +- data/schema/PERSON-SCHEMA | 2 +- data/schema/REGISTRY-SCHEMA | 2 +- data/schema/ROLE-SCHEMA | 2 +- data/schema/ROUTE-SCHEMA | 2 +- data/schema/ROUTE-SET-SCHEMA | 2 +- data/schema/ROUTE6-SCHEMA | 2 +- data/schema/SCHEMA-SCHEMA | 11 +---------- 34 files changed, 58 insertions(+), 67 deletions(-) diff --git a/data/as-block/AS1-AS4294967294 b/data/as-block/AS1-AS4294967294 index cd4b1d3..64feefd 100644 --- a/data/as-block/AS1-AS4294967294 +++ b/data/as-block/AS1-AS4294967294 @@ -4,4 +4,4 @@ remarks: This block is reserved to delegate access for sub-allocation remarks: You can not freely register any ASN in this block. mnt-by: NX3-MNT policy: closed -source: NX3 \ No newline at end of file +source: NX3 diff --git a/data/as-block/AS4266030000-AS4266033999 b/data/as-block/AS4266030000-AS4266033999 index 53b0394..c3c65ea 100644 --- a/data/as-block/AS4266030000-AS4266033999 +++ b/data/as-block/AS4266030000-AS4266033999 @@ -4,4 +4,4 @@ remarks: This block is reserved for end-user allocation. remarks: You can freely register any ASN in this block. mnt-by: NX3-MNT policy: open -source: NX3 \ No newline at end of file +source: NX3 diff --git a/data/inet6num/::_0 b/data/inet6num/::_0 index 9236f5e..66cb00a 100644 --- a/data/inet6num/::_0 +++ b/data/inet6num/::_0 @@ -1,13 +1,13 @@ -inet6num: 0000:0000:0000:0000:0000:0000:0000:0000 - ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff -netname: IANA-RESERVED -descr: IANA Reserved Space -remarks: This space is reserved by RFC4291. -remarks: -remarks: Because portions are not routable inside nx3 -remarks: reservations are not allowed at this level. -remarks: -remarks: Open policy can be found inside fd00::/8 -mnt-by: NX3-MNT -policy: reserved -cidr: ::/0 -source: NX3 \ No newline at end of file +inet6num: 0000:0000:0000:0000:0000:0000:0000:0000 - ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff +netname: IANA-RESERVED +descr: IANA Reserved Space +remarks: This space is reserved by RFC4291. +remarks: +remarks: Because portions are not routable inside nx3 +remarks: reservations are not allowed at this level. +remarks: +remarks: Open policy can be found inside fd00::/8 +mnt-by: NX3-MNT +policy: reserved +cidr: ::/0 +source: NX3 diff --git a/data/inet6num/fd00::_8 b/data/inet6num/fd00::_8 index 52404a8..871fad2 100644 --- a/data/inet6num/fd00::_8 +++ b/data/inet6num/fd00::_8 @@ -1,10 +1,10 @@ -inet6num: fd00:0000:0000:0000:0000:0000:0000:0000 - fdff:ffff:ffff:ffff:ffff:ffff:ffff:ffff -cidr: fd00::/8 -netname: ROOT-NX3-ULA -descr: NX3 ULA Address Space -remarks: Only /48 prefixes may be allocated out of this range. -status: ALLOCATED -policy: open -org: ORG-NX3 -mnt-by: NX3-MNT -source: NX3 \ No newline at end of file +inet6num: fd00:0000:0000:0000:0000:0000:0000:0000 - fdff:ffff:ffff:ffff:ffff:ffff:ffff:ffff +cidr: fd00::/8 +netname: ROOT-NX3-ULA +descr: NX3 ULA Address Space +remarks: Only /48 prefixes may be allocated out of this range. +status: ALLOCATED +policy: open +org: ORG-NX3 +mnt-by: NX3-MNT +source: NX3 diff --git a/data/inetnum/0.0.0.0_0 b/data/inetnum/0.0.0.0_0 index 1b4d0dd..7d302ad 100644 --- a/data/inetnum/0.0.0.0_0 +++ b/data/inetnum/0.0.0.0_0 @@ -5,4 +5,4 @@ policy: reserved descr: * The entire IPv4 address space mnt-by: NX3-MNT status: ALLOCATED -source: NX3 \ No newline at end of file +source: NX3 diff --git a/data/inetnum/172.24.0.0_14 b/data/inetnum/172.24.0.0_14 index c5c8b7f..23d1362 100644 --- a/data/inetnum/172.24.0.0_14 +++ b/data/inetnum/172.24.0.0_14 @@ -4,4 +4,4 @@ netname: NET-BLK414-NX3 policy: reserved mnt-by: NX3-MNT status: ALLOCATED -source: NX3 \ No newline at end of file +source: NX3 diff --git a/data/inetnum/172.24.0.0_16 b/data/inetnum/172.24.0.0_16 index d8f45c4..521e636 100644 --- a/data/inetnum/172.24.0.0_16 +++ b/data/inetnum/172.24.0.0_16 @@ -6,4 +6,4 @@ remarks: Not free for direct assignment, see sub-allocated blocks policy: reserved mnt-by: NX3-MNT status: ALLOCATED -source: NX3 \ No newline at end of file +source: NX3 diff --git a/data/inetnum/172.24.0.0_18 b/data/inetnum/172.24.0.0_18 index cb2ea34..cbb9718 100644 --- a/data/inetnum/172.24.0.0_18 +++ b/data/inetnum/172.24.0.0_18 @@ -6,4 +6,4 @@ remarks: * Defined this way for future policies policy: open mnt-by: NX3-MNT status: ALLOCATED -source: NX3 \ No newline at end of file +source: NX3 diff --git a/data/inetnum/172.24.0.0_24 b/data/inetnum/172.24.0.0_24 index d6930dc..244f916 100644 --- a/data/inetnum/172.24.0.0_24 +++ b/data/inetnum/172.24.0.0_24 @@ -6,4 +6,4 @@ remarks: * Reserved for anycast services, typically a /32 for each se policy: ask mnt-by: NX3-MNT status: ALLOCATED -source: NX3 \ No newline at end of file +source: NX3 diff --git a/data/inetnum/172.24.64.0_18 b/data/inetnum/172.24.64.0_18 index 95e744d..6ae1cd9 100644 --- a/data/inetnum/172.24.64.0_18 +++ b/data/inetnum/172.24.64.0_18 @@ -6,4 +6,4 @@ remarks: * Defined this way for future policies policy: open mnt-by: NX3-MNT status: ALLOCATED -source: NX3 \ No newline at end of file +source: NX3 diff --git a/data/inetnum/172.25.0.0_16 b/data/inetnum/172.25.0.0_16 index 4c84a1b..2e6b468 100644 --- a/data/inetnum/172.25.0.0_16 +++ b/data/inetnum/172.25.0.0_16 @@ -6,4 +6,4 @@ remarks: Not free for direct assignment, see sub-allocated blocks policy: reserved mnt-by: NX3-MNT status: ALLOCATED -source: NX3 \ No newline at end of file +source: NX3 diff --git a/data/inetnum/172.25.0.0_24 b/data/inetnum/172.25.0.0_24 index 8aed6c0..0d3e983 100644 --- a/data/inetnum/172.25.0.0_24 +++ b/data/inetnum/172.25.0.0_24 @@ -6,4 +6,4 @@ remarks: * Reserved for anycast services, typically a /32 for each se policy: ask mnt-by: NX3-MNT status: ALLOCATED -source: NX3 \ No newline at end of file +source: NX3 diff --git a/data/inetnum/172.26.0.0_16 b/data/inetnum/172.26.0.0_16 index 1d3a581..2ce08fc 100644 --- a/data/inetnum/172.26.0.0_16 +++ b/data/inetnum/172.26.0.0_16 @@ -6,4 +6,4 @@ remarks: Not free for direct assignment, see sub-allocated blocks policy: reserved mnt-by: NX3-MNT status: ALLOCATED -source: NX3 \ No newline at end of file +source: NX3 diff --git a/data/inetnum/172.26.0.0_24 b/data/inetnum/172.26.0.0_24 index 6d7c0ce..489beaf 100644 --- a/data/inetnum/172.26.0.0_24 +++ b/data/inetnum/172.26.0.0_24 @@ -6,4 +6,4 @@ remarks: * Reserved for anycast services, typically a /32 for each se policy: ask mnt-by: NX3-MNT status: ALLOCATED -source: NX3 \ No newline at end of file +source: NX3 diff --git a/data/inetnum/172.27.0.0_16 b/data/inetnum/172.27.0.0_16 index 9f94f53..942f21f 100644 --- a/data/inetnum/172.27.0.0_16 +++ b/data/inetnum/172.27.0.0_16 @@ -6,4 +6,4 @@ remarks: Not free for direct assignment, see sub-allocated blocks policy: reserved mnt-by: NX3-MNT status: ALLOCATED -source: NX3 \ No newline at end of file +source: NX3 diff --git a/data/inetnum/172.27.0.0_24 b/data/inetnum/172.27.0.0_24 index e46a3c8..cfa0063 100644 --- a/data/inetnum/172.27.0.0_24 +++ b/data/inetnum/172.27.0.0_24 @@ -6,4 +6,4 @@ remarks: * Reserved for anycast services, typically a /32 for each se policy: ask mnt-by: NX3-MNT status: ALLOCATED -source: NX3 \ No newline at end of file +source: NX3 diff --git a/data/mntner/NX3-MNT b/data/mntner/NX3-MNT index 9a7e709..e9606c0 100644 --- a/data/mntner/NX3-MNT +++ b/data/mntner/NX3-MNT @@ -1,4 +1,4 @@ mntner: NX3-MNT descr: mntner for owning objects in the name of whole nx3. mnt-by: NX3-MNT -source: NX3 \ No newline at end of file +source: NX3 diff --git a/data/registry/NX3 b/data/registry/NX3 index c76d72e..c67ced8 100644 --- a/data/registry/NX3 +++ b/data/registry/NX3 @@ -1,4 +1,4 @@ -registry: NX3 -url: https://git.brettb.xyz/nx3/registry -mnt-by: NX3-MNT -source: NX3 \ No newline at end of file +registry: NX3 +url: https://git.brettb.xyz/nx3/registry +mnt-by: NX3-MNT +source: NX3 diff --git a/data/schema/AS-BLOCK-SCHEMA b/data/schema/AS-BLOCK-SCHEMA index 2147b21..842da47 100644 --- a/data/schema/AS-BLOCK-SCHEMA +++ b/data/schema/AS-BLOCK-SCHEMA @@ -10,4 +10,4 @@ key: tech-c optional multiple lookup=nx3.person,nx3.role key: remarks optional multiple key: source required single lookup=nx3.registry mnt-by: NX3-MNT -source: NX3 \ No newline at end of file +source: NX3 diff --git a/data/schema/AS-SET-SCHEMA b/data/schema/AS-SET-SCHEMA index 99777b3..7aa708b 100644 --- a/data/schema/AS-SET-SCHEMA +++ b/data/schema/AS-SET-SCHEMA @@ -11,4 +11,4 @@ key: tech-c optional multiple lookup=nx3.person,nx3.role key: remarks optional multiple key: source required single lookup=nx3.registry mnt-by: NX3-MNT -source: NX3 \ No newline at end of file +source: NX3 diff --git a/data/schema/AUT-NUM-SCHEMA b/data/schema/AUT-NUM-SCHEMA index 8dc5061..ad84499 100644 --- a/data/schema/AUT-NUM-SCHEMA +++ b/data/schema/AUT-NUM-SCHEMA @@ -21,4 +21,4 @@ key: geo-loc optional multiple > [lat-c] [long-c] [name] key: remarks optional multiple key: source required single lookup=nx3.registry mnt-by: NX3-MNT -source: NX3 \ No newline at end of file +source: NX3 diff --git a/data/schema/DNS-SCHEMA b/data/schema/DNS-SCHEMA index 22ded66..2e61292 100644 --- a/data/schema/DNS-SCHEMA +++ b/data/schema/DNS-SCHEMA @@ -13,4 +13,4 @@ key: ds-rdata optional multiple key: remarks optional multiple key: source required single lookup=nx3.registry mnt-by: NX3-MNT -source: NX3 \ No newline at end of file +source: NX3 diff --git a/data/schema/INET6NUM-SCHEMA b/data/schema/INET6NUM-SCHEMA index 0f586b9..60c097d 100644 --- a/data/schema/INET6NUM-SCHEMA +++ b/data/schema/INET6NUM-SCHEMA @@ -21,4 +21,4 @@ key: remarks optional multiple key: source required single lookup=nx3.registry network-owner: inet6num mnt-by: NX3-MNT -source: NX3 \ No newline at end of file +source: NX3 diff --git a/data/schema/INETNUM-SCHEMA b/data/schema/INETNUM-SCHEMA index 1b63940..8ad9f33 100644 --- a/data/schema/INETNUM-SCHEMA +++ b/data/schema/INETNUM-SCHEMA @@ -22,4 +22,4 @@ key: source required single lookup=nx3.registry network-owner: inet6num network-owner: inetnum mnt-by: NX3-MNT -source: NX3 \ No newline at end of file +source: NX3 diff --git a/data/schema/KEY-CERT-SCHEMA b/data/schema/KEY-CERT-SCHEMA index 93fcf12..e244434 100644 --- a/data/schema/KEY-CERT-SCHEMA +++ b/data/schema/KEY-CERT-SCHEMA @@ -13,4 +13,4 @@ key: tech-c optional multiple lookup=nx3.person,nx3.role key: mnt-by required multiple lookup=nx3.mntner key: source required single lookup=nx3.registry mnt-by: NX3-MNT -source: NX3 \ No newline at end of file +source: NX3 diff --git a/data/schema/MNTNER-SCHEMA b/data/schema/MNTNER-SCHEMA index e7dd5de..da20add 100644 --- a/data/schema/MNTNER-SCHEMA +++ b/data/schema/MNTNER-SCHEMA @@ -12,4 +12,4 @@ key: abuse-mailbox optional single key: remarks optional multiple key: source required single lookup=nx3.registry mnt-by: NX3-MNT -source: NX3 \ No newline at end of file +source: NX3 diff --git a/data/schema/ORGANISATION-SCHEMA b/data/schema/ORGANISATION-SCHEMA index 0774963..7bb8393 100644 --- a/data/schema/ORGANISATION-SCHEMA +++ b/data/schema/ORGANISATION-SCHEMA @@ -20,4 +20,4 @@ key: remarks optional multiple key: address optional multiple key: source required single lookup=nx3.registry mnt-by: NX3-MNT -source: NX3 \ No newline at end of file +source: NX3 diff --git a/data/schema/PERSON-SCHEMA b/data/schema/PERSON-SCHEMA index ebccc70..b329b93 100644 --- a/data/schema/PERSON-SCHEMA +++ b/data/schema/PERSON-SCHEMA @@ -17,4 +17,4 @@ key: address optional multiple key: remarks optional multiple key: source required single lookup=nx3.registry mnt-by: NX3-MNT -source: NX3 \ No newline at end of file +source: NX3 diff --git a/data/schema/REGISTRY-SCHEMA b/data/schema/REGISTRY-SCHEMA index 867b20d..6030e2a 100644 --- a/data/schema/REGISTRY-SCHEMA +++ b/data/schema/REGISTRY-SCHEMA @@ -9,4 +9,4 @@ key: admin-c optional multiple lookup=nx3.person,nx3.role key: tech-c optional multiple lookup=nx3.person,nx3.role key: source required single lookup=nx3.registry mnt-by: NX3-MNT -source: NX3 \ No newline at end of file +source: NX3 diff --git a/data/schema/ROLE-SCHEMA b/data/schema/ROLE-SCHEMA index c91fedc..c62d8c7 100644 --- a/data/schema/ROLE-SCHEMA +++ b/data/schema/ROLE-SCHEMA @@ -13,4 +13,4 @@ key: descr optional single key: remarks optional multiple key: source required single lookup=nx3.registry mnt-by: NX3-MNT -source: NX3 \ No newline at end of file +source: NX3 diff --git a/data/schema/ROUTE-SCHEMA b/data/schema/ROUTE-SCHEMA index b33a219..4bd31e2 100644 --- a/data/schema/ROUTE-SCHEMA +++ b/data/schema/ROUTE-SCHEMA @@ -14,4 +14,4 @@ key: pingable optional multiple key: max-length optional single network-owner: inetnum mnt-by: NX3-MNT -source: NX3 \ No newline at end of file +source: NX3 diff --git a/data/schema/ROUTE-SET-SCHEMA b/data/schema/ROUTE-SET-SCHEMA index 83809ae..1bdcd0d 100644 --- a/data/schema/ROUTE-SET-SCHEMA +++ b/data/schema/ROUTE-SET-SCHEMA @@ -12,4 +12,4 @@ key: tech-c optional multiple lookup=nx3.person,nx3.role key: remarks optional multiple key: source required single lookup=nx3.registry mnt-by: NX3-MNT -source: NX3 \ No newline at end of file +source: NX3 diff --git a/data/schema/ROUTE6-SCHEMA b/data/schema/ROUTE6-SCHEMA index 3171452..a94e7c1 100644 --- a/data/schema/ROUTE6-SCHEMA +++ b/data/schema/ROUTE6-SCHEMA @@ -14,4 +14,4 @@ key: pingable optional multiple key: max-length optional single network-owner: inet6num mnt-by: NX3-MNT -source: NX3 \ No newline at end of file +source: NX3 diff --git a/data/schema/SCHEMA-SCHEMA b/data/schema/SCHEMA-SCHEMA index 589a4ff..07a1666 100644 --- a/data/schema/SCHEMA-SCHEMA +++ b/data/schema/SCHEMA-SCHEMA @@ -23,39 +23,30 @@ mnt-by: NX3-MNT source: NX3 remarks: # option descriptions Attribute names must match /[a-zA-Z]([a-zA-Z0-9_\-]*[a-zA-Z0-9])?/. -+ required : object required to have at least one optional : object not required to have at least one -+ single : only one of this type allowed multiple : more than one of this type allowed -+ primary : use field as lookup key for lookup * only one allowed per schema * does not allow newlines -+ schema : use field name as the name of the schema * only one allowed per schema * does not allow newlines -+ lookup : schema match to use for related record -+ \> option specs : defines the option specifications for the key. * must come last in option list -+ [label] string value. A positional string argument required. Text inside brackets represent a label for the string and must match the same rules as attribute names. If follwed by '...' values are gathered as an array. -+ {enum1|enum2|} enumeration. One option in pipe('|') deliniation is allowed. If there is a trailing pipe it means the enum is optional. Enum values must match the same rules as attribute names. -+ - 'literal' Literal value. literal text value which must not contain any whitespace or single quotes. \ No newline at end of file + 'literal' Literal value. literal text value which must not contain any whitespace or single quotes.