diff --git a/pkg/networkservice/ipam/point2pointipam/server.go b/pkg/networkservice/ipam/point2pointipam/server.go index 2fb49f232..938118f83 100644 --- a/pkg/networkservice/ipam/point2pointipam/server.go +++ b/pkg/networkservice/ipam/point2pointipam/server.go @@ -1,6 +1,6 @@ // Copyright (c) 2020-2022 Doc.ai and/or its affiliates. // -// Copyright (c) 2022-2023 Cisco and/or its affiliates. +// Copyright (c) 2022-2024 Cisco and/or its affiliates. // // SPDX-License-Identifier: Apache-2.0 // diff --git a/pkg/networkservice/ipam/point2pointipam/server_test.go b/pkg/networkservice/ipam/point2pointipam/server_test.go index e957b3d2d..378577ed4 100644 --- a/pkg/networkservice/ipam/point2pointipam/server_test.go +++ b/pkg/networkservice/ipam/point2pointipam/server_test.go @@ -1,6 +1,6 @@ // Copyright (c) 2020-2022 Doc.ai and/or its affiliates. // -// Copyright (c) 2022 Cisco and/or its affiliates. +// Copyright (c) 2022-2023 Cisco and/or its affiliates. // // SPDX-License-Identifier: Apache-2.0 // diff --git a/pkg/tools/ippool/ippool.go b/pkg/tools/ippool/ippool.go index b01583b8e..0c299f1a9 100644 --- a/pkg/tools/ippool/ippool.go +++ b/pkg/tools/ippool/ippool.go @@ -1,6 +1,6 @@ // Copyright (c) 2021-2022 Doc.ai and/or its affiliates. // -// Copyright (c) 2022-2023 Cisco and/or its affiliates. +// Copyright (c) 2022-2024 Cisco and/or its affiliates. // // SPDX-License-Identifier: Apache-2.0 // @@ -334,6 +334,7 @@ func (tree *IPPool) GetPrefixes() []string { return prefixes } +// IPLength returns the length of ip addresses allocated by IP Pool func (tree *IPPool) IPLength() int { return tree.ipLength }