Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ func (fctx *FlowContext) ensureConfiguredNetwork(ctx context.Context) error {

networkIPv4Config := network.GetIpv4()
// In IaaS API Network can only have 1 Prefix. However, in OpenStack previously it was possible to have more.
// We never used this but let's bet sure by checking it here.
// We never used this but let's be sure by checking it here.
if len(networkIPv4Config.GetPrefixes()) > 1 {
return fmt.Errorf("multiple prefixes found for network '%s'", networkID)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -593,6 +593,7 @@ func prepareIsolatedNetwork(log logr.Logger, networkName string) (*string, error
log.Info("Waiting until network is created", "networkName", networkName)

createOpts := iaas.CreateIsolatedNetworkPayload{
Dhcp: new(true),
Name: new(networkName),
Ipv4: &iaas.CreateNetworkIPv4{
CreateNetworkIPv4WithPrefix: &iaas.CreateNetworkIPv4WithPrefix{
Expand Down