Commit 67b6ecbb authored by nanahira's avatar nanahira

change plan address to array

parent 9e37e05d
......@@ -37,7 +37,7 @@ protocol static {
table {{plan.name}};
};
igp table master4;
route 0.0.0.0/0 recursive {{plan.address}};
route 0.0.0.0/0 recursive {{plan.addresses[0]}};
}
protocol kernel {
ipv4 {
......
......@@ -122,7 +122,7 @@ class InventoryBuilder {
routePlans.push({
name: h.replace(/-/g, "_"),
destMark: this.hosts[h].destMark,
address: this.hosts[h].address
addresses: [this.hosts[h].address]
});
}
}
......
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