lib/sles4sap/ibsm.pm

NAME

IBS Mirror utilities lib

COPYRIGHT

Copyright 2025 SUSE LLC
SPDX-License-Identifier: FSFAP

AUTHORS

QE SAP <qe-sap@suse.de>

DESCRIPTION

Package with common methods allowing the SUT to interact with IBSm

Methods

ibsm_calculate_address_range

Calculate a main range that can be used in Azure for vnet or in AWS for vpc. Also calculate a secondary range within the main one for Azure subnet address ranges. The format is 10.ip2.ip3.0/21 and /24 respectively. ip2 and ip3 are calculated using the slot number as seed.

SLOT - integer to be used as seed in calculating addresses