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

SDK2: Remove deprecated network sdk from e2e. #3859

Merged
merged 6 commits into from
Sep 27, 2024
Merged

SDK2: Remove deprecated network sdk from e2e. #3859

merged 6 commits into from
Sep 27, 2024

Conversation

bitoku
Copy link
Collaborator

@bitoku bitoku commented Sep 23, 2024

Which issue this PR addresses:

Fixes https://issues.redhat.com/browse/ARO-4665

What this PR does / why we need it:

This PR removes deprecated network sdk from e2e.

Test plan for issue:

e2e

Is there any documentation that needs to be updated for this PR?

N/A

How do you know this will function as expected in production?

Mostly the changes are nothing to do with prod.
Only monitor nsg has a small change because of the subnets client change.
We can validate the monitor nsg function by checking these metrics.

	MetricPreconfiguredNSGEnabled  = "monitor.preconfigurednsg.enabled"
	MetricFailedNSGMonitorCreation = "monitor.preconfigurednsg.failedmonitorcreation"
	MetricInvalidDenyRule          = "monitor.preconfigurednsg.invaliddenyrule"
	MetricSubnetAccessForbidden    = "monitor.preconfigurednsg.subnetaccessforbidden"

@bitoku
Copy link
Collaborator Author

bitoku commented Sep 24, 2024

/azp run

Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@bitoku bitoku marked this pull request as draft September 24, 2024 12:28
@bitoku bitoku marked this pull request as ready for review September 24, 2024 12:29
@kimorris27
Copy link
Contributor

/azp run e2e

kimorris27
kimorris27 previously approved these changes Sep 24, 2024
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@github-actions github-actions bot added the needs-rebase branch needs a rebase label Sep 26, 2024
Copy link

Please rebase pull request.

@bitoku
Copy link
Collaborator Author

bitoku commented Sep 27, 2024

/azp run

Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@bitoku
Copy link
Collaborator Author

bitoku commented Sep 27, 2024

/azp run

Copy link

Azure Pipelines successfully started running 2 pipeline(s).

Copy link
Contributor

@tiguelu tiguelu left a comment

Choose a reason for hiding this comment

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

Thank you for putting this together Ayato.

E2E is passing in the PR, but I think some responses from the new clients are not being processed (see comments below). Can you confirm?

test/e2e/operator.go Show resolved Hide resolved
test/e2e/operator.go Show resolved Hide resolved
test/e2e/adminapi_resources.go Show resolved Hide resolved
@tiguelu tiguelu merged commit 84816de into master Sep 27, 2024
21 checks passed
@tiguelu tiguelu deleted the sdk2/e2e branch September 27, 2024 18:44
slawande2 pushed a commit that referenced this pull request Oct 2, 2024
* subnets
* remove deprecated security group usage from e2e setup
* remove deprecated interface sdk from e2e.
* remove deprecated loadbalancer sdk from e2e.
* remove deprecated virtual networks sdk from e2e.
* remove deprecated subnets sdk from e2e
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