Skip to content

Commit

Permalink
commit with tag nightly-24.01.30
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Jan 30, 2024
1 parent a775bba commit 7669636
Show file tree
Hide file tree
Showing 15 changed files with 541 additions and 24,980 deletions.
11 changes: 7 additions & 4 deletions dist/clab-topoviewer.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -34,19 +34,22 @@
],
"links": [{{range $i, $l := .Clab.Links}}{{if $i}},{{end}}{{ $endpointA := index $l.Endpoints 0 }}{{ $endpointB := index $l.Endpoints 1 }}{{ $endpointAList := split (printf "%s"
$endpointA) ":" }}{{ $endpointBList := split (printf "%s" $endpointB) ":" }}
{{- $eps := $l.GetEndpoints }}
{{- $ep := index $eps 0 }}
{
"a": {
"node": "{{ index $endpointAList 0 }}",
"nodeLongName": "{{ $type }}-{{ $labName}}-{{ index $endpointAList 0 }}",
"interface": "{{ index $endpointAList 1 }}",
"mac": "",
"interface": "{{ $ep.GetIfaceName }}",
"mac": "{{ $ep.GetMac }}",
"peer": "z"
},
{{- $ep := index $eps 1 }}
"z": {
"node": "{{ index $endpointBList 0 }}",
"nodeLongName": "{{ $type }}-{{ $labName}}-{{ index $endpointBList 0 }}",
"interface": "{{ index $endpointBList 1 }}",
"mac": "",
"interface": "{{ $ep.GetIfaceName }}",
"mac": "{{ $ep.GetMac }}",
"peer": "a"
}
}{{end}}
Expand Down
Binary file modified dist/dist.zip
Binary file not shown.
Loading

0 comments on commit 7669636

Please sign in to comment.