Bug 680137

Summary: [RFE] global settings used in client modules
Product: [Retired] Pulp Reporter: Daniel Mach <dmach>
Component: z_otherAssignee: James Slagle <jslagle>
Status: CLOSED NEXTRELEASE QA Contact: Preethi Thomas <pthomas>
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: jason.dobies, skarmark
Target Milestone: ---Keywords: FutureFeature, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-07-11 19:15:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 563609    

Description Daniel Mach 2011-02-24 13:09:12 UTC
I noticed that global settings are used in client modules.

for example
pulp.client.server.set_active_server
sets global 'pulp.client.server.active_server' variable.

This means that a single python script can't easily maintain 2 different connections to 2 different Pulp servers.

It's probably not a big issue at this moment, but it indicates some design flaws.

Comment 1 Jay Dobies 2012-07-11 19:15:23 UTC
Refactored in v2.