Skip to content

Add http_proxy to the SmartProxy entity - #1314

Merged
sambible merged 1 commit into
SatelliteQE:masterfrom
vsedmik:add-capsule-http-proxy
Jun 18, 2025
Merged

Add http_proxy to the SmartProxy entity#1314
sambible merged 1 commit into
SatelliteQE:masterfrom
vsedmik:add-capsule-http-proxy

Conversation

@vsedmik

@vsedmik vsedmik commented Jun 18, 2025

Copy link
Copy Markdown
Contributor

Description of changes

We can set ACS HTP proxy on any Capsule since long ago. This has never been added to the nailgun as it was never used and the endpoint doesn't return it on read. But now I can see a use case suitable for IPv6 testing.

This PR also updates the download policies to more recent values.

Robottelo PR will follow.

Upstream API documentation, plugin, or feature links

https://satellite.redhat.com/apidoc/v2/smart_proxies/update.en.html

Functional demonstration

sat = Satellite('satellite.redhat.com')
proxy = sat.enable_satellite_http_proxy()
caps = sat.nailgun_smart_proxy
caps.http_proxy = proxy
caps.update(['http_proxy'])
robottelo.hosts.DecClass(name='satellite.redhat.com', url='https://satellite.redhat.com:9090', location=[nailgun.entities.Location(id=2)], organization=[nailgun.entities.Organization(id=1), nailgun.entities.Organization(id=3)], id=1)
-> go to UI/Infrastructure/Capsules, click Edit on the internal capsule -> see the ACS HTTP Proxy has been updated

@vsedmik vsedmik self-assigned this Jun 18, 2025
@vsedmik vsedmik added CherryPick PR needs CherryPick to previous branches 6.17.z labels Jun 18, 2025
@sambible
sambible merged commit b31009f into SatelliteQE:master Jun 18, 2025
13 checks passed
github-actions Bot pushed a commit that referenced this pull request Jun 18, 2025
vsedmik added a commit that referenced this pull request Jun 19, 2025
(cherry picked from commit b31009f)

Co-authored-by: Vladimir Sedmik <46570670+vsedmik@users.noreply.github.com>
@vsedmik
vsedmik deleted the add-capsule-http-proxy branch June 19, 2025 06:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.17.z CherryPick PR needs CherryPick to previous branches

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants