Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more az cli wrappers for VM #19402

Merged
merged 1 commit into from
May 28, 2024

Conversation

mpagot
Copy link
Contributor

@mpagot mpagot commented May 28, 2024

Add more functions to manage VM.

Verification run:

Add more functions to manage VM.
@mpagot mpagot force-pushed the cloud_pacemaker_ipaddr2_az branch from 08551bc to e5cf670 Compare May 28, 2024 10:35
@mpagot mpagot marked this pull request as ready for review May 28, 2024 11:17
Copy link
Contributor

@lpalovsky lpalovsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@alvarocarvajald alvarocarvajald left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@@ -134,6 +134,11 @@ sub az_network_vnet_create {
croak("Argument < $_ > missing") unless $args{$_}; }
$args{address_prefixes} //= '192.168.0.0/16';
$args{subnet_prefixes} //= '192.168.0.0/24';
foreach (qw(address_prefixes subnet_prefixes)) {
croak "Invalid IP range $args{$_} in $_"
unless ($args{$_} =~ /^[1-9]{1}[0-9]{0,2}\.(0|[1-9]{1,3})\.(0|[1-9]{1,3})\.(0|[1-9]{1,3})\/[0-9]+$/);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, I'll give it a try in a next PR

@mpagot mpagot merged commit d0db1a3 into os-autoinst:master May 28, 2024
10 checks passed
dzedro pushed a commit to dzedro/os-autoinst-distri-opensuse that referenced this pull request Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants