diff --git a/VERSION b/VERSION index e70b452..24ba9a3 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.6.0 +2.7.0 diff --git a/cmd/collector/main.go b/cmd/collector/main.go index 89f572b..9647a16 100644 --- a/cmd/collector/main.go +++ b/cmd/collector/main.go @@ -52,7 +52,6 @@ func main() { if err != nil { log.Fatal().Err(err).Msgf("Error creating archive file: %s.", args.Output) } - defer arc.Close() // Initiate requests reqs, err := req.GetRequests() @@ -79,7 +78,7 @@ func main() { } batch++ } - + arc.Close() fmt.Println(strings.Repeat("=", 30)) fmt.Println("Complete") fmt.Println(strings.Repeat("=", 30)) diff --git a/vetr-collector.sh b/vetr-collector.sh index ce8256f..d90f8d5 100755 --- a/vetr-collector.sh +++ b/vetr-collector.sh @@ -46,11 +46,13 @@ icurl -kG https://localhost/api/class/coopPol.json > /tmp/vetr-collector/coopPol icurl -kG https://localhost/api/class/mcpInstPol.json > /tmp/vetr-collector/mcpInstPol.json icurl -kG https://localhost/api/class/l3extLNodeP.json > /tmp/vetr-collector/l3extLNodeP.json icurl -kG https://localhost/api/class/l3extRsNodeL3OutAtt.json > /tmp/vetr-collector/l3extRsNodeL3OutAtt.json +icurl -kG https://localhost/api/class/eqptExtCh.json > /tmp/vetr-collector/eqptExtCh.json icurl -kG https://localhost/api/class/fvnsVlanInstP.json > /tmp/vetr-collector/fvnsVlanInstP.json icurl -kG https://localhost/api/class/fvnsEncapBlk.json > /tmp/vetr-collector/fvnsEncapBlk.json icurl -kG https://localhost/api/class/infraAttEntityP.json > /tmp/vetr-collector/infraAttEntityP.json icurl -kG https://localhost/api/class/infraRsDomP.json > /tmp/vetr-collector/infraRsDomP.json icurl -kG https://localhost/api/class/fvRsDomAtt.json > /tmp/vetr-collector/fvRsDomAtt.json +icurl -kG https://localhost/api/class/infraRsFuncToEpg.json > /tmp/vetr-collector/infraRsFuncToEpg.json icurl -kG https://localhost/api/class/infraPortTrackPol.json > /tmp/vetr-collector/infraPortTrackPol.json icurl -kG https://localhost/api/class/fabricRsTimePol.json > /tmp/vetr-collector/fabricRsTimePol.json icurl -kG https://localhost/api/class/datetimePol.json > /tmp/vetr-collector/datetimePol.json