add AS112
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
7711ee835b
commit
3e5b318cbe
|
@ -82,3 +82,6 @@ members:
|
|||
- "RIPE::AS-SET-N7DMR":
|
||||
- AMER
|
||||
- "AMER:CUSTOMER"
|
||||
- AS112:
|
||||
- GLOBAL
|
||||
- "GLOBAL:CUSTOMER"
|
||||
|
|
10
src/index.ts
10
src/index.ts
|
@ -78,10 +78,10 @@ const main = async () => {
|
|||
"TECH-C": config["TECH-C"],
|
||||
"ADMIN-C": config["ADMIN-C"],
|
||||
remarks: config["AS-SETS"][asSetName].remarks,
|
||||
members: Array.from(new Set(members.flat(Infinity))).filter(
|
||||
Boolean
|
||||
) as number[],
|
||||
include: config["AS-SETS"][asSetName].include,
|
||||
members: Array.from(new Set(members.flat(Infinity)))
|
||||
.filter(Boolean)
|
||||
.sort() as number[],
|
||||
include: (config["AS-SETS"][asSetName].include ?? []).sort(),
|
||||
});
|
||||
i++;
|
||||
console.log("");
|
||||
|
@ -92,7 +92,7 @@ ${k["MNT-BY"].map((k) => `mnt-by: ${k}`).join("\n")}
|
|||
${k["TECH-C"].map((k) => `tech-c: ${k}`).join("\n")}
|
||||
${k["ADMIN-C"].map((k) => `admin-c: ${k}`).join("\n")}
|
||||
${k.remarks.map((k) => `remarks: ${k}`).join("\n")}
|
||||
${k.members.map((k) => `members: AS${k}`).join("\n")}${(k.include ?? []).map(
|
||||
${k.members.map((k) => `members: AS${k}`).join("\n")}${k.include.map(
|
||||
(k) => `\nmembers: ${k}`
|
||||
)}
|
||||
source: RIPE\npassword: ${env["RIPE_PASSWORD"]}\n
|
||||
|
|
Loading…
Reference in New Issue