{{define "configure-routes.html"}} {{template "base" .}} {{end}} {{define "content"}}
{{if .Loading}}
Downloading YANG schema from device… this takes a moment on first login.
{{template "configure-toolbar" .}}
{{else}} {{$d := .Desc}} {{if .Error}}
{{.Error}}
{{end}}
IPv4 Static Routes
{{range $i, $rt := .IPv4Routes}} {{end}} {{if not .IPv4Routes}} {{end}} {{/* Hidden add row */}}
Destination{{template "field-info" (index $d "prefix")}} Next Hop{{template "field-info" (index $d "nexthop")}} Interface{{template "field-info" (index $d "interface")}}
{{.NextHop}} {{.Interface}}
Destination {{.Prefix}}
Next hop{{template "field-info" (index $d "nexthop")}}
Interface{{template "field-info" (index $d "interface")}}
No IPv4 static routes
IPv6 Static Routes
{{range $i, $rt := .IPv6Routes}} {{end}} {{if not .IPv6Routes}} {{end}} {{/* Hidden add row */}}
Destination{{template "field-info" (index $d "prefix")}} Next Hop{{template "field-info" (index $d "nexthop")}} Interface{{template "field-info" (index $d "interface")}}
{{.NextHop}} {{.Interface}}
Destination {{.Prefix}}
Next hop{{template "field-info" (index $d "nexthop")}}
Interface{{template "field-info" (index $d "interface")}}
No IPv6 static routes
{{template "configure-toolbar" .}} {{end}}{{/* end {{else}} — schema ready */}} {{end}}