Commit 70fb956e authored by 神楽坂玲奈's avatar 神楽坂玲奈

test

parent 026c954e
Pipeline #4823 passed with stages
in 57 seconds
...@@ -10,6 +10,7 @@ export class RouteWriter { ...@@ -10,6 +10,7 @@ export class RouteWriter {
static plan = new Map<number, number>(); static plan = new Map<number, number>();
static reset() { static reset() {
console.log("reset");
this.input.push(`route flush table ${config.table} proto ${config.proto}`); this.input.push(`route flush table ${config.table} proto ${config.proto}`);
for (const peer of routers.filter((r) => r.id !== this.id && r.interface)) { for (const peer of routers.filter((r) => r.id !== this.id && r.interface)) {
this.setVia(peer.id, peer.id); this.setVia(peer.id, peer.id);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment