예제 #1
0
파일: pulpagent.py 프로젝트: tomlanyon/pulp
 def __init__(self, consumer):
     context = Context(consumer)
     # replyto
     context.replyto = dict(systemid='pulp',
                            method='POST',
                            path='/v2/agent/%s/reply/' % context.uuid)
     # context
     self.context = context
예제 #2
0
파일: pulpagent.py 프로젝트: bartwo/pulp
 def __init__(self, consumer):
     context = Context(consumer)
     # replyto
     context.replyto = dict(
         systemid='pulp',
         method='POST',
         path='/v2/agent/%s/reply/' % context.uuid)
     # context
     self.context = context