A backup of a configured router loses its BGP, OSPF, SCION, name servers and IPv6 configuration #1279
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
jaylouisw/packetforge#1279
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Eight layer-3 features are configurable, stored in
device.config, and printed nowhere byshow running-config. A backup of a configured router comes back without its routing protocol.ip name-server <addr>config.dnsServersscion <isd-as>config.scionAsospf router-id,ospf areaconfig.ospfip ospf cost|area|passiveconfig.ospf.interfaces[]router bgp,bgp router-id,neighbor … remote-asconfig.bgpipv6 address <p>/<len>config.ip6[iface]ipv6 route,ipv6 gatewayconfig.routes6,config.gateway6ipv6 nd ra|suppress-ra|prefixconfig.raWhy the existing test could not see it
test/config-roundtrip.test.jsasserts the printed config replays and that nothing configured is missingfrom the text. Both are true of a feature nobody configured: the sweep prints each device's config and reads
it back, and a feature absent from the device is trivially consistent. Same class as #1232 (VRRP), but one
level out.
What "done" looks like
show running-configin the exact spelling the parser accepts back;of the same model, with zero rejected lines - measured on the ASR 1001-X, the ISR 4331 and the generic
router;
ospf router-idbefore the interface blocks whoseip ospf …lines require the process to exist;device.configcan hold with the pattern the printermust produce for it, so a new piece of state that nobody taught the printer fails the suite instead of
shipping as a silent omission.
Related, one level down: a DHCP pool's leaves (
no network,no host <addr>,no excluded-address <one>,no range, …) are half missing and half silent, andno excluded-address 10.5.0.5clears the whole listincluding
10.5.0.6.