This commit is contained in:
asteam
2025-11-14 17:59:31 +03:00
parent 18a4311b97
commit e3a65c0f33
151 changed files with 10721 additions and 28 deletions

10
pkg/sdn/adrspools/ids.go Normal file
View File

@@ -0,0 +1,10 @@
package adrspools
// IDs gets array of IDs from AddressPoolsList struct
func (agl AddressPoolsList) IDs() []string {
res := make([]string, 0, len(agl.Pools))
for _, c := range agl.Pools {
res = append(res, c.ID)
}
return res
}