func GetTotal(pool types.NSIPPool) int {
	startIP := stringIPToInt(pool.Start.String())
	endIP := stringIPToInt(pool.End.String())
	return endIP - startIP + 1
}
GetTotal returns the number of IP addresses in the given ns IPPool
package utils
import (
	"github.com/harmonycloud/bifrost/pkg/types"
	"net"
	"strconv"
	"strings"
)