Closed arshadd-b closed 22 hours ago
Welcome @arshadd-b! It looks like this is your first PR to ppc64le-cloud/powervs-utils 🎉
/cc @dharaneeshvrd @Karthik-K-N
please review and also Chennai DC and also go through this doc - https://cloud.ibm.com/docs/power-iaas?topic=power-iaas-ibm-cloud-reg and see what else is missing.
@arshadd-b Add Chennai DC
zone -> che01
region -> che
I have noticed new machine Types added in zones, I have added those as well
But in some cases like in Zone dal12
having machine types E980, S922
and dal10
is having machine types E980, S1022, S922
. Machine Types are different for different zones.
How should we handle these cases since we have single entry of zones belonging to same region in map ?
For now we have kept the common machine Types in zones https://github.com/ppc64le-cloud/powervs-utils/blob/main/region.go#L65
Individual zone based machine types would alter the current region map. If we are sure that region map is not directly consumed and only util funcs are consumed, then we can alter the map and util funcs.
I dont have much idea on the impact, @hamzy @mjturek could you please take a look.
we shouldn't have made public if not required!
Individual zone based machine types would alter the current region map. If we are sure that region map is not directly consumed and only util funcs are consumed, then we can alter the map and util funcs.
I have noticed new machine Types added in zones, I have added those as well But in some cases like in Zone
dal12
having machine typesE980, S922
anddal10
is having machine typesE980, S1022, S922
. Machine Types are different for different zones. How should we handle these cases since we have single entry of zones belonging to same region in map ?For now we have kept the common machine Types in zones https://github.com/ppc64le-cloud/powervs-utils/blob/main/region.go#L65
Have created different issue for this https://github.com/ppc64le-cloud/powervs-utils/issues/16
Overall LGTM! @arshadd-b Please update the commit message with proper details!
Overall LGTM! @arshadd-b Please update the commit message with proper details!
done
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: arshadd-b, mkumatag
The full list of commands accepted by this bot can be found here.
The pull request process is described here
This PR adds regions and zones and updates SysTypes Fixes issue https://github.com/ppc64le-cloud/powervs-utils/issues/14